1714
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-themes
|
|
3 |
#
|
|
4 |
# includes module(s): hicolor-icon-theme, gnome-themes, gtk2-engines,
|
|
5 |
# blueprint, sun-gdm-themes, gnome-icon-theme
|
|
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 |
#
|
|
11 |
|
|
12 |
#FIXME: AFAICT Xsun does not support X cursor themes. Omitted out for now
|
|
13 |
%include Solaris.inc
|
|
14 |
%use hicolor = hicolor-icon-theme.spec
|
|
15 |
%use engines = gtk2-engines.spec
|
|
16 |
%use gthemes = gnome-themes.spec
|
|
17 |
%use blueprint = blueprint.spec
|
|
18 |
%use gdmtheme = sun-gdm-themes.spec
|
|
19 |
%use icontheme = gnome-icon-theme.spec
|
|
20 |
|
|
21 |
Name: SUNWgnome-themes
|
|
22 |
Summary: GNOME themes and support libraries - platform dependent files, /usr filesystem
|
|
23 |
Version: 2.6.0
|
|
24 |
SUNW_BaseDir: %{_prefix}
|
|
25 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
26 |
|
|
27 |
%include default-depend.inc
|
|
28 |
Requires: SUNWgnome-themes-share
|
|
29 |
Requires: SUNWgnome-base-libs-root
|
|
30 |
Requires: SUNWgnome-base-libs-share
|
|
31 |
Requires: SUNWxwrtl
|
|
32 |
Requires: SUNWxwplt
|
|
33 |
Requires: SUNWlibms
|
|
34 |
Requires: SUNWlxml
|
|
35 |
Requires: SUNWfreetype2
|
|
36 |
Requires: SUNWlibpopt
|
|
37 |
Requires: SUNWpng
|
|
38 |
Requires: SUNWTiff
|
|
39 |
Requires: SUNWjpg
|
|
40 |
|
|
41 |
%package share
|
|
42 |
Summary: GNOME themes and support libraries - platform Independent files, /usr/share
|
|
43 |
SUNW_BaseDir: %{_prefix}
|
|
44 |
%include default-depend.inc
|
|
45 |
|
|
46 |
%prep
|
|
47 |
rm -rf %name-%version
|
|
48 |
mkdir %name-%version
|
|
49 |
%hicolor.prep -d %name-%version
|
|
50 |
%engines.prep -d %name-%version
|
|
51 |
%gthemes.prep -d %name-%version
|
|
52 |
%blueprint.prep -d %name-%version
|
|
53 |
%gdmtheme.prep -d %name-%version
|
|
54 |
%icontheme.prep -d %name-%version
|
|
55 |
|
|
56 |
%build
|
|
57 |
unset PKG_CONFIG_DISABLE_UNINSTALLED
|
|
58 |
export PKG_CONFIG_PATH=../gtk-engines-%{engines.version}:%{_libdir}/pkgconfig:/usr/lib/pkgconfig
|
|
59 |
export CFLAGS="%optflags -I/usr/sfw/include -DANSICPP"
|
|
60 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
61 |
export CPPFLAGS="-I/usr/sfw/include"
|
2044
|
62 |
export LDFLAGS="-L%{_libdir} -R%{_libdir} -L/usr/sfw/lib -R/usr/sfw/lib"
|
1714
|
63 |
export MSGFMT="/usr/bin/msgfmt"
|
2044
|
64 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int
|
|
65 |
%hicolor.build -d %name-%version
|
1714
|
66 |
%engines.build -d %name-%version
|
|
67 |
%gthemes.build -d %name-%version
|
|
68 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
|
|
69 |
%blueprint.build -d %name-%version
|
|
70 |
%gdmtheme.build -d %name-%version
|
|
71 |
%icontheme.build -d %name-%version
|
|
72 |
|
|
73 |
%install
|
|
74 |
%hicolor.install -d %name-%version
|
|
75 |
%engines.install -d %name-%version
|
|
76 |
%gthemes.install -d %name-%version
|
|
77 |
%blueprint.install -d %name-%version
|
|
78 |
%gdmtheme.install -d %name-%version
|
|
79 |
%icontheme.install -d %name-%version
|
|
80 |
|
|
81 |
%clean
|
|
82 |
rm -rf $RPM_BUILD_ROOT
|
|
83 |
|
|
84 |
%files
|
|
85 |
%defattr (-, root, other)
|
|
86 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
87 |
%dir %{_libdir}/gtk-2.0
|
|
88 |
%dir %{_libdir}/gtk-2.0/2.2.0
|
|
89 |
%dir %{_libdir}/gtk-2.0/2.2.0/engines
|
|
90 |
%{_libdir}/gtk-2.0/2.2.0/engines/*.so
|
|
91 |
|
|
92 |
%files share
|
|
93 |
%defattr (-, root, other)
|
|
94 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
95 |
%{_datadir}
|
|
96 |
%dir %attr (0755, root, sys) %{_defaultdocdir}
|
|
97 |
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
98 |
%{_defaultdocdir}/blueprint-engine/ChangeLog
|
|
99 |
%{_defaultdocdir}/blueprint-engine/AUTHORS
|
|
100 |
%{_defaultdocdir}/blueprint-engine/COPYING
|
|
101 |
%{_defaultdocdir}/blueprint-engine/README
|
|
102 |
%{_defaultdocdir}/blueprint-engine/NEWS
|
|
103 |
|
|
104 |
|
|
105 |
%changelog
|
2044
|
106 |
* Thu Feb 26 2004 - [email protected]
|
|
107 |
- add -R%{_libdir} to LDFLAGS
|
|
108 |
- set PERL5LIB for XML:Parser
|
|
109 |
- add hicolor build stage
|
|
110 |
* Thu Feb 19 2004 - [email protected]
|
1714
|
111 |
- initial Sun release.
|