rpms/berusky/FC-6 berusky.desktop, NONE, 1.1 berusky.png, NONE, 1.1 berusky.spec, 1.1, 1.2
Martin Stransky (stransky)
fedora-extras-commits at redhat.com
Tue Jun 26 10:08:54 UTC 2007
- Previous message (by thread): rpms/berusky/F-7 berusky.desktop, NONE, 1.1 berusky.png, NONE, 1.1 berusky.spec, 1.1, 1.2
- Next message (by thread): rpms/less/devel less-406-Foption.patch, NONE, 1.1 .cvsignore, 1.8, 1.9 less.spec, 1.38, 1.39 sources, 1.8, 1.9 less-392-Foption.patch, 1.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: stransky
Update of /cvs/pkgs/rpms/berusky/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16291
Modified Files:
berusky.spec
Added Files:
berusky.desktop berusky.png
Log Message:
added a menu entry
--- NEW FILE berusky.desktop ---
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Berusky
Comment=Rescue the bugs!
Exec=berusky
StartupNotify=false
Terminal=false
Type=Application
Icon=berusky.png
Categories=Game;LogicGame;
Index: berusky.spec
===================================================================
RCS file: /cvs/pkgs/rpms/berusky/FC-6/berusky.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- berusky.spec 25 May 2007 12:03:33 -0000 1.1
+++ berusky.spec 26 Jun 2007 10:08:18 -0000 1.2
@@ -1,10 +1,12 @@
Summary: Berusky, 2D logic game
Name: berusky
Version: 1.1
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPL
Group: Amusements/Games
Source: http://www.anakreon.cz/download/berusky/tar.gz/%{name}-%{version}.tar.gz
+Source1: berusky.desktop
+Source2: berusky.png
Patch: berusky-1.1-build.patch
URL: http://www.anakreon.cz/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -44,15 +46,38 @@
rm -rf %{buildroot}/%{_datadir}/%{name}
+# Install icon and desktop file
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
+cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
+
+desktop-file-install --vendor fedora --dir $RPM_BUILD_ROOT%{_datadir}/applications --add-category X-Fedora %{SOURCE1}
+
%clean
rm -rf %{buildroot}
+%post
+touch --no-create %{_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 || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
%files
%defattr(-, root, root)
%doc %{_docdir}/%{name}-%{version}/*
%{_bindir}/berusky
+%{_datadir}/applications/fedora-berusky.desktop
+%{_datadir}/icons/hicolor/32x32/apps/berusky.png
%changelog
+* Thu Jun 26 2007 Martin Stransky <stransky at redhat.com> 1.1-5
+- added a menu entry and an icon
+
* Wed May 23 2007 Martin Stransky <stransky at redhat.com> 1.1-4
- removed spec files from binary rpm package
- Previous message (by thread): rpms/berusky/F-7 berusky.desktop, NONE, 1.1 berusky.png, NONE, 1.1 berusky.spec, 1.1, 1.2
- Next message (by thread): rpms/less/devel less-406-Foption.patch, NONE, 1.1 .cvsignore, 1.8, 1.9 less.spec, 1.38, 1.39 sources, 1.8, 1.9 less-392-Foption.patch, 1.2, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list