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