rpms/kbilliards/devel kbilliards.spec,1.1,1.2

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Sun Aug 12 09:38:20 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/kbilliards/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10493

Modified Files:
	kbilliards.spec 
Log Message:
* Sun Aug 12 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.8.7b-3
- Update License tag for new Licensing Guidelines compliance
- Add BR bzip2-devel (this no longer gets dragged in by kdelibs-devel)



Index: kbilliards.spec
===================================================================
RCS file: /cvs/extras/rpms/kbilliards/devel/kbilliards.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- kbilliards.spec	23 Feb 2007 13:38:51 -0000	1.1
+++ kbilliards.spec	12 Aug 2007 09:37:48 -0000	1.2
@@ -1,16 +1,16 @@
 Name:           kbilliards
 Version:        0.8.7b
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A Fun Billiards Simulator Game
 Group:          Amusements/Games
-License:        GPL
+License:        GPLv2+
 URL:            http://www.hostnotfound.it/kbilliards.php
 Source:         http://www.hostnotfound.it/%{name}/%{name}-%{version}.tar.bz2
 Patch0:         sqrtl.patch
 Patch1:         %{name}-%{version}-compiler_warnings.patch
 Patch2:         %{name}-destdir.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:  kdelibs-devel desktop-file-utils gettext
+BuildRequires:  kdelibs-devel bzip2-devel desktop-file-utils gettext
 Requires:       hicolor-icon-theme
 
 %description
@@ -47,6 +47,7 @@
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
 desktop-file-install --vendor fedora --delete-original \
   --dir $RPM_BUILD_ROOT%{_datadir}/applications --remove-key=DocPath \
+  --add-category Simulation \
   $RPM_BUILD_ROOT%{_datadir}/applnk/Games/%{name}.desktop
 
 rm -fr $RPM_BUILD_ROOT%{_datadir}/icons/locolor
@@ -58,11 +59,15 @@
 
 %post
 touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
 
 %postun
 touch --no-create %{_datadir}/icons/hicolor || :
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
 
 
 %files -f %{name}.lang
@@ -75,6 +80,10 @@
 
 
 %changelog
+* Sun Aug 12 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.8.7b-3
+- Update License tag for new Licensing Guidelines compliance
+- Add BR bzip2-devel (this no longer gets dragged in by kdelibs-devel)
+
 * Thu Feb 22 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.8.7b-2
 - Install .po files, add a missing doc file (bz 228295)
 




More information about the fedora-extras-commits mailing list