author | laca |
Fri, 14 Oct 2005 19:57:50 +0000 | |
changeset 6102 | 1e3e35b9a369 |
parent 6003 | 5bcfbdd7bcf1 |
child 6169 | dd075fed44d1 |
permissions | -rw-r--r-- |
5518 | 1 |
# |
2 |
# spec file for package SUNWgnome-cd |
|
3 |
# |
|
4 |
# includes module(s): sound-juicer |
|
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 |
%use soundjuicer = sound-juicer.spec |
|
13 |
||
6003 | 14 |
#Name: SUNWgnome-cd |
15 |
Name: SUNWfoo |
|
5518 | 16 |
Summary: CD ripping tool - platform dependent files, /usr filesystem |
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5799
diff
changeset
|
17 |
Version: %{default_pkg_version} |
6003 | 18 |
|
19 |
%if 0 |
|
5518 | 20 |
Patch1: sound-juicer-01-solaris.diff |
21 |
SUNW_BaseDir: %{_basedir} |
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
23 |
||
24 |
%include default-depend.inc |
|
25 |
BuildRequires: SUNWgnome-javahelp-convert |
|
26 |
BuildRequires: SUNWmusicbrainz-devel |
|
27 |
BuildRequires: SUNWgnome-cd-burner-devel |
|
28 |
BuildRequires: SUNWgnome-media-apps-devel |
|
29 |
Requires: SUNWmusicbrainz |
|
30 |
Requires: SUNWgnome-cd-burner |
|
31 |
Requires: SUNWgnome-media-apps |
|
32 |
||
33 |
%package share |
|
34 |
Summary: CD ripping tool - platform independent files, /usr/share |
|
35 |
SUNW_BaseDir: %{_basedir} |
|
36 |
%include default-depend.inc |
|
37 |
||
38 |
%package l10n |
|
39 |
Summary: %{summary} - l10n files |
|
40 |
SUNW_BaseDir: %{_basedir} |
|
41 |
%include default-depend.inc |
|
42 |
Requires: %{name} |
|
43 |
||
44 |
%package root |
|
45 |
Summary: CD ripping tool - platform dependent files, / filesystem |
|
46 |
SUNW_BaseDir: / |
|
47 |
%include default-depend.inc |
|
48 |
||
49 |
%prep |
|
50 |
rm -rf %name-%version |
|
51 |
mkdir %name-%version |
|
52 |
%soundjuicer.prep -d %name-%version |
|
5799 | 53 |
cd %{_builddir}/%name-%version/sound-juicer-%{soundjuicer.version} |
54 |
# FIXME: why is this Solaris specific?? |
|
5518 | 55 |
%patch1 -p1 |
56 |
cd .. |
|
57 |
||
58 |
%build |
|
59 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
6102 | 60 |
export LDFLAGS="%_ldflags" |
61 |
export CFLAGS="%optflags" |
|
5518 | 62 |
%soundjuicer.build -d %name-%version |
63 |
||
64 |
%install |
|
65 |
%soundjuicer.install -d %name-%version |
|
66 |
export GCONF_CONFIG_SOURCE=xml::$RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults |
|
67 |
SCHEMAS="sound-juicer.schemas" |
|
68 |
for S in $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/*.schemas; do |
|
69 |
%{_bindir}/gconftool-2 --makefile-install-rule $S >/dev/null |
|
70 |
done |
|
71 |
chmod -R a+rX $RPM_BUILD_ROOT/%{_sysconfdir} |
|
72 |
for f in apps/?gconf.xml \ |
|
73 |
schemas/?gconf.xml \ |
|
74 |
schemas/apps/?gconf.xml \ |
|
75 |
; do |
|
76 |
test ! -s $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f && \ |
|
77 |
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f |
|
78 |
done |
|
79 |
||
5859
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5799
diff
changeset
|
80 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
da89f4e343b9
update package version numbers and change ELF comment from supported to
laca
parents:
5799
diff
changeset
|
81 |
|
5518 | 82 |
%clean |
83 |
rm -rf $RPM_BUILD_ROOT |
|
84 |
||
85 |
%files |
|
86 |
%defattr (-, root, other) |
|
87 |
%dir %attr (0755, root, bin) %{_bindir} |
|
88 |
%{_bindir}/* |
|
89 |
||
90 |
%files share |
|
91 |
%defattr (-, root, other) |
|
92 |
%dir %attr (0755, root, sys) %{_datadir} |
|
93 |
%{_datadir}/applications |
|
94 |
%{_datadir}/gnome/help/*/C |
|
95 |
%{_datadir}/gnome/javahelp/*/C |
|
96 |
%{_datadir}/omf/*/*-C.omf |
|
97 |
%{_datadir}/pixmaps |
|
98 |
%{_datadir}/sound-juicer |
|
99 |
||
100 |
%files l10n |
|
101 |
%defattr (-, root, other) |
|
102 |
%dir %attr (0755, root, sys) %{_datadir} |
|
103 |
%{_datadir}/locale |
|
104 |
||
105 |
%files root |
|
106 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
|
107 |
%defattr (-, root, other) |
|
108 |
%{_sysconfdir}/* |
|
109 |
%defattr (0755, root, sys) |
|
110 |
||
111 |
%changelog |
|
112 |
* Mon Jul 25 2005 - [email protected] |
|
113 |
- Add dependency SUNWgnome-media-apps, SUNWmusicbrainz |
|
114 |
and SUNWgnome-cd-burner |
|
115 |
||
116 |
* Fri Jul 22 2005 - [email protected] |
|
117 |
- Changed the name to SUNWgnome-cd from SUNWsound-juicer |
|
118 |
||
119 |
* Thu Jul 07 2005 - [email protected] |
|
120 |
- Initial spec-file created |
|
6003 | 121 |
%endif |