]> git.pld-linux.org Git - packages/54321.git/commitdiff
- some new cool lines added ;) Maybe it builds now? :)
authorzytek <zytek@pld-linux.org>
Sat, 11 May 2002 16:09:35 +0000 (16:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    54321.spec -> 1.2

54321.spec

index 66c4da6df724b74cab88d5bc0ca8c2b43d177558..3a69bbff235217b6283468dde7b09a2ddf8acc87 100644 (file)
@@ -1,12 +1,13 @@
-Summary:       - Preety 3D puzzles for one player.
-Summary(pl):   - £adne trójwymiarowe puzzle dla jednego gracza.
+Summary:       - Preety 3D games for one player.
+Summary(pl):   - £adne trójwymiarowe gry dla jednego gracza.
 Name:          - 54321
-Version:       -
-Release:       -
-License:       - (enter GPL/LGPL/BSD/BSD-like/other license name here)
-Group:         -
-Icon:          -
-Source0:       %{name}-%{version}.tar.gz
+Version:       - 1.0.2001.11.16
+Release:       - 0.1
+License:       - GPL
+Group:         - X11/Applications/Games
+Source0:       http://nklein.com/products/54321/1.0.2001.11.16/54321.tgz
+Source1:       %{name}.desktop
+Patch0:                54321-sdl_include_dir_fix.patch
 URL:           - http://www.nklein.com/products/54321/
 BuildRequires: - SDL-devel
 BuildRequires:  - SDL_image-devel
@@ -16,6 +17,8 @@ Requires:       - libpng
 Requires:      - zlib
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define         _prefix         /usr/X11R6
+
 %description
 54321 is five games in four-, three-, or two-dimensions for one player. 
 54321 takes five classic two-dimensional puzzle games and extends 
@@ -29,27 +32,24 @@ For more information, see the help within the game.
 %patch0 -p1
 
 %build
-%configure2_13
-%{__make}
+%{__make} -f GNUmakefile
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT $RPM_BUILD_ROOT{%{_applnkdir}/Games \
+$RPM_BUILD_ROOT{%{_bindir},%{_datadir}/54321/Release}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+cp -r Release/* $RPM_BUILD_ROOT%{_datadir}/54321/Release
+ln -sf Release/bin/Linux/54321 $RPM_BUILD_ROOT%{_bindir}/54321
 
-gzip -9nf README ChangeLog
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
+#gzip -9nf README 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+#%doc *.gz
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
-
-%files subpackage
-%defattr(644,root,root,755)
-%doc extras/*.gz
-%{_datadir}/%{name}-ext
This page took 0.07707 seconds and 4 git commands to generate.