From cb13556428c6c56f70c7e5e6bc46dc57487bb636 Mon Sep 17 00:00:00 2001 From: djrzulf Date: Fri, 4 Apr 2003 23:24:02 +0000 Subject: [PATCH] =?utf8?q?-=20From:=20=C5=81ukasz=20Jerna=C5=9B=20:=20=20=20-=20updated=20to=201.2.1,=20=20=20-=20fix?= =?utf8?q?ed=20%%install=20and=20%%files,?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Changed files: OilWar.spec -> 1.5 --- OilWar.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/OilWar.spec b/OilWar.spec index 45fcc6b..a403077 100644 --- a/OilWar.spec +++ b/OilWar.spec @@ -1,15 +1,14 @@ Summary: Very simple mouse shooting game Summary(pl): Bardzo prosta strzelanka Name: OilWar -Version: 1.1.0 -Release: 2 +Version: 1.2.1 +Release: 1 License: GPL v2 Group: X11/Applications/Games Source0: http://www.2ndpoint.fi/projektit/filut/%{name}-%{version}.tar.gz Source1: %{name}.png Source2: %{name}.desktop Patch0: %{name}-am_remove_install-data-local.patch -Patch1: %{name}-FHS.patch URL: http://www.2ndpoint.fi/projektit/oilwar.html BuildRequires: autoconf BuildRequires: automake @@ -32,7 +31,6 @@ chroni %prep %setup -q %patch0 -p1 -%patch1 -p1 %build rm -f missing @@ -45,12 +43,12 @@ CXXFLAGS="%{rpmcflags} -fno-rtti" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Arcade,%{_pixmapsdir}} +install -d $RPM_BUILD_ROOT{%{_datadir}/applications,%{_pixmapsdir}} %{__make} install DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir} -install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade +install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/applications %clean rm -rf $RPM_BUILD_ROOT @@ -60,6 +58,6 @@ rm -rf $RPM_BUILD_ROOT %doc ChangeLog README AUTHORS %attr(2755,root,games) %{_bindir}/* %{_datadir}/games/oilwar -%{_applnkdir}/Games/Arcade/*.desktop +%{_datadir}/applications/*.desktop %{_pixmapsdir}/*.png %attr(664,root,games) %verify(not size mtime md5) %{_localstatedir}/games/*.scores -- 2.43.0