SPECS: xfburn.spec - rel. 0.3 - some BRs and Rs added - %post/%postun - sma...

duddits duddits at pld-linux.org
Thu Oct 2 10:42:09 CEST 2008


Author: duddits                      Date: Thu Oct  2 08:42:09 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel. 0.3
- some BRs and Rs added
- %post/%postun
- small hack in %build

---- Files affected:
SPECS:
   xfburn.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/xfburn.spec
diff -u SPECS/xfburn.spec:1.5 SPECS/xfburn.spec:1.6
--- SPECS/xfburn.spec:1.5	Thu Oct  2 00:01:21 2008
+++ SPECS/xfburn.spec	Thu Oct  2 10:42:04 2008
@@ -3,16 +3,26 @@
 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
@@ -31,9 +41,14 @@
 
 %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
@@ -47,6 +62,16 @@
 %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
@@ -62,6 +87,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2008/10/02 08:42:04  duddits
+- rel. 0.3
+- some BRs and Rs added
+- %post/%postun
+- small hack in %build
+
 Revision 1.5  2008/10/01 22:01:21  qboosh
 - GPL v2+
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xfburn.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list