author | laca |
Tue, 22 Jun 2004 12:29:51 +0000 | |
changeset 3184 | 5f0898343efd |
parent 2995 | f98c9a72e528 |
child 3221 | a9dc1a9a5f37 |
permissions | -rw-r--r-- |
2422 | 1 |
# |
2 |
# spec file for package SUNWgnome-games |
|
3 |
# |
|
4 |
# includes module(s): gnome-games |
|
5 |
# |
|
6 |
# Copyright (c) 2004 Sun Microsystems, Inc. |
|
7 |
# This file and all modifications and additions to the pristine |
|
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
10 |
||
11 |
%include Solaris.inc |
|
12 |
||
13 |
%define makeinstall make install DESTDIR=$RPM_BUILD_ROOT |
|
14 |
%use gnome_games = gnome-games.spec |
|
15 |
||
16 |
Name: SUNWgnome-games |
|
17 |
Summary: GNOME Games |
|
18 |
Version: 2.6.0 |
|
2621 | 19 |
SUNW_BaseDir: %{_basedir} |
2422 | 20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
21 |
||
22 |
%include default-depend.inc |
|
2487 | 23 |
BuildRequires: SUNWgnome-javahelp-convert |
2916
4923241847e2
SUNWgnome-games.spec: Comment out SUNWcspu lines. Will uncomment when Metropolis branch created.
dc144907
parents:
2896
diff
changeset
|
24 |
# FIXME: Uncomment these lines when branch for Cinnabar/Metropolis. |
4923241847e2
SUNWgnome-games.spec: Comment out SUNWcspu lines. Will uncomment when Metropolis branch created.
dc144907
parents:
2896
diff
changeset
|
25 |
# BuildRequires: SUNWscpu |
4923241847e2
SUNWgnome-games.spec: Comment out SUNWcspu lines. Will uncomment when Metropolis branch created.
dc144907
parents:
2896
diff
changeset
|
26 |
# Requires: SUNWscpu |
2422 | 27 |
Requires: SUNWgnome-libs |
28 |
Requires: SUNWgnome-base-libs |
|
29 |
||
30 |
%package share |
|
31 |
Summary: GNOME Games - platform independent files, /usr/share |
|
2621 | 32 |
SUNW_BaseDir: %{_basedir} |
2422 | 33 |
%include default-depend.inc |
34 |
Requires: SUNWpl5u |
|
35 |
||
2995 | 36 |
%package l10n |
37 |
Summary: %{summary} - l10n files |
|
38 |
SUNW_BaseDir: %{_basedir} |
|
39 |
%include default-depend.inc |
|
40 |
Requires: %{name} |
|
41 |
||
2422 | 42 |
%package root |
43 |
Summary: GNOME Games - platform dependent files, / filesystem |
|
44 |
SUNW_BaseDir: / |
|
45 |
%include default-depend.inc |
|
46 |
Requires: SUNWgnome-libs |
|
47 |
||
48 |
%package devel |
|
49 |
Summary: GNOME Games - developer files |
|
2621 | 50 |
SUNW_BaseDir: %{_basedir} |
2422 | 51 |
%include default-depend.inc |
52 |
||
53 |
%prep |
|
54 |
rm -rf %name-%version |
|
55 |
mkdir %name-%version |
|
56 |
%gnome_games.prep -d %name-%version |
|
57 |
||
58 |
%build |
|
3184 | 59 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
2422 | 60 |
export MSGFMT="/usr/bin/msgfmt" |
61 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
62 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int |
|
63 |
export CFLAGS="%optflags -I%{_includedir}" |
|
64 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
65 |
export LDFLAGS="-L%{_libdir} -R%{_libdir}" |
|
66 |
||
67 |
%gnome_games.build -d %name-%version |
|
68 |
||
69 |
%install |
|
70 |
%gnome_games.install -d %name-%version |
|
71 |
export GCONF_CONFIG_SOURCE=xml::$RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults |
|
72 |
for S in $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/*.schemas; do |
|
73 |
%{_bindir}/gconftool-2 --makefile-install-rule $S >/dev/null |
|
74 |
done |
|
75 |
chmod -R a+rX $RPM_BUILD_ROOT/%{_sysconfdir} |
|
76 |
||
2702 | 77 |
for f in apps/?gconf.xml \ |
78 |
schemas/?gconf.xml \ |
|
79 |
schemas/apps/?gconf.xml \ |
|
80 |
; do |
|
81 |
test ! -s $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f && \ |
|
82 |
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f |
|
83 |
done |
|
84 |
||
2422 | 85 |
%clean |
86 |
rm -rf $RPM_BUILD_ROOT |
|
87 |
||
88 |
%files |
|
89 |
%defattr (-, root, other) |
|
2621 | 90 |
%dir %attr (0755, root, bin) %{_prefix} |
2422 | 91 |
%dir %attr (0755, root, bin) %{_bindir} |
92 |
%{_bindir}/* |
|
93 |
%dir %attr (0755, root, bin) %{_libdir} |
|
94 |
%{_libdir}/lib*.so* |
|
95 |
%{_libdir}/gnome-stones/objects/lib*.so* |
|
96 |
%{_libexecdir}/gnome-poetry |
|
97 |
||
98 |
%files share |
|
99 |
%defattr (-, root, other) |
|
2621 | 100 |
%dir %attr (0755, root, bin) %{_prefix} |
2422 | 101 |
%dir %attr (0755, root, sys) %{_datadir} |
102 |
%{_datadir}/applications |
|
103 |
%{_datadir}/gnect |
|
104 |
%{_datadir}/gnibbles |
|
105 |
%{_datadir}/gnobots2 |
|
106 |
%{_datadir}/gnome-stones |
|
2507 | 107 |
%{_datadir}/gnome/help/*/C |
108 |
%{_datadir}/gnome/javahelp/*/C |
|
2422 | 109 |
%{_datadir}/mime-info |
2507 | 110 |
%{_datadir}/omf/*/*-C.omf |
2422 | 111 |
%{_datadir}/pixmaps |
112 |
%{_datadir}/sounds |
|
113 |
%{_datadir}/gnome-stonesrc |
|
114 |
||
2995 | 115 |
%files l10n |
116 |
%defattr (-, root, other) |
|
117 |
%dir %attr (0755, root, bin) %{_prefix} |
|
118 |
%dir %attr (0755, root, sys) %{_datadir} |
|
119 |
%{_datadir}/locale |
|
120 |
||
2422 | 121 |
%files root |
2502 | 122 |
%attr(0755, root, sys) %dir %{_sysconfdir} |
2621 | 123 |
%dir %attr (0755, root, bin) %{_prefix} |
2422 | 124 |
%defattr (-, root, other) |
2507 | 125 |
%{_sysconfdir}/sound |
2702 | 126 |
%{_sysconfdir}/gconf |
2502 | 127 |
%defattr(0755, root, sys) |
2422 | 128 |
|
129 |
%files devel |
|
2429 | 130 |
%defattr (-, root, other) |
2621 | 131 |
%dir %attr (0755, root, bin) %{_prefix} |
2422 | 132 |
%dir %attr (0755, root, bin) %{_includedir} |
133 |
%{_includedir}/gdkcardimage |
|
134 |
||
135 |
%changelog |
|
2995 | 136 |
* Wed Jun 2 2004 - [email protected] |
137 |
- Added %{_datadir}/locale to install l10n messages |
|
2916
4923241847e2
SUNWgnome-games.spec: Comment out SUNWcspu lines. Will uncomment when Metropolis branch created.
dc144907
parents:
2896
diff
changeset
|
138 |
* Thu May 27 2004 - [email protected] |
4923241847e2
SUNWgnome-games.spec: Comment out SUNWcspu lines. Will uncomment when Metropolis branch created.
dc144907
parents:
2896
diff
changeset
|
139 |
- Comment out SUNWcspu lines. Will uncomment when Metropolis branch created. |
2896
1bfc88eef0da
SUNWgnome-games.spec: Add SUNWcspu (with libucb.so and scandir) to Requires and BuildRequires. configure was breaking because of its absense.
dc144907
parents:
2702
diff
changeset
|
140 |
* Wed May 26 2004 - [email protected] |
1bfc88eef0da
SUNWgnome-games.spec: Add SUNWcspu (with libucb.so and scandir) to Requires and BuildRequires. configure was breaking because of its absense.
dc144907
parents:
2702
diff
changeset
|
141 |
- Add SUNWcspu (with libucb.so and scandir) to Requires and BuildRequires. |
1bfc88eef0da
SUNWgnome-games.spec: Add SUNWcspu (with libucb.so and scandir) to Requires and BuildRequires. configure was breaking because of its absense.
dc144907
parents:
2702
diff
changeset
|
142 |
configure was breaking because of its absense. |
2702 | 143 |
* Mon May 10 2004 - [email protected] |
144 |
- Putting back %{_sysconfig}/gconf into packaging which got |
|
145 |
accidently simplified away in Laca's last change. Now the |
|
146 |
games work again. |
|
2507 | 147 |
* Tue Apr 20 2004 - [email protected] |
148 |
- simlify %files |
|
149 |
- add javahelp |
|
2429 | 150 |
* Thu Apr 08 2004 - [email protected] |
151 |
- added missing %defattr |
|
2422 | 152 |
* Fri Mar 26 2004 - [email protected] |
153 |
- Created, |