author | dcarbery |
Fri, 24 Nov 2006 16:37:59 +0000 | |
branch | 217update |
changeset 19096 | d542fc2c823e |
parent 8565 | b102e7809c6e |
child 9360 | b1f002e8cc37 |
permissions | -rw-r--r-- |
1714 | 1 |
# |
2 |
# spec file for package SUNWgnome-themes |
|
3 |
# |
|
4 |
# includes module(s): hicolor-icon-theme, gnome-themes, gtk2-engines, |
|
7279 | 5 |
# blueprint, nimbus, sun-gdm-themes, gnome-icon-theme |
1714 | 6 |
# |
7 |
# Copyright (c) 2003 Sun Microsystems, Inc. |
|
8 |
# This file and all modifications and additions to the pristine |
|
9 |
# package are under the same license as the package itself. |
|
10 |
# |
|
8565 | 11 |
# Owner: erwannc |
12 |
# |
|
1714 | 13 |
#FIXME: AFAICT Xsun does not support X cursor themes. Omitted out for now |
14 |
%include Solaris.inc |
|
6105 | 15 |
%use icon_naming = icon-naming-utils.spec |
16 |
%use tango = tango-icon-theme.spec |
|
1714 | 17 |
%use hicolor = hicolor-icon-theme.spec |
18 |
%use engines = gtk2-engines.spec |
|
19 |
%use gthemes = gnome-themes.spec |
|
20 |
%use blueprint = blueprint.spec |
|
7279 | 21 |
%use nimbus = nimbus.spec |
1714 | 22 |
%use gdmtheme = sun-gdm-themes.spec |
23 |
%use icontheme = gnome-icon-theme.spec |
|
5940 | 24 |
%use backgrounds = gnome-backgrounds.spec |
1714 | 25 |
|
26 |
Name: SUNWgnome-themes |
|
7242
19b994b053db
2006-05-10 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6795
diff
changeset
|
27 |
Summary: GNOME themes and support libraries |
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5793
diff
changeset
|
28 |
Version: %{default_pkg_version} |
2621 | 29 |
SUNW_BaseDir: %{_basedir} |
1714 | 30 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
31 |
||
32 |
%include default-depend.inc |
|
6795 | 33 |
Requires: SUNWgnome-base-libs |
1714 | 34 |
Requires: SUNWxwrtl |
35 |
Requires: SUNWxwplt |
|
36 |
Requires: SUNWlibms |
|
37 |
Requires: SUNWlxml |
|
38 |
Requires: SUNWfreetype2 |
|
39 |
Requires: SUNWlibpopt |
|
40 |
Requires: SUNWpng |
|
41 |
Requires: SUNWTiff |
|
42 |
Requires: SUNWjpg |
|
7242
19b994b053db
2006-05-10 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6795
diff
changeset
|
43 |
Requires: SUNWpostrun |
6374 | 44 |
BuildRequires: SUNWimagick |
6105 | 45 |
BuildRequires: SUNWperl-xml-parser |
6786 | 46 |
BuildRequires: SUNWgnome-base-libs-devel |
47 |
BuildRequires: SUNWlibpopt-devel |
|
1714 | 48 |
|
5518 | 49 |
%package devel |
7242
19b994b053db
2006-05-10 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6795
diff
changeset
|
50 |
Summary: %{summary} - development files |
5518 | 51 |
SUNW_BaseDir: %{_basedir} |
52 |
%include default-depend.inc |
|
53 |
Requires: SUNWgnome-themes |
|
54 |
Requires: SUNWperl584usr |
|
6795 | 55 |
Requires: SUNWperl584core |
5518 | 56 |
Requires: SUNWlibms |
6105 | 57 |
Requires: SUNWperl-xml-parser |
5518 | 58 |
|
6169 | 59 |
%if %build_l10n |
2995 | 60 |
%package l10n |
61 |
Summary: %{summary} - l10n files |
|
62 |
SUNW_BaseDir: %{_basedir} |
|
63 |
%include default-depend.inc |
|
64 |
Requires: %{name} |
|
6169 | 65 |
%endif |
2995 | 66 |
|
1714 | 67 |
%prep |
68 |
rm -rf %name-%version |
|
69 |
mkdir %name-%version |
|
6105 | 70 |
%icon_naming.prep -d %name-%version |
71 |
%tango.prep -d %name-%version |
|
1714 | 72 |
%hicolor.prep -d %name-%version |
73 |
%engines.prep -d %name-%version |
|
74 |
%gthemes.prep -d %name-%version |
|
75 |
%blueprint.prep -d %name-%version |
|
7279 | 76 |
%nimbus.prep -d %name-%version |
1714 | 77 |
%gdmtheme.prep -d %name-%version |
78 |
%icontheme.prep -d %name-%version |
|
5940 | 79 |
%backgrounds.prep -d %name-%version |
1714 | 80 |
|
81 |
%build |
|
6456
f54cd4cb91e8
* SUNWgnome-themes.spec: Update PKG_CONFIG_PATH to find
dc144907
parents:
6374
diff
changeset
|
82 |
export PKG_CONFIG=/usr/bin/pkg-config |
2605 | 83 |
PKG_CONFIG_DISABLE_UNINSTALLED= |
1714 | 84 |
unset PKG_CONFIG_DISABLE_UNINSTALLED |
6456
f54cd4cb91e8
* SUNWgnome-themes.spec: Update PKG_CONFIG_PATH to find
dc144907
parents:
6374
diff
changeset
|
85 |
export PKG_CONFIG_PATH=../gtk-engines-%{engines.version}:../icon-naming-utils-%{icon_naming.version}:%{_pkg_config_path} |
1714 | 86 |
export CFLAGS="%optflags -I/usr/sfw/include -DANSICPP" |
87 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
88 |
export CPPFLAGS="-I/usr/sfw/include" |
|
6102 | 89 |
export LDFLAGS="%_ldflags -L/usr/sfw/lib -R/usr/sfw/lib" |
1714 | 90 |
export MSGFMT="/usr/bin/msgfmt" |
2044 | 91 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int |
6105 | 92 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
93 |
%icon_naming.build -d %name-%version |
|
94 |
export ICON_NAME_MAPPING_DIR=%{_builddir}/%name-%version/icon-naming-utils-%{icon_naming.version} |
|
95 |
chmod a+x $ICON_NAME_MAPPING_DIR/icon-name-mapping |
|
96 |
export PATH=$ICON_NAME_MAPPING_DIR:$PATH |
|
97 |
%tango.build -d %name-%version |
|
2044 | 98 |
%hicolor.build -d %name-%version |
1714 | 99 |
%engines.build -d %name-%version |
100 |
%gthemes.build -d %name-%version |
|
101 |
%blueprint.build -d %name-%version |
|
7279 | 102 |
%nimbus.build -d %name-%version |
1714 | 103 |
%gdmtheme.build -d %name-%version |
104 |
%icontheme.build -d %name-%version |
|
5940 | 105 |
%backgrounds.build -d %name-%version |
1714 | 106 |
|
107 |
%install |
|
7274
80285cc27f7d
2006-05-12 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7242
diff
changeset
|
108 |
rm -rf $RPM_BUILD_ROOT |
6105 | 109 |
%icon_naming.install -d %name-%version |
110 |
export ICON_NAME_MAPPING_DIR=%{_builddir}/%name-%version/icon-naming-utils-%{icon_naming.version} |
|
6529
95b07725b18c
* SUNWgnome-themes.spec: Set PATH for %install section so icon-name-mapping is
dc144907
parents:
6506
diff
changeset
|
111 |
export PATH=$ICON_NAME_MAPPING_DIR:$PATH |
6105 | 112 |
%tango.install -d %name-%version |
1714 | 113 |
%hicolor.install -d %name-%version |
114 |
%engines.install -d %name-%version |
|
115 |
%gthemes.install -d %name-%version |
|
116 |
%blueprint.install -d %name-%version |
|
7279 | 117 |
%nimbus.install -d %name-%version |
1714 | 118 |
%gdmtheme.install -d %name-%version |
119 |
%icontheme.install -d %name-%version |
|
5940 | 120 |
%backgrounds.install -d %name-%version |
3615
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
121 |
chmod 0755 $RPM_BUILD_ROOT%{_datadir}/icons/HighContrastLargePrint/48x48/apps/perfmeter.png |
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
122 |
chmod 0755 $RPM_BUILD_ROOT%{_datadir}/icons/HighContrastLargePrintInverse/48x48/apps/perfmeter.png |
1714 | 123 |
|
5793 | 124 |
rm -rf $RPM_BUILD_ROOT%{_prefix}/doc |
125 |
||
6169 | 126 |
%if %build_l10n |
127 |
%else |
|
128 |
# REMOVE l10n FILES |
|
129 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
|
130 |
%endif |
|
131 |
||
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5793
diff
changeset
|
132 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT%{_libdir}} |
4122 | 133 |
|
1714 | 134 |
%clean |
135 |
rm -rf $RPM_BUILD_ROOT |
|
136 |
||
137 |
%files |
|
7425
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7279
diff
changeset
|
138 |
%defattr (-, root, bin) |
1714 | 139 |
%dir %attr (0755, root, bin) %{_libdir} |
2331 | 140 |
%{_libdir}/gtk-*/2.*/engines/*.so |
1714 | 141 |
%dir %attr (0755, root, sys) %{_datadir} |
2918 | 142 |
%{_datadir}/gdm |
7911
6ca18ec0bf4b
2006-08-12 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7651
diff
changeset
|
143 |
%attr (-, root, other) %{_datadir}/icons |
7425
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7279
diff
changeset
|
144 |
%dir %attr (0755, root, other) %{_datadir}/pixmaps |
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7279
diff
changeset
|
145 |
%{_datadir}/pixmaps/* |
2918 | 146 |
%{_datadir}/themes |
5940 | 147 |
%{_datadir}/gnome-background-properties |
6105 | 148 |
%{_datadir}/dtds |
149 |
%{_datadir}/icon-naming-utils |
|
1714 | 150 |
|
5518 | 151 |
%files devel |
7425
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7279
diff
changeset
|
152 |
%defattr (-, root, bin) |
5518 | 153 |
%dir %attr (0755, root, bin) %dir %{_libdir} |
6505
27d07c45207f
* SUNWgnome-themes.spec: Move %files around, including adding
dc144907
parents:
6456
diff
changeset
|
154 |
%{_libdir}/icon-name-mapping |
7425
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7279
diff
changeset
|
155 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig |
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7279
diff
changeset
|
156 |
%{_libdir}/pkgconfig/* |
6506 | 157 |
%dir %attr (0755, root, sys) %dir %{_datadir} |
6505
27d07c45207f
* SUNWgnome-themes.spec: Move %files around, including adding
dc144907
parents:
6456
diff
changeset
|
158 |
%{_datadir}/pkgconfig |
5518 | 159 |
|
6169 | 160 |
%if %build_l10n |
2995 | 161 |
%files l10n |
7425
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7279
diff
changeset
|
162 |
%defattr (-, root, bin) |
2995 | 163 |
%dir %attr (0755, root, sys) %{_datadir} |
7425
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7279
diff
changeset
|
164 |
%attr (-, root, other) %{_datadir}/locale |
6169 | 165 |
%endif |
1714 | 166 |
|
7278
c8cd294b1bef
2006-05-12 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7274
diff
changeset
|
167 |
%preun |
7914 | 168 |
find $BASEDIR/share/icons -name icon-theme.cache -exec /bin/rm -f {} \; |
7278
c8cd294b1bef
2006-05-12 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7274
diff
changeset
|
169 |
|
7242
19b994b053db
2006-05-10 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6795
diff
changeset
|
170 |
%post |
6339 | 171 |
( echo 'test -x /usr/bin/gtk-update-icon-cache || exit 0'; |
172 |
echo 'ls -d %{_datadir}/icons/* | xargs -l1 /usr/bin/gtk-update-icon-cache' |
|
7651
316e279bf756
2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7547
diff
changeset
|
173 |
) | $BASEDIR/lib/postrun -b -u -t 15 -c JDS |
6339 | 174 |
|
1714 | 175 |
%changelog |
7914 | 176 |
* Mon Aug 14 2006 - [email protected] |
177 |
- Fix path to icons dir in %preun. |
|
7911
6ca18ec0bf4b
2006-08-12 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7651
diff
changeset
|
178 |
* Sat Aug 12 2006 - [email protected] |
6ca18ec0bf4b
2006-08-12 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7651
diff
changeset
|
179 |
- change datadir/icons permissions back to root:other since it's a stable |
6ca18ec0bf4b
2006-08-12 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7651
diff
changeset
|
180 |
interface and wasn't supposed to be changed |
7651
316e279bf756
2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7547
diff
changeset
|
181 |
* Fri Jul 14 2006 - [email protected] |
316e279bf756
2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7547
diff
changeset
|
182 |
- update %post/%postun/etc scripts to support diskless client setup, |
316e279bf756
2006-07-14 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7547
diff
changeset
|
183 |
part of 6448317 |
7547
52ffe601b5b0
2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7425
diff
changeset
|
184 |
* Thu Jun 29 2006 - [email protected] |
52ffe601b5b0
2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7425
diff
changeset
|
185 |
- update postrun scripts |
52ffe601b5b0
2006-06-29 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7425
diff
changeset
|
186 |
* Sun Jun 11 2006 - [email protected] |
7425
5f918d0fa619
2006-06-11 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
7279
diff
changeset
|
187 |
- change group from other to bin/sys |
7242
19b994b053db
2006-05-10 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6795
diff
changeset
|
188 |
* Wed May 10 2006 - [email protected] |
19b994b053db
2006-05-10 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6795
diff
changeset
|
189 |
- merge -share pkg(s) into the base pkg(s) |
6795 | 190 |
* Mon Feb 20 2006 - [email protected] |
191 |
- Complete update of Build/Requires after running check-deps.pl script. |
|
6786 | 192 |
* Fri Feb 17 2006 - [email protected] |
193 |
- Update Build/Requires after running check-deps.pl script. |
|
6705 | 194 |
* Tue Jan 31 2006 - [email protected] |
7242
19b994b053db
2006-05-10 Laszlo (Laca) Peter <[email protected]>
lp117937
parents:
6795
diff
changeset
|
195 |
- Remove ref to LowContrastLargePrint/48x48/apps/perfmeter.png as not installed |
6505
27d07c45207f
* SUNWgnome-themes.spec: Move %files around, including adding
dc144907
parents:
6456
diff
changeset
|
196 |
* Fri Jan 06 2006 - [email protected] |
27d07c45207f
* SUNWgnome-themes.spec: Move %files around, including adding
dc144907
parents:
6456
diff
changeset
|
197 |
- Move %files around, including adding %{_datadir}/pkgconfig. For new tarballs. |
6529
95b07725b18c
* SUNWgnome-themes.spec: Set PATH for %install section so icon-name-mapping is
dc144907
parents:
6506
diff
changeset
|
198 |
- Set PATH for %install section so icon-name-mapping is found. |
6456
f54cd4cb91e8
* SUNWgnome-themes.spec: Update PKG_CONFIG_PATH to find
dc144907
parents:
6374
diff
changeset
|
199 |
* Wed Dec 20 2005 - [email protected] |
f54cd4cb91e8
* SUNWgnome-themes.spec: Update PKG_CONFIG_PATH to find
dc144907
parents:
6374
diff
changeset
|
200 |
- Update PKG_CONFIG_PATH to find icon-naming-utils dir for tango-icon-theme. |
6339 | 201 |
* Sat Dec 3 2005 - [email protected] |
202 |
- add %post script that runs gtk-update-icon-cache |
|
5940 | 203 |
* Tue Sep 20 2005 - [email protected] |
204 |
- Add gnome-backgrounds |
|
205 |
* Fri Sep 09 2005 - [email protected] |
|
5793 | 206 |
- remove unpackaged files |
4122 | 207 |
* Sat Oct 02 2004 - [email protected] |
208 |
- added %pkgbuild_postprocess |
|
3728 | 209 |
* Tue Aug 24 2004 - [email protected] |
210 |
- No longer package blueprint docs since the AUTHORS, COPYING, ChangeLog, |
|
211 |
NEWS and README files aren't really useful. |
|
3615
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
212 |
* Wed Aug 18 2004 - [email protected] |
652a8b55c702
* Change manpage and xml perms for Solaris integration.
dc144907
parents:
3348
diff
changeset
|
213 |
- Change perms for some png files for Solaris integration. |
3316
c031d0b3b0f4
SUNWgnome-im-client.spec, SUNWgnome-libs.spec, SUNWgnome-themes.spec,
dc144907
parents:
3302
diff
changeset
|
214 |
* Mon Jul 12 2004 - [email protected] |
c031d0b3b0f4
SUNWgnome-im-client.spec, SUNWgnome-libs.spec, SUNWgnome-themes.spec,
dc144907
parents:
3302
diff
changeset
|
215 |
- Unset perms for /usr/share/pixmaps. |
3302
5b79a39d1840
* SUNWgnome-im-client.spec, SUNWgnome-themes.spec, SUNWjre-config.spec: Set
dc144907
parents:
3221
diff
changeset
|
216 |
* Sat Jul 10 2004 - [email protected] |
5b79a39d1840
* SUNWgnome-im-client.spec, SUNWgnome-themes.spec, SUNWjre-config.spec: Set
dc144907
parents:
3221
diff
changeset
|
217 |
- Set perms for /usr/share/pixmaps. |
3221
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3217
diff
changeset
|
218 |
* Sat Jun 26 2004 [email protected] |
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3217
diff
changeset
|
219 |
- Changed install location to /usr/... |
3217
4f59bc061643
- fix build on Solaris by setting ACLOCAL_FLAGS for gnome-themas
tajima
parents:
3184
diff
changeset
|
220 |
* Fri Jun 25 2004 - [email protected] |
4f59bc061643
- fix build on Solaris by setting ACLOCAL_FLAGS for gnome-themas
tajima
parents:
3184
diff
changeset
|
221 |
- set ACLOCAL_FLAGS for gnome-themes build |
2995 | 222 |
* Wed Jun 2 2004 - [email protected] |
3217
4f59bc061643
- fix build on Solaris by setting ACLOCAL_FLAGS for gnome-themas
tajima
parents:
3184
diff
changeset
|
223 |
- add %{_datadir}/locale to install l10n messages |
2331 | 224 |
* Fri Mar 26 2004 - [email protected] |
225 |
- update gtk engine directory for 2.4.0 |
|
2186 | 226 |
* Fri Mar 12 2004 - [email protected] |
227 |
- add missing pkgconfig files |
|
2044 | 228 |
* Thu Feb 26 2004 - [email protected] |
229 |
- add -R%{_libdir} to LDFLAGS |
|
230 |
- set PERL5LIB for XML:Parser |
|
231 |
- add hicolor build stage |
|
232 |
* Thu Feb 19 2004 - [email protected] |
|
1714 | 233 |
- initial Sun release. |