]> git.pld-linux.org Git - packages/LAGII.git/blobdiff - LAGII.spec
- now we have svgalib on all supported archs
[packages/LAGII.git] / LAGII.spec
index bd48e7b79c4b4406e6e89bbbbe0115d8c8257603..3a52715af46aff9f8ac33ff1f92ff8baccf841c1 100644 (file)
@@ -1,48 +1,50 @@
-Name:          LAGII
 Summary:       Interprets and runs AGI games
 Summary(pl):   Interpretuje i uruchamia gry AGI
-Version:       0.1.1
-Release:       1
-Group:         Console/Games
+Name:          LAGII
+Version:       0.1.5
+Release:       2
+License:       freely distributable
+Group:         Applications/Games
 Vendor:                XoXus <xoxus@usa.net>
-Copyright:     Freely distributable
-Source:                http://www.zip.com.au/~gsymonds/LAGII/LAGII-0.1.1.tar.gz
+Source0:       http://www.zip.com.au/~gsymonds/LAGII/%{name}-%{version}.tar.bz2
+# Source0-md5: deafc7baed2bad73b6761c376dceff93
 URL:           http://www.zip.com.au/~gsymonds/LAGII/
-Requires:      svgalib
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRequires: svgalib-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-LAGII interprets and runs AGI games under SVGALib. AGI games include most
-of Sierra's classics, including Kings Quest, Space Quest and Police Quest.
-You can also decompile the AGI LOGIC files and see how the game works.
+LAGII interprets and runs AGI games under SVGALib. AGI games include
+most of Sierra's classics, including Kings Quest, Space Quest and
+Police Quest. You can also decompile the AGI LOGIC files and see how
+the game works.
 
 %description -l pl
 LAGII interpretuje i uruchamia gry AGI pod SVGALib. Gry AGI zawieraj±
-wiêkszo¶æ klasycznych gier Sierray w³±czaj±c Kings Quest, Space Quest 
+wiêkszo¶æ klasycznych gier Sierray w³±czaj±c Kings Quest, Space Quest
 i Police Quest. Mo¿esz tak¿e zdekompilowaæ pliki AGI LOGIC i zobaczyæ
 jak dzia³a dana gra.
 
 %prep
-%setup
+%setup -q
 
 %build
-./configure \
-       --prefix=%prefix \
+%configure2_13 \
        --with-no-giflib
-make depend
-make
+%{__make} depend
+%{__make} \
+       CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install src/lagii decomp/decomp $RPM_BUILD_ROOT%{_bindir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%{prefix}/bin/lagii
-%{prefix}/bin/decomp
-
-%doc doc/DRIVER-HOWTO
-%doc doc/FAQ
-%doc doc/README
+%defattr(644,root,root,755)
+%doc doc/{DRIVER-HOWTO,FAQ,README}
+%attr(755,root,root) %{_bindir}/lagii
+%attr(755,root,root) %{_bindir}/decomp
This page took 0.059956 seconds and 4 git commands to generate.