author | davelam |
Thu, 31 May 2012 05:49:08 +0000 | |
branch | gnome-2-30-s11update |
changeset 22476 | a354f6ff0802 |
parent 22130 | a2673b5676cc |
permissions | -rw-r--r-- |
10480 | 1 |
# |
2 |
# spec file for package SUNWgnome-devel-docs |
|
3 |
# |
|
4 |
# includes module(s): GNOME Devel Docs |
|
5 |
# |
|
22476 | 6 |
# Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. |
10480 | 7 |
# This file and all modifications and additions to the pristine |
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
16434 | 10 |
%define owner davelam |
10480 | 11 |
# |
12 |
# |
|
13 |
%include Solaris.inc |
|
14 |
||
15 |
%use gdd = gnome-devel-docs.spec |
|
16 |
||
10483 | 17 |
Name: SUNWgnome-devel-docs |
17937
664c0536875a
Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents:
17902
diff
changeset
|
18 |
IPS_package_name: documentation/gnome/gnome-devel-docs |
664c0536875a
Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents:
17902
diff
changeset
|
19 |
Meta(info.classification): %{classification_prefix}:Development/GNOME and GTK+ |
10483 | 20 |
Summary: GNOME developer documentation |
20169 | 21 |
Version: %{gdd.version} |
10483 | 22 |
SUNW_BaseDir: %{_basedir} |
12018 | 23 |
SUNW_Copyright: %{name}.copyright |
20422 | 24 |
License: %{gdd.license} |
10483 | 25 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
10480 | 26 |
%include default-depend.inc |
22130 | 27 |
%include desktop-incorporation.inc |
22476 | 28 |
BuildRequires: library/python-2/libxml2-26 |
29 |
BuildRequires: library/libxslt |
|
30 |
BuildRequires: library/gnome/gnome-libs |
|
31 |
BuildRequires: developer/gnome/gnome-doc-utils |
|
32 |
Requires: gnome/help-viewer/yelp |
|
33 |
Requires: library/gnome/gnome-libs |
|
10480 | 34 |
|
35 |
%package l10n |
|
36 |
Summary: %{summary} - l10n files |
|
37 |
Requires: %{name} |
|
38 |
||
39 |
%prep |
|
40 |
rm -rf %name-%version |
|
41 |
mkdir %name-%version |
|
42 |
%gdd.prep -d %name-%version |
|
43 |
||
44 |
%build |
|
45 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
|
46 |
export MSGFMT="/usr/bin/msgfmt" |
|
47 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
48 |
export LDFLAGS="%_ldflags" |
|
49 |
export CFLAGS="%optflags" |
|
50 |
%gdd.build -d %name-%version |
|
51 |
||
52 |
%install |
|
53 |
%gdd.install -d %name-%version |
|
54 |
||
55 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
|
56 |
||
57 |
# Remove scrollkeeper files before packaging. |
|
58 |
rm -rf $RPM_BUILD_ROOT/var |
|
59 |
||
60 |
%clean |
|
61 |
rm -rf $RPM_BUILD_ROOT |
|
62 |
||
63 |
%files |
|
64 |
%defattr (-, root, bin) |
|
65 |
%dir %attr (0755, root, sys) %{_datadir} |
|
66 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
|
67 |
%{_datadir}/gnome/help/*/C |
|
68 |
%{_datadir}/omf/*/*-C.omf |
|
69 |
||
70 |
%files l10n |
|
71 |
%defattr (-, root, bin) |
|
72 |
%dir %attr (0755, root, sys) %{_datadir} |
|
73 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
|
74 |
%{_datadir}/gnome/help/*/[a-z]* |
|
75 |
%{_datadir}/omf/*/*-[a-z][a-z].omf |
|
15412
e305a27c0e82
* base-specs/gnome-devel-docs.spec: Bump to 2.26.0.
davelam
parents:
12018
diff
changeset
|
76 |
%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf |
10480 | 77 |
|
78 |
%changelog |
|
15879 | 79 |
* Tue Jun 09 2009 - [email protected] |
80 |
- Fix packaging when building without l10n. |
|
81 |
* Fri Apr 03 2009 - [email protected] |
|
82 |
- stop using postrun. |
|
15412
e305a27c0e82
* base-specs/gnome-devel-docs.spec: Bump to 2.26.0.
davelam
parents:
12018
diff
changeset
|
83 |
* Tue Mar 17 2009 - [email protected] |
e305a27c0e82
* base-specs/gnome-devel-docs.spec: Bump to 2.26.0.
davelam
parents:
12018
diff
changeset
|
84 |
- Uncomment %{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf in %file l10n. |
10483 | 85 |
* Mon Sep 10 2007 - Damien Carbery <[email protected]> |
86 |
- Update dependencies. |
|
10480 | 87 |
* Sat Sep 01 2007 - Dave Lin <[email protected]> |
15879 | 88 |
- initial version. |
10480 | 89 |
|
20520
3aa3235d0a3b
Touch specs/SUNWgnome-devel-docs.spec to test jucr
chrisk
parents:
20427
diff
changeset
|
90 |
|
20837
ad0a1298dc28
Touch specs/SUNWgnome-devel-docs.spec to test jucr
chrisk
parents:
20520
diff
changeset
|
91 |