author | davelam |
Thu, 15 Oct 2009 07:08:38 +0000 | |
changeset 16766 | c278a43ef8fa |
parent 16645 | 150e27c91287 |
child 16826 | 8f7561beb995 |
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 |
|
16766 | 18 |
Version: 2.28.1 |
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 |
|
23 |
URL: http://www.gnome.org/projects/brasero |
|
24 |
SUNW_Basedir: %{_basedir} |
|
25 |
SUNW_Copyright: %{name}.copyright |
|
26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
27 |
# date:2008-09-05 owner:lin type:branding |
|
15657 | 28 |
Patch1: brasero-01-manpages.diff |
15817 | 29 |
# date:2009-05-27 owner:lin type:branding |
30 |
Patch2: brasero-02-load-by-gksu.diff |
|
9397 | 31 |
|
32 |
%include default-depend.inc |
|
15650 | 33 |
BuildRequires: SUNWgtk2-devel |
15298 | 34 |
BuildRequires: SUNWgnome-media-devel |
15506
d6b2d2e9f420
seperate totem-pl-parser from SUNWgnome-media-player
jerrytan
parents:
15409
diff
changeset
|
35 |
BuildRequires: SUNWtotem-pl-parser-devel |
15298 | 36 |
BuildRequires: SUNWlxml-devel |
37 |
BuildRequires: SUNWdbus-devel |
|
15545 | 38 |
BuildRequires: SUNWhal |
15650 | 39 |
Requires: SUNWgtk2 |
15556 | 40 |
Requires: %{name}-root |
41 |
Requires: SUNWdesktop-cache |
|
15298 | 42 |
Requires: SUNWdbus |
43 |
Requires: SUNWgnome-media |
|
15506
d6b2d2e9f420
seperate totem-pl-parser from SUNWgnome-media-player
jerrytan
parents:
15409
diff
changeset
|
44 |
Requires: SUNWtotem-pl-parser |
15298 | 45 |
Requires: SUNWlxml |
15545 | 46 |
Requires: SUNWhal |
15657 | 47 |
Requires: SUNWgksu |
15833
7f9243acbaba
fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents:
15828
diff
changeset
|
48 |
Requires: SUNWgnome-file-mgr |
15298 | 49 |
|
50 |
%description |
|
51 |
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. |
|
52 |
||
53 |
%package devel |
|
54 |
Summary: %summary - developer files |
|
55 |
SUNW_BaseDir: %{_basedir} |
|
56 |
%include default-depend.inc |
|
57 |
Requires: %name |
|
9397 | 58 |
|
59 |
%package root |
|
60 |
Summary: %{summary} - / filesystem |
|
61 |
SUNW_BaseDir: / |
|
62 |
%include default-depend.inc |
|
63 |
||
64 |
%if %build_l10n |
|
65 |
%package l10n |
|
15298 | 66 |
Summary: %{summary} - l10n files |
9397 | 67 |
%include default-depend.inc |
15298 | 68 |
Requires: %{name} |
9397 | 69 |
%endif |
70 |
||
71 |
%prep |
|
15298 | 72 |
%setup -q -n brasero-%{version} |
73 |
||
74 |
bzcat %SOURCE2 | tar xf - |
|
75 |
cd po-sun; make; cd .. |
|
76 |
||
77 |
%patch1 -p0 |
|
78 |
%patch2 -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 |
15381 | 116 |
|
15298 | 117 |
# RBAC related |
118 |
mkdir $RPM_BUILD_ROOT/etc/security |
|
15347 | 119 |
|
120 |
# prof_attr(4) |
|
121 |
cat >> $RPM_BUILD_ROOT/etc/security/prof_attr <<EOF |
|
15657 | 122 |
Desktop Removable Media User:::Access removable media for desktop user: |
123 |
Console User::::profiles=Desktop Removable Media User |
|
15347 | 124 |
EOF |
125 |
||
126 |
# exec_attr(4) |
|
127 |
cat >> $RPM_BUILD_ROOT/etc/security/exec_attr <<EOF |
|
15663 | 128 |
Desktop Removable Media User:solaris:cmd:::/usr/bin/brasero:privs=sys_devices |
15298 | 129 |
EOF |
130 |
||
9397 | 131 |
%if %build_l10n |
132 |
%else |
|
133 |
# REMOVE l10n FILES |
|
134 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
|
135 |
%endif |
|
136 |
||
137 |
%clean |
|
138 |
rm -rf $RPM_BUILD_ROOT |
|
139 |
||
15298 | 140 |
%post |
15556 | 141 |
%restart_fmri icon-cache desktop-mime-cache gconf-cache |
15298 | 142 |
|
143 |
%postun |
|
15556 | 144 |
%restart_fmri desktop-mime-cache |
9397 | 145 |
|
146 |
%files |
|
15298 | 147 |
%doc README AUTHORS |
148 |
%doc(bzip2) ChangeLog NEWS COPYING |
|
149 |
%dir %attr (0755, root, other) %{_datadir}/doc |
|
150 |
%defattr(-, root, bin) |
|
9397 | 151 |
%dir %attr (0755, root, bin) %{_bindir} |
15298 | 152 |
%attr (0755, root, bin)%{_bindir}/* |
9397 | 153 |
%dir %attr (0755, root, bin) %{_libdir} |
154 |
%{_libdir}/lib*.so* |
|
15298 | 155 |
%dir %attr (0755, root, bin) %{_libdir}/brasero |
156 |
%dir %attr (0755, root, bin) %{_libdir}/brasero/plugins |
|
157 |
%{_libdir}/brasero/plugins/lib*.so |
|
16327 | 158 |
# %{_libdir}/nautilus/extensions-2.0/*.so |
15298 | 159 |
%dir %attr(0755, root, sys) %{_datadir} |
160 |
%dir %attr(0755, root, other) %{_datadir}/applications |
|
161 |
%{_datadir}/applications/* |
|
162 |
%dir %attr(0755, root, bin) %{_datadir}/brasero |
|
163 |
%{_datadir}/brasero/* |
|
164 |
%dir %attr(0755, root, bin) %{_datadir}/omf |
|
165 |
%{_datadir}/omf/* |
|
166 |
%dir %attr(0755, root, root) %{_datadir}/mime |
|
167 |
%dir %attr(0755, root, root) %{_datadir}/mime/packages |
|
168 |
%{_datadir}/mime/packages/* |
|
169 |
%dir %attr(0755, root, other) %{_datadir}/icons |
|
170 |
%attr(-, root, other) %{_datadir}/icons/* |
|
171 |
%dir %attr(0755, root, other) %{_datadir}/gnome |
|
172 |
%dir %attr(0755, root, bin) %{_datadir}/gnome/help |
|
173 |
%{_datadir}/gnome/help/* |
|
174 |
%dir %attr (0755, root, bin) %{_mandir}/man1 |
|
175 |
%{_mandir}/man1/* |
|
9397 | 176 |
|
177 |
%files devel |
|
178 |
%defattr (-, root, bin) |
|
179 |
%dir %attr (0755, root, bin) %{_includedir} |
|
180 |
%{_includedir}/* |
|
181 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig |
|
182 |
%{_libdir}/pkgconfig/* |
|
15298 | 183 |
%dir %attr (0755, root, sys) %{_datadir} |
184 |
%{_datadir}/gtk-doc |
|
185 |
||
186 |
%files root |
|
187 |
%defattr (0755, root, sys) |
|
188 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
|
189 |
%{_sysconfdir}/gconf/schemas/brasero.schemas |
|
15347 | 190 |
%config %class (rbac) %attr (0644, root, sys) /etc/security/prof_attr |
15298 | 191 |
%config %class (rbac) %attr (0644, root, sys) /etc/security/exec_attr |
192 |
||
193 |
%if %build_l10n |
|
194 |
%files l10n |
|
195 |
%defattr(-, root, bin) |
|
196 |
%dir %attr (0755, root, sys) %{_datadir} |
|
197 |
%dir %attr (0755, root, other) %{_datadir}/locale |
|
198 |
%attr(-, root, other) %{_datadir}/locale/* |
|
199 |
%endif |
|
9397 | 200 |
|
201 |
%changelog |
|
16766 | 202 |
* Wed Oct 14 2009 - [email protected] |
203 |
- Bump to 2.28.1 |
|
16645 | 204 |
* Wed Sep 23 2009 - [email protected] |
205 |
- Bump to 2.28.0 |
|
16568 | 206 |
* Wed Sep 16 2009 - [email protected] |
207 |
- Bump to 2.27.92 and remove upstreamed patch. |
|
16378 | 208 |
* Thu Aug 27 2009 - [email protected] |
209 |
- Bump to 2.27.91 and update patches. |
|
16327 | 210 |
* Fri Aug 21 2009 - [email protected] |
211 |
- Disable nautilus extension because normal uses cant obtain privileges. |
|
16281 | 212 |
* Fri Aug 14 2009 - [email protected] |
213 |
- Bump to 2.27.90, updated patch3 which has been upstreamed, |
|
214 |
- could be removed in the next version. |
|
15970 | 215 |
* Mon Jun 29 2009 - [email protected] |
216 |
- Add patch for doo:9673 |
|
15915 | 217 |
* Tue Jun 16 2009 - [email protected] |
218 |
- Bump to 2.27.3. |
|
15833
7f9243acbaba
fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents:
15828
diff
changeset
|
219 |
* Tue Jun 02 2009 - [email protected] |
7f9243acbaba
fix dependency issue(CR6843511, 6843654, 6843579, 6843587, 6843581, 6845023, 6843582)
davelam
parents:
15828
diff
changeset
|
220 |
- fixed dependency issue(CR6843581). |
15828 | 221 |
* Mon Jun 01 2009 - [email protected] |
222 |
- Bump to 2.27.2 |
|
15817 | 223 |
* Sat Map 30 2009 - [email protected] |
15808 | 224 |
- Bump to 2.26.2 |
15817 | 225 |
- removed patches/brasero-02-src-data.diff. |
226 |
- Updated and reordered gksu related patch. |
|
15663 | 227 |
* Tue Apr 22 2009 - [email protected] |
228 |
- Updated gksu related patch, and fixed a nit of spec. |
|
15657 | 229 |
* Tue Apr 21 2009 - [email protected] |
230 |
- Added gksu related patch. |
|
231 |
- Added dependency for gksu. |
|
232 |
- Changed profile name. |
|
15617 | 233 |
* Tue Apr 14 2009 - [email protected] |
234 |
- Bump to 2.26.1. |
|
15556 | 235 |
* Fri Apr 3 2009 - [email protected] |
236 |
- use desktop-cache instead of postrun |
|
15409 | 237 |
* Tue Mar 17 2009 - [email protected] |
15617 | 238 |
- Bump to 2.26.0. |
15347 | 239 |
* Wed Mar 11 2009 - [email protected] |
240 |
- Create and new profile 'Desktop CD User' and 'Console User'. |
|
241 |
- Removed file_dac_read, because console user owns the device. |
|
15298 | 242 |
* Tue Mar 03 2009 - [email protected] |
243 |
- Removed run-time dependency SUNWgksu, renamed to SUNWgnome-cd-burner. |
|
244 |
- Restored removed patch 02-src-data.diff, because it's partly upstreamed. |
|
245 |
* Mon Mar 02 2009 - [email protected] |
|
15617 | 246 |
- Bump to 2.25.92. |
15298 | 247 |
- Removed upstreamed patch 02-src-data.diff. |
248 |
* Tue Feb 24 2009 - [email protected] |
|
249 |
- Bump to 2.25.91.2 Add brasero-02-src-data.diff, add RBAC stuff. |
|
250 |
* Tue Feb 17 2009 - [email protected] |
|
251 |
- Bump to 2.25.91. Remove upstream patch brasero-04-po.diff. |
|
252 |
* Tue Feb 10 2009 - [email protected] |
|
253 |
- Add dependency on SUNWgnome-media-player, CR #6755918 |
|
254 |
* Fri Jan 16 2009 - [email protected] |
|
255 |
- Add l10n tarball. |
|
256 |
* Fri Jan 09 2009 - [email protected] |
|
257 |
- Add patch po.diff from community trunk. |
|
258 |
* Wed Sep 18 2008 - [email protected] |
|
259 |
- Bump to 0.8.2. Update copyright. |
|
260 |
* Mon Sep 15 2008 - [email protected] |
|
261 |
- Add brasero-03-g11n-im-jacket.diff to enable IM for jacket editor. |
|
262 |
* Mon Aug 18 2008 - [email protected] |
|
15617 | 263 |
- Initial version. |
15650 | 264 |