rpms/kdevelop/devel kdevelop.spec,1.93,1.94

Rex Dieter rdieter at fedoraproject.org
Fri Jan 8 02:44:26 UTC 2010


Author: rdieter

Update of /cvs/pkgs/rpms/kdevelop/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10127

Modified Files:
	kdevelop.spec 
Log Message:
new icons



Index: kdevelop.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdevelop/devel/kdevelop.spec,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -p -r1.93 -r1.94
--- kdevelop.spec	8 Jan 2010 01:21:30 -0000	1.93
+++ kdevelop.spec	8 Jan 2010 02:44:25 -0000	1.94
@@ -93,6 +93,18 @@ rm -f %{buildroot}/%{_kde4_datadir}/kde4
 %clean
 rm -rf %{buildroot}
 
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+fi
+
+%posttrans
+update-desktop-database -q &> /dev/null
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
 
 %post libs -p /sbin/ldconfig
 
@@ -103,10 +115,11 @@ rm -rf %{buildroot}
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING COPYING.DOC COPYING.LIB ChangeLog TODO NEWS
 %{_kde4_bindir}/kdevelop
-%{_kde4_datadir}/config/kdeveloprc
-%{_kde4_datadir}/kde4/apps/*
+%{_kde4_configdir}/kdeveloprc
+%{_kde4_appsdir}/*
 %{_kde4_datadir}/kde4/services/*
 %{_kde4_datadir}/applications/kde4/kdevelop.desktop
+%{_kde4_iconsdir}/hicolor/*/*/*
 
 %files libs
 %defattr(-,root,root,-)




More information about the fedora-extras-commits mailing list