]> git.pld-linux.org Git - packages/asciijump.git/blobdiff - asciijump.spec
- dropped bogus BR: conflib-devel
[packages/asciijump.git] / asciijump.spec
index 29a8712073a24d7400b5162d5754ad8cfc51931e..74b424e250d9f7d833dc3b21dff35d6945ac5a41 100644 (file)
@@ -1,29 +1,30 @@
-# $Id: asciijump.spec,v 1.15 2003-08-18 08:07:55 gotar Exp $
-%define _ver   1.0.1beta
+%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:       1.0.1
-Release:       0.beta
+Version:       1.0.2
+Release:       0.beta.4
 License:       GPL
 Group:         Applications/Games
 Vendor:                Grzegorz Moskal <g.moskal@opengroup.org>
-# Source0-md5: d566ac2b38c03d4cf726e49e5fe7eb21
 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: autoconf
 BuildRequires: ctags
-BuildRequires: slang-devel
+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 -n asciijump-%{_ver}
+%patch0 -p1
 
 %build
 %{__autoconf}
@@ -32,14 +33,6 @@ Skoki narciarskie w trybie tekstowym.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/var/games/asciijump
-# get rid of those subversion related directories
-# FixMe: replace with find?
-# find . -type d -name '\.svn' -exec rm -rf {} \;
-rm -rf hills/.svn gfx/.svn
-for i in gfx/*; do
-       rm -rf $i/.svn
-done
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
@@ -49,10 +42,10 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README README-pl
-%attr(2750,root,games) %{_bindir}/asciijump
-%attr(2750,root,games) %{_bindir}/aj-server
+%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*
-%{_applnkdir}/Games/Arcade/asciijump.desktop
+%{_desktopdir}/asciijump.desktop
 %{_pixmapsdir}/asciijump.png
This page took 0.072162 seconds and 4 git commands to generate.