]> git.pld-linux.org Git - packages/asciijump.git/blobdiff - asciijump.spec
- dropped bogus BR: conflib-devel
[packages/asciijump.git] / asciijump.spec
index 78d05baacc5b1782dd22fcb2dcdb9ba88611cce3..74b424e250d9f7d833dc3b21dff35d6945ac5a41 100644 (file)
@@ -1,26 +1,30 @@
-# $Id: asciijump.spec,v 1.7 2003-03-17 15:59:50 adamg 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.6
-Release:       1
+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}
@@ -29,10 +33,8 @@ Skoki narciarskie w trybie tekstowym.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/var/games/asciijump
-
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -40,9 +42,10 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README README-pl
-%attr(2750,root,games) %{_bindir}/asciijump
+%attr(2755,root,games) %{_bindir}/asciijump
+%attr(2755,root,games) %{_bindir}/aj-server
 %attr(775,root,games) %{_var}/games/asciijump
 %{_datadir}/asciijump
-%{_mandir}/man6/asciijump.6.gz
-%{_applnkdir}/Games/Arcade/asciijump.desktop
+%{_mandir}/man6/asciijump.6*
+%{_desktopdir}/asciijump.desktop
 %{_pixmapsdir}/asciijump.png
This page took 0.052239 seconds and 4 git commands to generate.