author | ginnchen |
Mon, 12 Apr 2010 08:07:21 +0000 | |
branch | gnome-2-28 |
changeset 18675 | d625b72c91d8 |
parent 18595 | 5ebc449b9077 |
child 17364 | 6f47d57a8740 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
15298 | 2 |
# spec file for package brasero |
9397 | 3 |
# |
15556 | 4 |
# Copyright 2009 Sun Microsystems, Inc. |
9397 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
16434 | 8 |
%define owner lin |
9397 | 9 |
# |
15298 | 10 |
|
16426 | 11 |
%define OSR gnome.org:0 |
12 |
||
15298 | 13 |
%include l10n.inc |
9397 | 14 |
%include Solaris.inc |
15 |
||
15298 | 16 |
Name: SUNWgnome-cd-burner |
17 |
License: GPL |
|
16826 | 18 |
Version: 2.28.2 |
15298 | 19 |
Summary: Gnome CD/DVD burner |
16645 | 20 |
Source: http://ftp.gnome.org/pub/GNOME/sources/brasero/2.28/brasero-%{version}.tar.bz2 |
15298 | 21 |
Source1: l10n-configure.sh |
22 |
Source2: brasero-po-sun-%{po_sun_version}.tar.bz2 |
|
18375 | 23 |
Source3: %{name}-manpages-0.1.tar.gz |
15298 | 24 |
URL: http://www.gnome.org/projects/brasero |
25 |
SUNW_Basedir: %{_basedir} |
|
26 |
SUNW_Copyright: %{name}.copyright |
|
27 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
15817 | 28 |
# date:2009-05-27 owner:lin type:branding |
18375 | 29 |
Patch1: brasero-01-load-by-gksu.diff |
9397 | 30 |
|
31 |
%include default-depend.inc |
|
15650 | 32 |
BuildRequires: SUNWgtk2-devel |
15298 | 33 |
BuildRequires: SUNWgnome-media-devel |
15506
d6b2d2e9f420
seperate totem-pl-parser from SUNWgnome-media-player
jerrytan
parents:
15409
diff
changeset
|
34 |
BuildRequires: SUNWtotem-pl-parser-devel |
15298 | 35 |
BuildRequires: SUNWlxml-devel |
36 |
BuildRequires: SUNWdbus-devel |
|
15545 | 37 |
BuildRequires: SUNWhal |
15650 | 38 |
Requires: SUNWgtk2 |
15556 | 39 |
Requires: %{name}-root |
40 |
Requires: SUNWdesktop-cache |
|
15298 | 41 |
Requires: SUNWdbus |
42 |
Requires: SUNWgnome-media |
|
15506
d6b2d2e9f420
seperate totem-pl-parser from SUNWgnome-media-player
jerrytan
parents:
15409
diff
changeset
|
43 |
Requires: SUNWtotem-pl-parser |
15298 | 44 |
Requires: SUNWlxml |
15545 | 45 |
Requires: SUNWhal |
15657 | 46 |
Requires: SUNWgksu |
15833
7f9243acbaba
fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents:
15828
diff
changeset
|
47 |
Requires: SUNWgnome-file-mgr |
15298 | 48 |
|
49 |
%description |
|
50 |
Brasero is a application to burn CD/DVD for the Gnome Desktop. It is designed to be as simple as possible and has some unique features to enable users to create their discs easily and quickly. |
|
51 |
||
52 |
%package devel |
|
53 |
Summary: %summary - developer files |
|
54 |
SUNW_BaseDir: %{_basedir} |
|
55 |
%include default-depend.inc |
|
56 |
Requires: %name |
|
9397 | 57 |
|
58 |
%package root |
|
59 |
Summary: %{summary} - / filesystem |
|
60 |
SUNW_BaseDir: / |
|
61 |
%include default-depend.inc |
|
62 |
||
63 |
%if %build_l10n |
|
64 |
%package l10n |
|
15298 | 65 |
Summary: %{summary} - l10n files |
9397 | 66 |
%include default-depend.inc |
15298 | 67 |
Requires: %{name} |
9397 | 68 |
%endif |
69 |
||
70 |
%prep |
|
15298 | 71 |
%setup -q -n brasero-%{version} |
72 |
||
18375 | 73 |
gzcat %SOURCE3 | tar -xf - |
74 |
||
15298 | 75 |
bzcat %SOURCE2 | tar xf - |
76 |
cd po-sun; make; cd .. |
|
77 |
||
18375 | 78 |
%patch1 -p1 |
9397 | 79 |
|
16378 | 80 |
find . -name "*.[ch]" -exec dos2unix -ascii {} {} \; |
16281 | 81 |
|
9397 | 82 |
%build |
15298 | 83 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
84 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
85 |
CPUS=1 |
|
86 |
fi |
|
87 |
export CFLAGS="%optflags" |
|
10572 | 88 |
export LDFLAGS="%_ldflags" |
9397 | 89 |
|
15298 | 90 |
intltoolize --copy --force --automake |
91 |
sh %SOURCE1 --enable-copyright |
|
92 |
libtoolize --copy --force |
|
93 |
aclocal $ACLOCAL_FLAGS |
|
94 |
autoheader |
|
95 |
automake -a -c -f |
|
96 |
autoconf |
|
97 |
||
98 |
./configure --prefix=%{_prefix} --mandir=%{_mandir} \ |
|
15381 | 99 |
--libdir=%{_libdir} \ |
100 |
--libexecdir=%{_libexecdir} \ |
|
101 |
--sysconfdir=%{_sysconfdir} \ |
|
102 |
--disable-inotify \ |
|
103 |
--enable-shared \ |
|
104 |
--disable-static \ |
|
105 |
--disable-scrollkeeper \ |
|
106 |
--disable-gtk-doc \ |
|
107 |
--disable-cdrkit |
|
15298 | 108 |
|
109 |
make -j$CPUS |
|
9397 | 110 |
|
111 |
%install |
|
15298 | 112 |
rm -rf $RPM_BUILD_ROOT |
9397 | 113 |
make install DESTDIR=$RPM_BUILD_ROOT |
15298 | 114 |
find $RPM_BUILD_ROOT%{_libdir} -type f -name "*.la" -exec rm -f {} ';' |
16362 | 115 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/nautilus |
18375 | 116 |
cd sun-manpages |
117 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
15381 | 118 |
|
15298 | 119 |
# RBAC related |
120 |
mkdir $RPM_BUILD_ROOT/etc/security |
|
15347 | 121 |
|
122 |
# exec_attr(4) |
|
123 |
cat >> $RPM_BUILD_ROOT/etc/security/exec_attr <<EOF |
|
15663 | 124 |
Desktop Removable Media User:solaris:cmd:::/usr/bin/brasero:privs=sys_devices |
15298 | 125 |
EOF |
126 |
||
9397 | 127 |
%if %build_l10n |
128 |
%else |
|
129 |
# REMOVE l10n FILES |
|
130 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
|
131 |
%endif |
|
132 |
||
133 |
%clean |
|
134 |
rm -rf $RPM_BUILD_ROOT |
|
135 |
||
15298 | 136 |
%post |
15556 | 137 |
%restart_fmri icon-cache desktop-mime-cache gconf-cache |
15298 | 138 |
|
139 |
%postun |
|
15556 | 140 |
%restart_fmri desktop-mime-cache |
9397 | 141 |
|
142 |
%files |
|
15298 | 143 |
%doc README AUTHORS |
144 |
%doc(bzip2) ChangeLog NEWS COPYING |
|
145 |
%dir %attr (0755, root, other) %{_datadir}/doc |
|
146 |
%defattr(-, root, bin) |
|
9397 | 147 |
%dir %attr (0755, root, bin) %{_bindir} |
15298 | 148 |
%attr (0755, root, bin)%{_bindir}/* |
9397 | 149 |
%dir %attr (0755, root, bin) %{_libdir} |
150 |
%{_libdir}/lib*.so* |
|
15298 | 151 |
%dir %attr (0755, root, bin) %{_libdir}/brasero |
152 |
%dir %attr (0755, root, bin) %{_libdir}/brasero/plugins |
|
153 |
%{_libdir}/brasero/plugins/lib*.so |
|
16327 | 154 |
# %{_libdir}/nautilus/extensions-2.0/*.so |
15298 | 155 |
%dir %attr(0755, root, sys) %{_datadir} |
156 |
%dir %attr(0755, root, other) %{_datadir}/applications |
|
157 |
%{_datadir}/applications/* |
|
158 |
%dir %attr(0755, root, bin) %{_datadir}/brasero |
|
159 |
%{_datadir}/brasero/* |
|
160 |
%dir %attr(0755, root, bin) %{_datadir}/omf |
|
161 |
%{_datadir}/omf/* |
|
162 |
%dir %attr(0755, root, root) %{_datadir}/mime |
|
163 |
%dir %attr(0755, root, root) %{_datadir}/mime/packages |
|
164 |
%{_datadir}/mime/packages/* |
|
165 |
%dir %attr(0755, root, other) %{_datadir}/icons |
|
166 |
%attr(-, root, other) %{_datadir}/icons/* |
|
167 |
%dir %attr(0755, root, other) %{_datadir}/gnome |
|
168 |
%dir %attr(0755, root, bin) %{_datadir}/gnome/help |
|
169 |
%{_datadir}/gnome/help/* |
|
170 |
%dir %attr (0755, root, bin) %{_mandir}/man1 |
|
171 |
%{_mandir}/man1/* |
|
9397 | 172 |
|
173 |
%files devel |
|
174 |
%defattr (-, root, bin) |
|
175 |
%dir %attr (0755, root, bin) %{_includedir} |
|
176 |
%{_includedir}/* |
|
177 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig |
|
178 |
%{_libdir}/pkgconfig/* |
|
15298 | 179 |
%dir %attr (0755, root, sys) %{_datadir} |
180 |
%{_datadir}/gtk-doc |
|
181 |
||
182 |
%files root |
|
183 |
%defattr (0755, root, sys) |
|
184 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
|
185 |
%{_sysconfdir}/gconf/schemas/brasero.schemas |
|
186 |
%config %class (rbac) %attr (0644, root, sys) /etc/security/exec_attr |
|
187 |
||
188 |
%if %build_l10n |
|
189 |
%files l10n |
|
190 |
%defattr(-, root, bin) |
|
191 |
%dir %attr (0755, root, sys) %{_datadir} |
|
192 |
%dir %attr (0755, root, other) %{_datadir}/locale |
|
193 |
%attr(-, root, other) %{_datadir}/locale/* |
|
194 |
%endif |
|
9397 | 195 |
|
196 |
%changelog |
|
18595 | 197 |
* Fri Jan 15 2009 - [email protected] |
198 |
- Move the definition of 'Desktop Removable Media User' from here |
|
199 |
to SUNWgnome-media - doo 13911. |
|
18375 | 200 |
* Mon Nov 16 2009 - [email protected] |
201 |
- Move manpage patch to manpages-roff |
|
202 |
- Update patch2 for 12650 |
|
16826 | 203 |
* Wed Oct 21 2009 - [email protected] |
204 |
- Bump to 2.28.2 |
|
16766 | 205 |
* Wed Oct 14 2009 - [email protected] |
206 |
- Bump to 2.28.1 |
|
16645 | 207 |
* Wed Sep 23 2009 - [email protected] |
208 |
- Bump to 2.28.0 |
|
16568 | 209 |
* Wed Sep 16 2009 - [email protected] |
210 |
- Bump to 2.27.92 and remove upstreamed patch. |
|
16378 | 211 |
* Thu Aug 27 2009 - [email protected] |
212 |
- Bump to 2.27.91 and update patches. |
|
16327 | 213 |
* Fri Aug 21 2009 - [email protected] |
214 |
- Disable nautilus extension because normal uses cant obtain privileges. |
|
16281 | 215 |
* Fri Aug 14 2009 - [email protected] |
216 |
- Bump to 2.27.90, updated patch3 which has been upstreamed, |
|
217 |
- could be removed in the next version. |
|
15970 | 218 |
* Mon Jun 29 2009 - [email protected] |
219 |
- Add patch for doo:9673 |
|
15915 | 220 |
* Tue Jun 16 2009 - [email protected] |
221 |
- Bump to 2.27.3. |
|
15833
7f9243acbaba
fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents:
15828
diff
changeset
|
222 |
* Tue Jun 02 2009 - [email protected] |
7f9243acbaba
fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents:
15828
diff
changeset
|
223 |
- fixed dependency issue(CR6843581). |
15828 | 224 |
* Mon Jun 01 2009 - [email protected] |
225 |
- Bump to 2.27.2 |
|
15817 | 226 |
* Sat Map 30 2009 - [email protected] |
15808 | 227 |
- Bump to 2.26.2 |
15817 | 228 |
- removed patches/brasero-02-src-data.diff. |
229 |
- Updated and reordered gksu related patch. |
|
15663 | 230 |
* Tue Apr 22 2009 - [email protected] |
231 |
- Updated gksu related patch, and fixed a nit of spec. |
|
15657 | 232 |
* Tue Apr 21 2009 - [email protected] |
233 |
- Added gksu related patch. |
|
234 |
- Added dependency for gksu. |
|
235 |
- Changed profile name. |
|
15617 | 236 |
* Tue Apr 14 2009 - [email protected] |
237 |
- Bump to 2.26.1. |
|
15556 | 238 |
* Fri Apr 3 2009 - [email protected] |
239 |
- use desktop-cache instead of postrun |
|
15409 | 240 |
* Tue Mar 17 2009 - [email protected] |
15617 | 241 |
- Bump to 2.26.0. |
15347 | 242 |
* Wed Mar 11 2009 - [email protected] |
243 |
- Create and new profile 'Desktop CD User' and 'Console User'. |
|
244 |
- Removed file_dac_read, because console user owns the device. |
|
15298 | 245 |
* Tue Mar 03 2009 - [email protected] |
246 |
- Removed run-time dependency SUNWgksu, renamed to SUNWgnome-cd-burner. |
|
247 |
- Restored removed patch 02-src-data.diff, because it's partly upstreamed. |
|
248 |
* Mon Mar 02 2009 - [email protected] |
|
15617 | 249 |
- Bump to 2.25.92. |
15298 | 250 |
- Removed upstreamed patch 02-src-data.diff. |
251 |
* Tue Feb 24 2009 - [email protected] |
|
252 |
- Bump to 2.25.91.2 Add brasero-02-src-data.diff, add RBAC stuff. |
|
253 |
* Tue Feb 17 2009 - [email protected] |
|
254 |
- Bump to 2.25.91. Remove upstream patch brasero-04-po.diff. |
|
255 |
* Tue Feb 10 2009 - [email protected] |
|
256 |
- Add dependency on SUNWgnome-media-player, CR #6755918 |
|
257 |
* Fri Jan 16 2009 - [email protected] |
|
258 |
- Add l10n tarball. |
|
259 |
* Fri Jan 09 2009 - [email protected] |
|
260 |
- Add patch po.diff from community trunk. |
|
261 |
* Wed Sep 18 2008 - [email protected] |
|
262 |
- Bump to 0.8.2. Update copyright. |
|
263 |
* Mon Sep 15 2008 - [email protected] |
|
264 |
- Add brasero-03-g11n-im-jacket.diff to enable IM for jacket editor. |
|
265 |
* Mon Aug 18 2008 - [email protected] |
|
15617 | 266 |
- Initial version. |
15650 | 267 |