SPECS: xpad.spec - up to 2.12 - use %update_icon_cache macro

megabajt megabajt at pld-linux.org
Thu Oct 5 19:24:32 CEST 2006


Author: megabajt                     Date: Thu Oct  5 17:24:32 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.12
- use %update_icon_cache macro

---- Files affected:
SPECS:
   xpad.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/xpad.spec
diff -u SPECS/xpad.spec:1.23 SPECS/xpad.spec:1.24
--- SPECS/xpad.spec:1.23	Sat Mar 18 18:39:45 2006
+++ SPECS/xpad.spec	Thu Oct  5 19:24:27 2006
@@ -2,12 +2,12 @@
 Summary:	Virtual sticky pad system
 Summary(pl):	Program do umieszczania na pulpicie "karteczek z notatkami"
 Name:		xpad
-Version:	2.11
+Version:	2.12
 Release:	1
 License:	GPL v2
 Group:		X11/Applications
 Source0:	http://dl.sourceforge.net/xpad/%{name}-%{version}.tar.bz2
-# Source0-md5:	f06f6f2017d2dc944eb187e5232c64c6
+# Source0-md5:	2d469030c818ca03811ae0827073b59e
 Patch0:		%{name}-desktop.patch
 URL:		http://xpad.sourceforge.net/
 BuildRequires:	autoconf >= 2.50
@@ -17,7 +17,9 @@
 BuildRequires:	intltool
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.311
 BuildRequires:	xorg-lib-libSM-devel
+Requires(post,postun):	hicolor-icon-theme
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -50,6 +52,12 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README THANKS TODO
@@ -65,6 +73,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2006/10/05 17:24:27  megabajt
+- up to 2.12
+- use %update_icon_cache macro
+
 Revision 1.23  2006/03/18 17:39:45  megabajt
 - modular xorg deps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xpad.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list