rpms/devhelp/devel devhelp.spec,1.43,1.44

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Sat Jul 29 14:53:51 UTC 2006


Author: mclasen

Update of /cvs/dist/rpms/devhelp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv2802

Modified Files:
	devhelp.spec 
Log Message:
fix file lists



Index: devhelp.spec
===================================================================
RCS file: /cvs/dist/rpms/devhelp/devel/devhelp.spec,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- devhelp.spec	29 Jul 2006 14:43:41 -0000	1.43
+++ devhelp.spec	29 Jul 2006 14:53:48 -0000	1.44
@@ -65,6 +65,8 @@
 find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
 find ${RPM_BUILD_ROOT} -type f -name "*.a" -exec rm -f {} ';'
 
+rm $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
+
 %find_lang %name
 
 %clean
@@ -72,10 +74,17 @@
 
 %post
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-SCHEMAS="devhelp.schemas"
-for S in $SCHEMAS; do
-  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
-done
+gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/devhelp.schemas > /dev/null
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x /usr/bin/gtk-update-icon-cache ]; then
+  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
+fi
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x /usr/bin/gtk-update-icon-cache ]; then
+  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
+fi
 
 %files -f %{name}.lang
 %defattr(-, root, root)
@@ -87,6 +96,9 @@
 %{_datadir}/applications/*.desktop
 %{_datadir}/devhelp
 %{_sysconfdir}/gconf/schemas/*.schemas
+%{_libdir}/gedit-2/plugins/devhelp
+%{_datadir}/icons/hicolor/48x48/apps/devhelp.png
+%{_datadir}/icons/hicolor/scalable/apps/devhelp.svg
 
 %files devel
 %defattr(-,root,root)




More information about the fedora-cvs-commits mailing list