]>
Commit | Line | Data |
---|---|---|
7d70b9b5 JB |
1 | # |
2 | # Conditinal build: | |
3 | %bcond_without beagle # disable beagle search | |
4 | # | |
0aa1039d | 5 | Summary: Disc burning application for GNOME |
78d2c1a6 | 6 | Summary(pl.UTF-8): Program do wypalania płyt dla GNOME |
f267e635 | 7 | Name: brasero |
afaaf393 | 8 | Version: 3.0.0 |
0be982e2 | 9 | Release: 2 |
d5995223 | 10 | License: GPL v2+ |
06edcff8 | 11 | Group: X11/Applications |
afaaf393 MB |
12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/brasero/3.0/%{name}-%{version}.tar.bz2 |
13 | # Source0-md5: 1e12a6539ce8e7e7ec68fdeacd133a3e | |
8e53b4f5 | 14 | URL: http://www.gnome.org/projects/brasero/ |
8d4620cd | 15 | BuildRequires: GConf2-devel >= 2.32.0 |
7d70b9b5 JB |
16 | BuildRequires: autoconf |
17 | BuildRequires: automake | |
0851aa69 | 18 | BuildRequires: gettext-devel |
afaaf393 | 19 | BuildRequires: glib2-devel >= 1:2.28.0 |
7416c71a | 20 | BuildRequires: glibc-misc |
5dcd3a8d | 21 | BuildRequires: gnome-common >= 2.24.0 |
0851aa69 | 22 | BuildRequires: gnome-doc-utils |
4c970b36 | 23 | BuildRequires: gobject-introspection-devel >= 0.6.3 |
0851aa69 | 24 | BuildRequires: gstreamer-devel >= 0.10.15 |
0aa1039d | 25 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.0 |
afaaf393 | 26 | BuildRequires: gtk+3-devel >= 3.0.0 |
4c970b36 | 27 | BuildRequires: gtk-doc >= 1.12 |
0851aa69 MB |
28 | BuildRequires: intltool >= 0.40.0 |
29 | %{?with_beagle:BuildRequires: libbeagle-devel >= 0.3.0} | |
59998c06 | 30 | BuildRequires: libburn-devel >= 0.4.0 |
7416c71a | 31 | BuildRequires: libcanberra-devel |
afaaf393 | 32 | BuildRequires: libcanberra-gtk3-devel |
d714d0f9 | 33 | BuildRequires: libisofs-devel >= 0.6.4 |
afaaf393 | 34 | BuildRequires: libnotify-devel >= 0.6.1 |
0be982e2 | 35 | BuildRequires: libtool >= 2.2 |
5dcd3a8d | 36 | BuildRequires: libxml2-devel >= 1:2.6.31 |
afaaf393 | 37 | BuildRequires: nautilus-devel >= 3.0.0 |
0aa1039d | 38 | BuildRequires: pkgconfig |
f4f40cec | 39 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
8583b2c1 | 40 | BuildRequires: rpmbuild(macros) >= 1.592 |
4c970b36 | 41 | BuildRequires: totem-pl-parser-devel >= 2.30.0 |
afaaf393 | 42 | #BuildRequires: tracker-devel >= 0.8.0 |
afaaf393 | 43 | BuildRequires: xorg-lib-libICE-devel |
0be982e2 | 44 | BuildRequires: xorg-lib-libSM-devel |
0aa1039d | 45 | Requires(post,postun): desktop-file-utils |
8d4620cd | 46 | Requires(post,postun): glib2 >= 1:2.26.0 |
52cefd50 | 47 | Requires(post,postun): gtk-update-icon-cache |
5dcd3a8d | 48 | Requires(post,postun): shared-mime-info |
5dcd3a8d | 49 | Requires: %{name}-libs = %{version}-%{release} |
0be982e2 MB |
50 | Requires: hicolor-icon-theme |
51 | Suggests: cdda2wav | |
52 | Suggests: cdrdao | |
53 | Suggests: cdrecord | |
54 | Suggests: cdrecord-readcd | |
a0ab5c9e | 55 | Suggests: dvd+rw-tools |
0be982e2 | 56 | Suggests: dvdauthor |
aaf34959 MB |
57 | Suggests: gstreamer-audio-effects-base |
58 | Suggests: gstreamer-audio-effects-good | |
0be982e2 MB |
59 | Suggests: mkisofs |
60 | Suggests: vcdimager | |
68ba2b78 | 61 | Obsoletes: bonfire |
461995f0 | 62 | # sr@Latn vs. sr@latin |
63 | Conflicts: glibc-misc < 6:2.7 | |
0aa1039d | 64 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
65 | ||
66 | %description | |
0851aa69 MB |
67 | Brasero is a CD/DVD mastering tool for the GNOME desktop. It is |
68 | designed to be simple and easy to use. | |
0aa1039d | 69 | |
41cf56dd | 70 | %description -l pl.UTF-8 |
0851aa69 MB |
71 | Brasero jest narzędziem do masteringu płyt CD/DVD dla biurka GNOME. |
72 | Jest zaprojektowany by być prostym i łatwym w obsłudze. | |
0aa1039d | 73 | |
5dcd3a8d MB |
74 | %package libs |
75 | Summary: Brasero library | |
76 | Summary(pl.UTF-8): Biblioteka Brasero | |
77 | Group: X11/Libraries | |
78 | ||
79 | %description libs | |
80 | Brasero library. | |
81 | ||
82 | %description libs -l pl.UTF-8 | |
83 | Biblioteka Brasero. | |
84 | ||
85 | %package devel | |
86 | Summary: Header files for Brasero library | |
87 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Brasero | |
88 | Group: X11/Development/Libraries | |
89 | Requires: %{name}-libs = %{version}-%{release} | |
afaaf393 MB |
90 | Requires: glib2-devel >= 1:2.28.0 |
91 | Requires: gtk+3-devel >= 3.0.0 | |
5dcd3a8d MB |
92 | |
93 | %description devel | |
94 | Header files for Brasero library. | |
95 | ||
96 | %description devel -l pl.UTF-8 | |
97 | Pliki nagłówkowe biblioteki Brasero. | |
98 | ||
5dcd3a8d MB |
99 | %package apidocs |
100 | Summary: Brasero library API documentation | |
101 | Summary(pl.UTF-8): Dokumentacja API biblioteki Brasero | |
102 | Group: Documentation | |
103 | Requires: gtk-doc-common | |
104 | ||
105 | %description apidocs | |
106 | Brasero library API documentation. | |
107 | ||
108 | %description apidocs -l pl.UTF-8 | |
109 | Dokumentacja API biblioteki Brasero. | |
110 | ||
0edd65d4 PZ |
111 | %package -n nautilus-extension-brasero |
112 | Summary: Brasero extension for Nautilus | |
113 | Summary(pl.UTF-8): Rozszerzenie Brasero dla Nautilusa | |
114 | Group: X11/Applications | |
5dcd3a8d | 115 | Requires(post,postun): desktop-file-utils |
0edd65d4 | 116 | Requires: %{name} = %{version}-%{release} |
afaaf393 | 117 | Requires: nautilus >= 3.0.0 |
0edd65d4 PZ |
118 | |
119 | %description -n nautilus-extension-brasero | |
120 | Adds Brasero integration to Nautilus. | |
121 | ||
122 | %description -n nautilus-extension-brasero -l pl.UTF-8 | |
123 | Dodaje integrację Brasero z Nautilusem. | |
124 | ||
0aa1039d | 125 | %prep |
126 | %setup -q | |
0aa1039d | 127 | |
128 | %build | |
8b4bb632 | 129 | %{__gtkdocize} |
7d70b9b5 | 130 | %{__libtoolize} |
4ac23a31 | 131 | %{__intltoolize} |
7d70b9b5 JB |
132 | %{__aclocal} |
133 | %{__autoconf} | |
134 | %{__autoheader} | |
135 | %{__automake} | |
136 | %configure \ | |
f267e635 | 137 | %{!?with_beagle:--disable-search} \ |
5dcd3a8d MB |
138 | --enable-gtk-doc \ |
139 | --with-html-dir=%{_gtkdocdir} \ | |
0851aa69 | 140 | --disable-caches \ |
4c970b36 | 141 | --disable-silent-rules |
0aa1039d | 142 | %{__make} |
143 | ||
144 | %install | |
145 | rm -rf $RPM_BUILD_ROOT | |
146 | ||
147 | %{__make} install \ | |
148 | DESTDIR=$RPM_BUILD_ROOT | |
149 | ||
e2dd18fd | 150 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
afaaf393 MB |
151 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/brasero3/plugins/lib*.la |
152 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la | |
f4f40cec | 153 | |
f4f40cec | 154 | %find_lang %{name} --with-gnome --with-omf |
0aa1039d | 155 | |
156 | %clean | |
157 | rm -rf $RPM_BUILD_ROOT | |
158 | ||
159 | %post | |
160 | %update_desktop_database_post | |
f267e635 PZ |
161 | %update_mime_database |
162 | %update_icon_cache hicolor | |
8583b2c1 | 163 | %glib_compile_schemas |
0156d6bf MB |
164 | |
165 | %postun | |
0aa1039d | 166 | %update_desktop_database_postun |
8583b2c1 | 167 | %glib_compile_schemas |
f267e635 PZ |
168 | %update_mime_database |
169 | %update_icon_cache hicolor | |
0aa1039d | 170 | |
5dcd3a8d MB |
171 | %post libs -p /sbin/ldconfig |
172 | %postun libs -p /sbin/ldconfig | |
173 | ||
174 | %post -n nautilus-extension-brasero | |
175 | %update_desktop_database_post | |
176 | ||
177 | %postun -n nautilus-extension-brasero | |
178 | %update_desktop_database_postun | |
179 | ||
0aa1039d | 180 | %files -f %{name}.lang |
181 | %defattr(644,root,root,755) | |
6b654b53 | 182 | %doc AUTHORS ChangeLog NEWS README |
5dcd3a8d | 183 | %attr(755,root,root) %{_bindir}/brasero |
0aa1039d | 184 | %{_datadir}/%{name} |
f267e635 | 185 | %{_datadir}/mime/packages/%{name}.xml |
afaaf393 MB |
186 | %dir %{_libdir}/brasero3 |
187 | %dir %{_libdir}/brasero3/plugins | |
188 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-audio2cue.so | |
189 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-burn-uri.so | |
190 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-cdda2wav.so | |
191 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-cdrdao.so | |
192 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-cdrecord.so | |
193 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-checksum-file.so | |
194 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-checksum.so | |
195 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-dvdauthor.so | |
196 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-dvdcss.so | |
197 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-dvdrwformat.so | |
198 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-genisoimage.so | |
199 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-growisofs.so | |
200 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-libburn.so | |
201 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-libisofs.so | |
202 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-local-track.so | |
203 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-mkisofs.so | |
204 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-normalize.so | |
205 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-readcd.so | |
206 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-readom.so | |
207 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-transcode.so | |
208 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-vcdimager.so | |
209 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-vob.so | |
210 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-wodim.so | |
8d4620cd MB |
211 | %{_datadir}/GConf/gsettings/brasero.convert |
212 | %{_datadir}/glib-2.0/schemas/org.gnome.brasero.gschema.xml | |
5dcd3a8d | 213 | %{_desktopdir}/brasero.desktop |
f267e635 | 214 | %{_iconsdir}/hicolor/*/*/*.png |
5dcd3a8d | 215 | %{_mandir}/man1/brasero.1* |
0edd65d4 | 216 | |
5dcd3a8d MB |
217 | %files libs |
218 | %defattr(644,root,root,755) | |
afaaf393 MB |
219 | %attr(755,root,root) %{_libdir}/libbrasero-burn3.so.*.*.* |
220 | %attr(755,root,root) %ghost %{_libdir}/libbrasero-burn3.so.1 | |
221 | %attr(755,root,root) %{_libdir}/libbrasero-media3.so.*.*.* | |
222 | %attr(755,root,root) %ghost %{_libdir}/libbrasero-media3.so.1 | |
223 | %attr(755,root,root) %{_libdir}/libbrasero-utils3.so.*.*.* | |
224 | %attr(755,root,root) %ghost %{_libdir}/libbrasero-utils3.so.1 | |
225 | %{_libdir}/girepository-1.0/BraseroBurn-%{version}.typelib | |
226 | %{_libdir}/girepository-1.0/BraseroMedia-%{version}.typelib | |
227 | ||
5dcd3a8d MB |
228 | |
229 | %files devel | |
230 | %defattr(644,root,root,755) | |
afaaf393 MB |
231 | %attr(755,root,root) %{_libdir}/libbrasero-burn3.so |
232 | %attr(755,root,root) %{_libdir}/libbrasero-media3.so | |
233 | %attr(755,root,root) %{_libdir}/libbrasero-utils3.so | |
234 | %{_includedir}/brasero3 | |
235 | %{_pkgconfigdir}/libbrasero-burn3.pc | |
236 | %{_pkgconfigdir}/libbrasero-media3.pc | |
237 | %{_datadir}/gir-1.0/BraseroBurn-%{version}.gir | |
238 | %{_datadir}/gir-1.0/BraseroMedia-%{version}.gir | |
5dcd3a8d | 239 | |
5dcd3a8d MB |
240 | %files apidocs |
241 | %defattr(644,root,root,755) | |
27216010 PZ |
242 | %{_gtkdocdir}/libbrasero-burn |
243 | %{_gtkdocdir}/libbrasero-media | |
5dcd3a8d | 244 | |
0edd65d4 PZ |
245 | %files -n nautilus-extension-brasero |
246 | %defattr(644,root,root,755) | |
afaaf393 | 247 | %attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-brasero-extension.so |
5dcd3a8d | 248 | %{_desktopdir}/brasero-nautilus.desktop |