Author: megabajt                     Date: Sat Mar 17 14:29:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added desktop patch
- run %update_icon_cache in %post{,un}

---- Files affected:
SPECS:
   beryl-manager.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/beryl-manager.spec
diff -u SPECS/beryl-manager.spec:1.22 SPECS/beryl-manager.spec:1.23
--- SPECS/beryl-manager.spec:1.22       Fri Mar 16 18:27:47 2007
+++ SPECS/beryl-manager.spec    Sat Mar 17 15:29:51 2007
@@ -9,12 +9,16 @@
 Group:         X11/Window Managers/Tools
 Source0:       
http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2
 # Source0-md5: 5bd0fb5786b6d79d6ebe87c14ba668c9
+Patch0:                %{name}-desktop.patch
 URL:           http://beryl-project.org/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake >= 1:1.9
 BuildRequires: gtk+2-devel >= 2:2.8.0
 BuildRequires: intltool >= 0.35.0
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.311
+Requires(post,postun): gtk+2
+Requires(post,postun): hicolor-icon-theme
 Requires:      beryl-core >= 1:%{version}
 Obsoletes:     compiz-manager
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -27,6 +31,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 mv -f po/{ar_AR,ar}.po
 mv -f po/{de_DE,de}.po
 mv -f po/{es_ES,es}.po
@@ -71,7 +76,7 @@
 EOF
 
 %build
-%{__glib_gettextize} --copy --force
+%{__glib_gettextize}
 %{__intltoolize}
 %{__aclocal}
 %{__autoconf}
@@ -92,11 +97,17 @@
 %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)
 %attr(755,root,root) %{_bindir}/*
 %{_desktopdir}/beryl-manager.desktop
-%{_iconsdir}/*/*/*/beryl-manager.*
+%{_iconsdir}/hicolor/*/*/beryl-manager.*
 %{_pixmapsdir}/*.png
 %{_mandir}/man1/*.1*
 
@@ -106,6 +117,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2007/03/17 14:29:51  megabajt
+- added desktop patch
+- run %update_icon_cache in %post{,un}
+
 Revision 1.22  2007/03/16 17:27:47  rotom
 - "my" lang removed
 
================================================================

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

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to