]> git.pld-linux.org Git - packages/asciijump.git/blobdiff - asciijump.spec
- dropped bogus BR: conflib-devel
[packages/asciijump.git] / asciijump.spec
index 0b6078b5c2c9af1c0861d5deac57d628ab9b54fe..74b424e250d9f7d833dc3b21dff35d6945ac5a41 100644 (file)
@@ -1,36 +1,40 @@
-# $Id: asciijump.spec,v 1.2 2003-03-02 00:25:01 gotar Exp $
+%define                _ver    1.0.2beta
 Summary:       (a)sci(i)jump game
-Summary(pl):   Skoki narciarskie w ascii
+Summary(pl.UTF-8):     Skoki narciarskie w ascii
 Name:          asciijump
-Version:       0.0.2
-Release:       2
+Version:       1.0.2
+Release:       0.beta.4
 License:       GPL
 Group:         Applications/Games
 Vendor:                Grzegorz Moskal <g.moskal@opengroup.org>
-Source0:       http://otak.k-k.pl/asciijump/%{name}-%{version}.tar.gz
+Source0:       http://otak.k-k.pl/asciijump/tgz/%{name}-%{_ver}.tar.gz
+# Source0-md5: 199228bbfb4a16914913fe594b775a6d
+Patch0:                %{name}-desktop.patch
 URL:           http://asciijump.prv.pl/
-BuildRequires: conflib-devel
-BuildRequires: slang-devel
+BuildRequires: autoconf
+BuildRequires: ctags
+BuildRequires: slang-devel >= 2.0.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Ski jumping in text mode.
 
-%description -l pl
+%description -l pl.UTF-8
 Skoki narciarskie w trybie tekstowym.
 
 %prep
-%setup -q
+%setup -q -n asciijump-%{_ver}
+%patch0 -p1
 
 %build
+%{__autoconf}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
-
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -38,7 +42,10 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README README-pl
-%attr(755,root,root) %{_bindir}/asciijump
+%attr(2755,root,games) %{_bindir}/asciijump
+%attr(2755,root,games) %{_bindir}/aj-server
+%attr(775,root,games) %{_var}/games/asciijump
 %{_datadir}/asciijump
-%{_applnkdir}/Games/Arcade/asciijump.desktop
+%{_mandir}/man6/asciijump.6*
+%{_desktopdir}/asciijump.desktop
 %{_pixmapsdir}/asciijump.png
This page took 0.045924 seconds and 4 git commands to generate.