]> git.pld-linux.org Git - packages/brasero.git/blobdiff - brasero.spec
- disable any post-install activities at build time
[packages/brasero.git] / brasero.spec
index d89cca88f59beb45d666248505d0f8e6d9d74991..9ce35cc2400645d65eba8f9db9cba53ca8d65903 100644 (file)
@@ -1,19 +1,16 @@
-#
-# Conditinal build:
-%bcond_with    beagle          # enable beagle search
-#
 Summary:       Disc burning application for GNOME
 Summary(pl):   Program do wypalania dysków dla GNOME
 Name:          bonfire
-Version:       0.3.1
-Release:       2
+Version:       0.4.1
+Release:       1
 License:       GPL v2
 Group:         Applications
-Source0:       http://perso.wanadoo.fr/bonfire/%{name}-%{version}.tar.bz2
-# Source0-md5: db94c7ae5ac5c27cf7d66fafc3654f4f
+Source0:       http://dl.sourceforge.net/bonfire/%{name}-%{version}.tar.bz2
+# Source0-md5: d8c99448c696693574ab8fad5132a4de
 Patch0:                %{name}-desktop.patch
 URL:           http://perso.wanadoo.fr/bonfire/
-%{?with_beagle:BuildRequires:  beagle-devel >= 0.1.0}
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: dbus-glib-devel >= 0.30
 BuildRequires: gdl-devel >= 0.5.0
 BuildRequires: gnome-vfs2-devel >= 2.12.0
@@ -24,11 +21,14 @@ BuildRequires:      hal-devel >= 0.5
 BuildRequires: intltool >= 0.25
 BuildRequires: libgnomeui-devel >= 2.10.0
 BuildRequires: libnotify-devel >= 0.3.0
-BuildRequires: libxml2-devel >= 2.6.0
+BuildRequires: libtool
+BuildRequires: libxml2-devel >= 1:2.6.0
 BuildRequires: nautilus-cd-burner-devel >= 2.12.0
 BuildRequires: pkgconfig
 BuildRequires: totem-devel >= 1.2.0
 Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk+2
+Requires(post,postun): shared-mime-info
 Requires:      hal >= 0.5
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -45,14 +45,21 @@ GNOME. Jest zaprojektowany by by
 %patch0 -p1
 
 %build
-%configure %{?!with_beagle:--disable-search}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+       --disable-caches
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT \
+       mimeicondir=%{_datadir}/icons/hicolor/48x48/mimetypes
 
 %find_lang %{name} --all-name
 
@@ -60,9 +67,15 @@ rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 %post
+umask 022
+update-mime-database %{_datadir}/mime >/dev/null 2>&1 ||:
+gtk-update-icon-cache -ft %{_datadir}/icons/hicolor
 %update_desktop_database_post
 
 %postun
+umask 022
+update-mime-database %{_datadir}/mime >/dev/null 2>&1
+gtk-update-icon-cache -ft %{_datadir}/icons/hicolor
 %update_desktop_database_postun
 
 %files -f %{name}.lang
@@ -70,5 +83,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS ChangeLog NEWS README TODO.tasks
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
+%{_datadir}/mime/packages/bonfire.xml
 %{_desktopdir}/*.desktop
+%{_iconsdir}/hicolor/*/*/
 %{_pixmapsdir}/*.png
This page took 0.129079 seconds and 4 git commands to generate.