1 # TODO: check build/functionality with new libburn+libisofs
4 %bcond_without beagle # disable beagle search
6 Summary: Disc burning application for GNOME
7 Summary(pl.UTF-8): Program do wypalania płyt dla GNOME
12 Group: X11/Applications
13 Source0: http://ftp.gnome.org/pub/GNOME/sources/brasero/0.6/%{name}-%{version}.tar.bz2
14 # Source0-md5: fa3b59f06b93bd831805a73a81f3293f
15 Patch0: %{name}-desktop.patch
16 URL: http://www.gnome.org/projects/brasero/
17 BuildRequires: autoconf
18 BuildRequires: automake
19 %{?with_beagle:BuildRequires: beagle-devel >= 0.1.1}
20 BuildRequires: gnome-vfs2-devel >= 2.14.2
21 BuildRequires: gstreamer-devel >= 0.10.6
22 BuildRequires: gstreamer-plugins-base-devel >= 0.10.0
23 BuildRequires: gtk+2-devel >= 2:2.10.0
24 BuildRequires: hal-devel >= 0.5
25 BuildRequires: intltool >= 0.35.0
26 BuildRequires: libgnomeui-devel >= 2.10.0
27 BuildRequires: libnotify-devel >= 0.3.0
28 BuildRequires: libtool
29 BuildRequires: libxml2-devel >= 1:2.6.0
30 BuildRequires: nautilus-cd-burner-devel >= 2.12.0
31 BuildRequires: pkgconfig
32 BuildRequires: totem-devel >= 1.2.0
33 # libburn >= 0.3.4, libisofs >= 0.2.8
34 Requires(post,postun): desktop-file-utils
35 Requires(post,postun): hicolor-icon-theme
37 Suggests: dvd+rw-tools
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 Brasero is a CD/DVD mastering tool for the GNOME desktop.
43 It is designed to be simple and easy to use.
45 %description -l pl.UTF-8
46 Brasero jest narzędziem do masteringu płyt CD/DVD dla biurka
47 GNOME. Jest zaprojektowany by być prostym i łatwym w obsłudze.
61 %{!?with_beagle:--disable-search} \
66 rm -rf $RPM_BUILD_ROOT
69 DESTDIR=$RPM_BUILD_ROOT
71 %find_lang %{name} --all-name
74 rm -rf $RPM_BUILD_ROOT
77 %gconf_schema_install brasero.schemas
78 %update_desktop_database_post
80 %update_icon_cache hicolor
83 %gconf_schema_uninstall brasero.schemas
84 %update_desktop_database_postun
86 %update_icon_cache hicolor
88 %files -f %{name}.lang
89 %defattr(644,root,root,755)
90 %doc AUTHORS ChangeLog NEWS README
91 %attr(755,root,root) %{_bindir}/*
93 %{_datadir}/mime/packages/%{name}.xml
94 %{_desktopdir}/*.desktop
95 %{_iconsdir}/hicolor/*/*/*.png
96 %{_iconsdir}/hicolor/*/*/*.svg
98 %{_sysconfdir}/gconf/schemas/*