Author: thias
Update of /cvs/extras/rpms/lmarbles/devel
In directory cvs.fedora.redhat.com:/tmp/cvs-serv25795
Modified Files:
.cvsignore lmarbles.spec sources
Log Message:
Update.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/lmarbles/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore 9 Nov 2004 02:47:45 -0000 1.2
+++ .cvsignore 31 Jan 2005 17:41:22 -0000 1.3
@@ -1 +1 @@
-lmarbles-1.0.6.tar.gz
+lmarbles-1.0.7.tar.gz
Index: lmarbles.spec
===================================================================
RCS file: /cvs/extras/rpms/lmarbles/devel/lmarbles.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- lmarbles.spec 16 Nov 2004 17:57:17 -0000 1.4
+++ lmarbles.spec 31 Jan 2005 17:41:22 -0000 1.5
@@ -1,12 +1,10 @@
-# $Id$
-
Summary: Atomix clone where you create figures out of marbles
Name: lmarbles
-Version: 1.0.6
-Release: 4
+Version: 1.0.7
+Release: 1
License: GPL
Group: Amusements/Games
-URL:
http://www.lgames.org/
+URL:
http://lgames.sourceforge.net/
Source:
http://dl.sf.net/lgames/lmarbles-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: SDL >= 1.1.4, SDL_mixer
@@ -28,23 +26,23 @@
%build
-%configure
+%configure --localstatedir=%{_var}/lib/games
%{__make} %{?_smp_mflags}
# Having it as png seems more consistent
-convert lmarbles48.gif %{name}.png
+convert lmarbles48.gif lmarbles.png
%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}
-%{__install} -D %{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
+%{__install} -D lmarbles.png %{buildroot}%{_datadir}/pixmaps/lmarbles.png
%{__cat} > %{name}.desktop << EOF
[Desktop Entry]
Name=LMarbles
Comment=Atomix clone where you create figures out of marbles
-Exec=%{name}
-Icon=%{name}.png
+Exec=lmarbles
+Icon=lmarbles.png
Terminal=false
Type=Application
Categories=Application;Game;
@@ -61,20 +59,27 @@
%{__rm} -rf %{buildroot}
+%post
+update-desktop-database %{_datadir}/applications &>/dev/null || :
+
+%postun
+update-desktop-database %{_datadir}/applications &>/dev/null || :
+
+
%files
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING ChangeLog README TODO
-%attr(2551, root, games) %{_bindir}/%{name}
-%{_datadir}/applications/fedora-%{name}.desktop
-%{_datadir}/games/%{name}/
-%{_datadir}/pixmaps/%{name}.png
-%{_mandir}/man6/%{name}*
-%config(noreplace) %attr(664, games, games) %{_var}/lib/games/marbles.prfs
+%attr(2551, root, games) %{_bindir}/lmarbles
+%{_datadir}/applications/fedora-lmarbles.desktop
+%{_datadir}/lmarbles/
+%{_datadir}/pixmaps/lmarbles.png
+%{_mandir}/man6/lmarbles.6*
+%config(noreplace) %attr(664, games, games) %{_var}/lib/games/lmarbles.prfs
%changelog
-* Tue Nov 16 2004 Matthias Saou <
http://freshrpms.net/> 1.0.6-4
-- Bump release to provide Extras upgrade path.
+* Wed Jan 26 2005 Matthias Saou <
http://freshrpms.net/> 1.0.7-1
+- Update to 1.0.7.
* Wed May 19 2004 Matthias Saou <
http://freshrpms.net/> 1.0.6-3
- Rebuild for Fedora Core 2.
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/lmarbles/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 9 Nov 2004 02:47:45 -0000 1.2
+++ sources 31 Jan 2005 17:41:22 -0000 1.3
@@ -1 +1 @@
-ad162da8fa298cac680e13c02fea258c lmarbles-1.0.6.tar.gz
+b29156bc5021877d080e5e268012f4ec lmarbles-1.0.7.tar.gz