]> git.pld-linux.org Git - packages/dopewars.git/commitdiff
- _applnkdir -> _desktopdir
authorgrzegol <grzegol@pld-linux.org>
Wed, 10 Dec 2003 15:35:44 +0000 (15:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added desktop patch (add pl, Categories and vi-line to .desktop file)
- rel. 2

Changed files:
    dopewars.spec -> 1.9

dopewars.spec

index addb579960312f19aad11f3d4cc9d9f933662e4d..773cbf6f0d6cd6f3984674a1e678e6e8b320d5b9 100644 (file)
@@ -11,11 +11,12 @@ Summary:    Drug dealing game
 Summary(pl):   Gra polegajĀ±ca na handlowaniu narkotykami
 Name:          dopewars
 Version:       1.5.9
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/Games
 Source0:       http://dl.sourceforge.net/dopewars/%{name}-%{version}.tar.gz
 # Source0-md5: 77cdbc59e7550cfda7dfb7f6b7a01050
+Patch0:                %{name}-desktop.patch
 URL:           http://dopewars.sourceforge.net/
 %{!?_without_sdl:BuildRequires:        SDL-devel >= 1.0.0}
 %{!?_without_sdl:BuildRequires:        SDL_mixer-devel}
@@ -56,6 +57,7 @@ polece
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 rm -f missing
@@ -75,13 +77,13 @@ rm -f missing
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Games
+install -d $RPM_BUILD_ROOT%{_desktopdir}
 
 %{__make} install \
        DESTDIR=${RPM_BUILD_ROOT}
 
 # I think this could be done somehow prettier
-mv $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Games/dopewars.desktop $RPM_BUILD_ROOT%{_applnkdir}/Games
+mv $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Games/dopewars.desktop $RPM_BUILD_ROOT%{_desktopdir}
 
 rm -f doc/help/Makefile*
 
@@ -100,6 +102,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0660,root,games) %config(noreplace) %verify(not size mtime md5) %{_datadir}/dopewars.sco
 %{_mandir}/man6/*
 %{_libdir}/%{name}
-%{_applnkdir}/Games/*
+%{_desktopdir}/*
 %{_pixmapsdir}/*
 %{_datadir}/%{name}
This page took 0.104221 seconds and 4 git commands to generate.