]> git.pld-linux.org Git - packages/xfburn.git/commitdiff
- rel. 0.3 auto/ti/xfburn-0_3_2-0_3
authorduddits <duddits@pld-linux.org>
Thu, 2 Oct 2008 08:42:04 +0000 (08:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- some BRs and Rs added
- %post/%postun
- small hack in %build

Changed files:
    xfburn.spec -> 1.6

xfburn.spec

index 420a70877be2eebeaf5018c0b495215e25e2c10b..1feeff08a4445f41abec96fb1fd1a2be35c40c73 100644 (file)
@@ -2,16 +2,26 @@ Summary:      Xfburn - a simple CD/DVD burning tool
 Summary(pl.UTF-8):     Xfburn - proste narzędzie do wypalania CD/DVD
 Name:          xfburn
 Version:       0.3.2
-Release:       0.2
+Release:       0.3
 License:       GPL v2+
 Group:         X11/Applications
 Source0:       http://goodies.xfce.org/releases/xfburn/%{name}-%{version}.tar.gz
 # Source0-md5: b70219d92c6cdbe0c89c8ae073395ea4
+Patch0:                %{name}-po.patch
 URL:           http://goodies.xfce.org/projects/applications/xfburn/
 BuildRequires: libburn-devel
 BuildRequires: libexo-devel
 BuildRequires: libisofs-devel
 BuildRequires: libxfcegui4-devel
+BuildRequires:  rpmbuild(find_lang) >= 1.23
+BuildRequires:  rpmbuild(macros) >= 1.311
+BuildRequires:  hal-devel >= 0.5
+Requires(post,postun):  desktop-file-utils
+Requires(post,postun):  gtk+2
+Requires(post,postun):  hicolor-icon-theme
+Requires(post):        GConf2
+Requires:       hal >= 0.5
+Suggests:       dvd+rw-tools
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,9 +40,14 @@ obsługa płyt audio CD zostanie dodana w kolejnej wersji.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%configure
+# fix locale names
+mv -f po/{pt_PT.po,pt.po}
+mv -f po/{nb_NO.po,nb.po}
+
+%configure 
 %{__make}
 
 %install
@@ -46,6 +61,16 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_desktop_database_post
+%update_mime_database
+%update_icon_cache hicolor
+
+%postun
+%update_desktop_database_postun
+%update_mime_database
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
This page took 0.122969 seconds and 4 git commands to generate.