]> git.pld-linux.org Git - packages/battleships.git/commitdiff
- initial import
authorAdam Gołębiowski <adamg@pld-linux.org>
Thu, 25 Dec 2003 10:46:13 +0000 (10:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    battleships.spec -> 1.1

battleships.spec [new file with mode: 0644]

diff --git a/battleships.spec b/battleships.spec
new file mode 100644 (file)
index 0000000..2465f78
--- /dev/null
@@ -0,0 +1,51 @@
+Summary:       Battleships against the computer (character-cell graphics)
+Summary(pl):   Gra w statki przeciwko komputerowi
+Name:          battleships
+Version:       2.5
+Release:       1
+License:       GPL     
+Group:         Applcations/Games
+Vendor:                Eric S. Raymond <esr@snark.thyrsus.com>
+Source0:       http://www.catb.org/~esr/bs/bs-%{version}.tar.gz
+# Source0-md5: 99ac7fad07623a86d3b3f155e11e72a6
+Patch0:                %{name}-DESTDIR.patch
+URL:           http://www.catb.org/~esr/bs/
+BuildRequires: ncurses-devel
+BuildRequires: xmlto
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The classic game of Battleships against the computer.
+Uses character-cell graphics with a visual point-and-shoot interface.
+
+If you're using an xterm the mouse will work.
+
+%description -l pl
+Klasyczna gra w statki, tym razem przeciwko komputerowi. Posiada
+wizualny interfejs "wska¿ i strzel" (ang. "point and shoot"). 
+
+Je¶li u¿ywasz xterm, mysz nie bêdzie dzia³aæ.
+
+%prep
+%setup -q -n bs-%{version}
+%patch0 -p1
+
+%build
+%{__make} \
+       CFLAGS="-I /usr/include/ncurses"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc READ.ME
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man6/bs.6*
This page took 0.072126 seconds and 4 git commands to generate.