author | migi |
Tue, 08 Jun 2010 14:57:30 +0000 | |
changeset 18099 | 6142061e510a |
parent 17937 | 664c0536875a |
child 20090 | 437564f99ab5 |
child 20168 | 17e9d8e7dd75 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package SUNWgnome-user-docs |
|
3 |
# |
|
4 |
# includes module(s): gnome-user-docs |
|
5 |
# |
|
15556 | 6 |
# Copyright 2009 Sun Microsystems, Inc. |
9397 | 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 |
9397 | 11 |
# |
12 |
%include Solaris.inc |
|
13 |
||
14 |
%use gud = gnome-user-docs.spec |
|
15 |
||
16 |
Name: SUNWgnome-user-docs |
|
17937
664c0536875a
Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents:
17902
diff
changeset
|
17 |
IPS_package_name: documentation/gnome/gnome-user-docs |
664c0536875a
Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents:
17902
diff
changeset
|
18 |
Meta(info.classification): %{classification_prefix}:Desktop (GNOME)/Documentation |
9397 | 19 |
Summary: GNOME user documentation |
20 |
Version: %{default_pkg_version} |
|
21 |
SUNW_BaseDir: %{_basedir} |
|
12016 | 22 |
SUNW_Copyright: %{name}.copyright |
9397 | 23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
24 |
%include default-depend.inc |
|
10174 | 25 |
BuildRequires: SUNWlxml-python |
18099 | 26 |
BuildRequires: SUNWgnome-doc-utils |
9397 | 27 |
Requires: SUNWgnome-help-viewer |
28 |
||
29 |
%if %build_l10n |
|
30 |
%package l10n |
|
31 |
Summary: %{summary} - l10n files |
|
32 |
SUNW_BaseDir: %{_basedir} |
|
33 |
%include default-depend.inc |
|
34 |
Requires: %{name} |
|
35 |
%endif |
|
36 |
||
37 |
%prep |
|
38 |
rm -rf %name-%version |
|
39 |
mkdir %name-%version |
|
40 |
%gud.prep -d %name-%version |
|
41 |
||
42 |
%build |
|
43 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
|
44 |
export MSGFMT="/usr/bin/msgfmt" |
|
45 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
46 |
export LDFLAGS="%_ldflags" |
|
47 |
export CFLAGS="%optflags" |
|
48 |
%gud.build -d %name-%version |
|
49 |
||
50 |
%install |
|
51 |
%gud.install -d %name-%version |
|
52 |
||
53 |
%if %build_l10n |
|
54 |
%else |
|
55 |
# REMOVE l10n FILES |
|
56 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]* |
|
57 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf |
|
58 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf |
|
59 |
%endif |
|
60 |
||
61 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
|
62 |
||
63 |
# Remove scrollkeeper files before packaging. |
|
64 |
rm -rf $RPM_BUILD_ROOT/var |
|
65 |
||
66 |
%clean |
|
67 |
rm -rf $RPM_BUILD_ROOT |
|
68 |
||
69 |
%files |
|
70 |
%defattr (-, root, bin) |
|
13673 | 71 |
%doc -d gnome-user-docs-%{gud.version} README AUTHORS |
72 |
%doc(bzip2) -d gnome-user-docs-%{gud.version} COPYING COPYING-DOCS |
|
73 |
%doc(bzip2) -d gnome-user-docs-%{gud.version} NEWS ChangeLog |
|
74 |
%dir %attr (0755, root, other) %{_datadir}/doc |
|
9397 | 75 |
%dir %attr (0755, root, sys) %{_datadir} |
76 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
|
77 |
%{_datadir}/gnome/help/*/C |
|
78 |
%{_datadir}/omf/*/*-C.omf |
|
79 |
||
80 |
%if %build_l10n |
|
81 |
%files l10n |
|
82 |
%defattr (-, root, bin) |
|
83 |
%dir %attr (0755, root, sys) %{_datadir} |
|
84 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
|
85 |
%{_datadir}/gnome/help/*/[a-z]* |
|
86 |
%{_datadir}/omf/*/*-[a-z][a-z].omf |
|
87 |
%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z]*.omf |
|
88 |
%endif |
|
89 |
||
90 |
||
91 |
%changelog |
|
18099 | 92 |
* Tue Jun 08 2010 - [email protected] |
93 |
- Updated BuildRequires to fit SourceJuicer. |
|
15556 | 94 |
* Fri Apr 3 2009 - [email protected] |
95 |
- stop using postrun |
|
15352 | 96 |
* Wed Mar 11 2009 - [email protected] |
97 |
- Took the ownership of this spec file. |
|
13673 | 98 |
* Fri Sep 19 2008 - [email protected] |
99 |
- Add %doc part to %files |
|
12016 | 100 |
* Thu Apr 03 2008 - [email protected] |
101 |
- Add SUNW_Copyright. |
|
10174 | 102 |
* Tue Jul 10 2007 - [email protected] |
103 |
- Add BuildRequires SUNWlxml-python. |
|
9397 | 104 |
* Wed Aug 16 2006 - [email protected] |
105 |
- Add %files entry to pick up pt_BR and zh_CN omf files. |
|
106 |
* Fri Jul 14 2006 - [email protected] |
|
107 |
- update %post/%postun/etc scripts to support diskless client setup, |
|
108 |
part of 6448317 |
|
109 |
* Thu Jun 29 2006 - [email protected] |
|
110 |
- update postrun scripts |
|
111 |
* Sun Jun 11 2006 - [email protected] |
|
112 |
- change group from other to bin/sys |
|
113 |
* Wed Mar 22 2006 - [email protected] |
|
114 |
- Uncomment removal of l10n files when not doing l10n build. |
|
115 |
* Tue Mar 14 2006 - [email protected] |
|
116 |
- Uncomment l10n files to pick up 'it' files. |
|
117 |
* Tue Feb 21 2006 - [email protected] |
|
118 |
- Delete scrollkeeper files before packaging. |
|
119 |
* Tue Nov 29 2005 - [email protected] |
|
120 |
- remove javahelp stuff |
|
121 |
* Fri Sep 30 2005 [email protected] |
|
122 |
- Remove obsolete javahelp references. |
|
123 |
* Thu Sep 30 2004 [email protected] |
|
124 |
- Fixed dependencies lies for base package |
|
125 |
* Wed Aug 25 2004 [email protected] |
|
126 |
- Updated files to extracted only l10n content |
|
127 |
* Tue Aug 24 2004 [email protected] |
|
128 |
- separated l10n content into l10n subpkg |
|
129 |
* Thu Aug 19 2004 [email protected] |
|
130 |
- Remove xml perms change - done in base spec file. |
|
131 |
* Wed Aug 18 2004 [email protected] |
|
132 |
- Change xml perms for Solaris integration. |
|
133 |
* Sat Jun 26 2004 [email protected] |
|
134 |
- Changed install location to /usr/... |