author | laca |
Mon, 23 Aug 2004 03:26:11 +0000 | |
changeset 3669 | 83ac9ef5f846 |
parent 3348 | 26eb685038fa |
child 4122 | 0c938071234a |
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 |
3669 | 34 |
Requires: SUNWperl584usr |
2422 | 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 |
||
66 |
%gnome_games.build -d %name-%version |
|
67 |
||
68 |
%install |
|
69 |
%gnome_games.install -d %name-%version |
|
70 |
export GCONF_CONFIG_SOURCE=xml::$RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults |
|
71 |
for S in $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/*.schemas; do |
|
72 |
%{_bindir}/gconftool-2 --makefile-install-rule $S >/dev/null |
|
73 |
done |
|
74 |
chmod -R a+rX $RPM_BUILD_ROOT/%{_sysconfdir} |
|
75 |
||
2702 | 76 |
for f in apps/?gconf.xml \ |
77 |
schemas/?gconf.xml \ |
|
78 |
schemas/apps/?gconf.xml \ |
|
79 |
; do |
|
80 |
test ! -s $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f && \ |
|
81 |
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f |
|
82 |
done |
|
83 |
||
2422 | 84 |
%clean |
85 |
rm -rf $RPM_BUILD_ROOT |
|
86 |
||
87 |
%files |
|
88 |
%defattr (-, root, other) |
|
89 |
%dir %attr (0755, root, bin) %{_bindir} |
|
90 |
%{_bindir}/* |
|
91 |
%dir %attr (0755, root, bin) %{_libdir} |
|
92 |
%{_libdir}/lib*.so* |
|
93 |
%{_libdir}/gnome-stones/objects/lib*.so* |
|
94 |
%{_libexecdir}/gnome-poetry |
|
95 |
||
96 |
%files share |
|
97 |
%defattr (-, root, other) |
|
98 |
%dir %attr (0755, root, sys) %{_datadir} |
|
99 |
%{_datadir}/applications |
|
100 |
%{_datadir}/gnect |
|
101 |
%{_datadir}/gnibbles |
|
102 |
%{_datadir}/gnobots2 |
|
103 |
%{_datadir}/gnome-stones |
|
2507 | 104 |
%{_datadir}/gnome/help/*/C |
105 |
%{_datadir}/gnome/javahelp/*/C |
|
2422 | 106 |
%{_datadir}/mime-info |
2507 | 107 |
%{_datadir}/omf/*/*-C.omf |
2422 | 108 |
%{_datadir}/pixmaps |
109 |
%{_datadir}/sounds |
|
110 |
%{_datadir}/gnome-stonesrc |
|
111 |
||
2995 | 112 |
%files l10n |
113 |
%defattr (-, root, other) |
|
114 |
%dir %attr (0755, root, sys) %{_datadir} |
|
115 |
%{_datadir}/locale |
|
116 |
||
2422 | 117 |
%files root |
2502 | 118 |
%attr(0755, root, sys) %dir %{_sysconfdir} |
2422 | 119 |
%defattr (-, root, other) |
2507 | 120 |
%{_sysconfdir}/sound |
2702 | 121 |
%{_sysconfdir}/gconf |
2502 | 122 |
%defattr(0755, root, sys) |
2422 | 123 |
|
124 |
%files devel |
|
2429 | 125 |
%defattr (-, root, other) |
2422 | 126 |
%dir %attr (0755, root, bin) %{_includedir} |
127 |
%{_includedir}/gdkcardimage |
|
128 |
||
129 |
%changelog |
|
3669 | 130 |
* Mon Aug 23 2004 - [email protected] |
131 |
- s/SUNWpl5u/SUNWperl584usr/ |
|
3221
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
132 |
* Sat Jun 26 2004 [email protected] |
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
133 |
- Changed install location to /usr/... |
2995 | 134 |
* Wed Jun 2 2004 - [email protected] |
135 |
- 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
|
136 |
* 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
|
137 |
- 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
|
138 |
* 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
|
139 |
- 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
|
140 |
configure was breaking because of its absense. |
2702 | 141 |
* Mon May 10 2004 - [email protected] |
142 |
- Putting back %{_sysconfig}/gconf into packaging which got |
|
143 |
accidently simplified away in Laca's last change. Now the |
|
144 |
games work again. |
|
2507 | 145 |
* Tue Apr 20 2004 - [email protected] |
146 |
- simlify %files |
|
147 |
- add javahelp |
|
2429 | 148 |
* Thu Apr 08 2004 - [email protected] |
149 |
- added missing %defattr |
|
2422 | 150 |
* Fri Mar 26 2004 - [email protected] |
151 |
- Created, |