SPECS: Thunar.spec - up to 0.4.0rc1 - use rpm macros

megabajt megabajt at pld-linux.org
Mon Sep 4 22:12:54 CEST 2006


Author: megabajt                     Date: Mon Sep  4 20:12:54 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.4.0rc1
- use rpm macros

---- Files affected:
SPECS:
   Thunar.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/Thunar.spec
diff -u SPECS/Thunar.spec:1.7 SPECS/Thunar.spec:1.8
--- SPECS/Thunar.spec:1.7	Sun Jul 16 19:10:21 2006
+++ SPECS/Thunar.spec	Mon Sep  4 22:12:49 2006
@@ -3,17 +3,17 @@
 # Conditional build:
 %bcond_without	static_libs	# don't build static library
 #
-%define		_pre		beta2
-%define		xfce_version	4.3.90.2
+%define		_pre		rc1
+%define		xfce_version	4.3.99.1
 Summary:	Xfce file manager
 Summary(pl):	Zarządca plików Xfce
 Name:		Thunar
-Version:	0.3.2
+Version:	0.4.0
 Release:	0.%{_pre}.1
 License:	GPL v2 / LGPL v2
-Group:		Applications
+Group:		X11/Applications
 Source0:	http://www.xfce.org/archive/xfce-%{xfce_version}/src/%{name}-%{version}%{_pre}.tar.bz2
-# Source0-md5:	53087545a5bf6bdac0174a4628722c21
+# Source0-md5:	b07ae97a69964112e0af84ba2f63585d
 URL:		http://thunar.xfce.org/
 BuildRequires:	GConf2-devel >= 2.14.0
 BuildRequires:	dbus-glib-devel >= 0.62
@@ -25,19 +25,20 @@
 BuildRequires:	hal-devel >= 0.5.7
 BuildRequires:	intltool
 BuildRequires:	libexif-devel >= 0.6.13
-BuildRequires:	libexo-devel >= 0.3.1.8
+BuildRequires:	libexo-devel >= 0.3.1.10
 BuildRequires:	libjpeg-devel
 BuildRequires:	libpng-devel >= 1.2.12
 BuildRequires:	libxfce4util-devel >= %{xfce_version}
 BuildRequires:	pcre-devel >= 6.0
 BuildRequires:	perl-base
 BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	startup-notification-devel >= 0.8
-Requires(post,postun):	gtk+2 >= 2.10.0
 Requires:	%{name}-libs = %{version}-%{release}
+Requires(post,postun):	gtk+2 >= 2:2.10.0
 Requires:	hal >= 0.5.7
-Requires:	hicolor-icon-theme
-Requires:	libexo >= 0.3.1.8
+Requires(post,postun):	hicolor-icon-theme
+Requires:	libexo >= 0.3.1.10
 Requires:	shared-mime-info >= 0.15
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -92,7 +93,6 @@
 %setup -qn %{name}-%{version}%{_pre}
 
 %build
-LDFLAGS="%{rpmldflags} -Wl,--as-needed"
 %configure \
 	%{?with_static_libs:--enable-static}
 
@@ -112,10 +112,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 %post
-gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
+%update_icon_cache hicolor
 
 %postun
-gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
+%update_icon_cache hicolor
 
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
@@ -128,22 +128,26 @@
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/Thunar/*.xml
 %attr(755,root,root) %{_libdir}/ThunarBulkRename
 %attr(755,root,root) %{_libdir}/ThunarHelp
-%attr(755,root,root) %{_libdir}/thunar-vfs-mime-cleaner-1
+%attr(755,root,root) %{_libdir}/thunar-vfs-*
 %attr(755,root,root) %{_libdir}/thunar-sendto-email
 %dir %{_libdir}/thunarx-1
 %attr(755,root,root) %{_libdir}/thunarx-1/*.so
+%attr(755,root,root) %{_libdir}/xfce4/panel-plugins/thunar-tpa
 
 %{_datadir}/Thunar
+%{_datadir}/xfce4/panel-plugins/*.desktop
 %{_datadir}/dbus-1/services/*.service
 %{_desktopdir}/*.desktop
 %{_iconsdir}/hicolor/*/*/*
 %{_pixmapsdir}/Thunar
+%{_mandir}/man1/Thunar*
 
 %dir %{_docdir}/Thunar
 # move it to proper place
 %{_docdir}/Thunar/README*
 
 %dir %{_docdir}/Thunar/html
+%{_docdir}/Thunar/*.txt
 %{_docdir}/Thunar/html/C
 %{_docdir}/Thunar/html/*.css
 %lang(es) %{_docdir}/Thunar/html/es
@@ -175,6 +179,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2006/09/04 20:12:49  megabajt
+- up to 0.4.0rc1
+- use rpm macros
+
 Revision 1.7  2006/07/16 17:10:21  freetz
 - 0.3.2beta2, updated: deps and file list, updated icon cache, --as-needed
   support
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/Thunar.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list