]>
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 |
7a92fec5 | 8 | Version: 3.12.1 |
ba55a830 | 9 | Release: 3 |
d5995223 | 10 | License: GPL v2+ |
06edcff8 | 11 | Group: X11/Applications |
b1f60db0 | 12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/brasero/3.12/%{name}-%{version}.tar.xz |
7a92fec5 | 13 | # Source0-md5: 216691249053448a9f2b4ee5e118ce72 |
696d832d | 14 | URL: https://wiki.gnome.org/Apps/Brasero |
897c9401 | 15 | BuildRequires: autoconf >= 2.50 |
7d70b9b5 | 16 | BuildRequires: automake |
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 |
4c970b36 | 21 | BuildRequires: gobject-introspection-devel >= 0.6.3 |
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 |
7416c71a | 28 | BuildRequires: libcanberra-devel |
afaaf393 | 29 | BuildRequires: libcanberra-gtk3-devel |
d714d0f9 | 30 | BuildRequires: libisofs-devel >= 0.6.4 |
afaaf393 | 31 | BuildRequires: libnotify-devel >= 0.6.1 |
0be982e2 | 32 | BuildRequires: libtool >= 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 |
f4f40cec | 36 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
8583b2c1 | 37 | BuildRequires: rpmbuild(macros) >= 1.592 |
c5f25ae4 | 38 | BuildRequires: tar >= 1:1.22 |
4c970b36 | 39 | BuildRequires: totem-pl-parser-devel >= 2.30.0 |
5ba2da63 | 40 | BuildRequires: tracker-devel >= 0.16.0 |
afaaf393 | 41 | BuildRequires: xorg-lib-libICE-devel |
0be982e2 | 42 | BuildRequires: xorg-lib-libSM-devel |
c5f25ae4 | 43 | BuildRequires: xz |
86910484 | 44 | BuildRequires: yelp-tools |
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 | |
ea2ef190 | 54 | Suggests: cdrtools-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} | |
c5f25ae4 | 90 | Requires: glib2-devel >= 1:2.30.0 |
afaaf393 | 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 | |
c8251453 ER |
104 | %if "%{_rpmversion}" >= "5" |
105 | BuildArch: noarch | |
106 | %endif | |
5dcd3a8d MB |
107 | |
108 | %description apidocs | |
109 | Brasero library API documentation. | |
110 | ||
111 | %description apidocs -l pl.UTF-8 | |
112 | Dokumentacja API biblioteki Brasero. | |
113 | ||
0edd65d4 PZ |
114 | %package -n nautilus-extension-brasero |
115 | Summary: Brasero extension for Nautilus | |
116 | Summary(pl.UTF-8): Rozszerzenie Brasero dla Nautilusa | |
117 | Group: X11/Applications | |
5dcd3a8d | 118 | Requires(post,postun): desktop-file-utils |
0edd65d4 | 119 | Requires: %{name} = %{version}-%{release} |
afaaf393 | 120 | Requires: nautilus >= 3.0.0 |
0edd65d4 PZ |
121 | |
122 | %description -n nautilus-extension-brasero | |
123 | Adds Brasero integration to Nautilus. | |
124 | ||
125 | %description -n nautilus-extension-brasero -l pl.UTF-8 | |
126 | Dodaje integrację Brasero z Nautilusem. | |
127 | ||
0aa1039d | 128 | %prep |
129 | %setup -q | |
0aa1039d | 130 | |
131 | %build | |
8b4bb632 | 132 | %{__gtkdocize} |
7d70b9b5 | 133 | %{__libtoolize} |
4ac23a31 | 134 | %{__intltoolize} |
7d70b9b5 JB |
135 | %{__aclocal} |
136 | %{__autoconf} | |
137 | %{__autoheader} | |
138 | %{__automake} | |
139 | %configure \ | |
0851aa69 | 140 | --disable-caches \ |
897c9401 JB |
141 | --enable-gtk-doc \ |
142 | %{!?with_nautilus:--disable-nautilus} \ | |
143 | --disable-silent-rules \ | |
144 | --with-html-dir=%{_gtkdocdir} | |
915a8765 | 145 | %{__make} -j1 |
0aa1039d | 146 | |
147 | %install | |
148 | rm -rf $RPM_BUILD_ROOT | |
149 | ||
150 | %{__make} install \ | |
151 | DESTDIR=$RPM_BUILD_ROOT | |
152 | ||
e2dd18fd | 153 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
afaaf393 | 154 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/brasero3/plugins/lib*.la |
897c9401 | 155 | %if %{with nautilus} |
afaaf393 | 156 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la |
897c9401 | 157 | %endif |
f4f40cec | 158 | |
897c9401 | 159 | %find_lang %{name} --with-gnome |
0aa1039d | 160 | |
161 | %clean | |
162 | rm -rf $RPM_BUILD_ROOT | |
163 | ||
164 | %post | |
165 | %update_desktop_database_post | |
f267e635 PZ |
166 | %update_mime_database |
167 | %update_icon_cache hicolor | |
8583b2c1 | 168 | %glib_compile_schemas |
0156d6bf MB |
169 | |
170 | %postun | |
0aa1039d | 171 | %update_desktop_database_postun |
8583b2c1 | 172 | %glib_compile_schemas |
f267e635 PZ |
173 | %update_mime_database |
174 | %update_icon_cache hicolor | |
0aa1039d | 175 | |
5dcd3a8d MB |
176 | %post libs -p /sbin/ldconfig |
177 | %postun libs -p /sbin/ldconfig | |
178 | ||
179 | %post -n nautilus-extension-brasero | |
180 | %update_desktop_database_post | |
181 | ||
182 | %postun -n nautilus-extension-brasero | |
183 | %update_desktop_database_postun | |
184 | ||
0aa1039d | 185 | %files -f %{name}.lang |
186 | %defattr(644,root,root,755) | |
6b654b53 | 187 | %doc AUTHORS ChangeLog NEWS README |
5dcd3a8d | 188 | %attr(755,root,root) %{_bindir}/brasero |
486cdc41 | 189 | %{_datadir}/appdata/brasero.appdata.xml |
0aa1039d | 190 | %{_datadir}/%{name} |
f267e635 | 191 | %{_datadir}/mime/packages/%{name}.xml |
afaaf393 MB |
192 | %dir %{_libdir}/brasero3 |
193 | %dir %{_libdir}/brasero3/plugins | |
194 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-audio2cue.so | |
195 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-burn-uri.so | |
196 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-cdda2wav.so | |
197 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-cdrdao.so | |
198 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-cdrecord.so | |
199 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-checksum-file.so | |
200 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-checksum.so | |
201 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-dvdauthor.so | |
202 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-dvdcss.so | |
203 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-dvdrwformat.so | |
204 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-genisoimage.so | |
205 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-growisofs.so | |
206 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-libburn.so | |
207 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-libisofs.so | |
208 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-local-track.so | |
209 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-mkisofs.so | |
210 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-normalize.so | |
211 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-readcd.so | |
212 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-readom.so | |
213 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-transcode.so | |
214 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-vcdimager.so | |
215 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-vob.so | |
216 | %attr(755,root,root) %{_libdir}/brasero3/plugins/libbrasero-wodim.so | |
8d4620cd MB |
217 | %{_datadir}/GConf/gsettings/brasero.convert |
218 | %{_datadir}/glib-2.0/schemas/org.gnome.brasero.gschema.xml | |
5dcd3a8d | 219 | %{_desktopdir}/brasero.desktop |
f267e635 | 220 | %{_iconsdir}/hicolor/*/*/*.png |
7a92fec5 | 221 | %{_iconsdir}/hicolor/scalable/apps/*.svg |
5dcd3a8d | 222 | %{_mandir}/man1/brasero.1* |
0edd65d4 | 223 | |
5dcd3a8d MB |
224 | %files libs |
225 | %defattr(644,root,root,755) | |
afaaf393 MB |
226 | %attr(755,root,root) %{_libdir}/libbrasero-burn3.so.*.*.* |
227 | %attr(755,root,root) %ghost %{_libdir}/libbrasero-burn3.so.1 | |
228 | %attr(755,root,root) %{_libdir}/libbrasero-media3.so.*.*.* | |
229 | %attr(755,root,root) %ghost %{_libdir}/libbrasero-media3.so.1 | |
230 | %attr(755,root,root) %{_libdir}/libbrasero-utils3.so.*.*.* | |
231 | %attr(755,root,root) %ghost %{_libdir}/libbrasero-utils3.so.1 | |
67480f5f MB |
232 | %{_libdir}/girepository-1.0/BraseroBurn-*.typelib |
233 | %{_libdir}/girepository-1.0/BraseroMedia-*.typelib | |
afaaf393 | 234 | |
5dcd3a8d MB |
235 | |
236 | %files devel | |
237 | %defattr(644,root,root,755) | |
afaaf393 MB |
238 | %attr(755,root,root) %{_libdir}/libbrasero-burn3.so |
239 | %attr(755,root,root) %{_libdir}/libbrasero-media3.so | |
240 | %attr(755,root,root) %{_libdir}/libbrasero-utils3.so | |
241 | %{_includedir}/brasero3 | |
242 | %{_pkgconfigdir}/libbrasero-burn3.pc | |
243 | %{_pkgconfigdir}/libbrasero-media3.pc | |
67480f5f MB |
244 | %{_datadir}/gir-1.0/BraseroBurn-*.gir |
245 | %{_datadir}/gir-1.0/BraseroMedia-*.gir | |
5dcd3a8d | 246 | |
5dcd3a8d MB |
247 | %files apidocs |
248 | %defattr(644,root,root,755) | |
27216010 PZ |
249 | %{_gtkdocdir}/libbrasero-burn |
250 | %{_gtkdocdir}/libbrasero-media | |
5dcd3a8d | 251 | |
897c9401 | 252 | %if %{with nautilus} |
0edd65d4 PZ |
253 | %files -n nautilus-extension-brasero |
254 | %defattr(644,root,root,755) | |
afaaf393 | 255 | %attr(755,root,root) %{_libdir}/nautilus/extensions-3.0/libnautilus-brasero-extension.so |
5dcd3a8d | 256 | %{_desktopdir}/brasero-nautilus.desktop |
897c9401 | 257 | %endif |