From e6f6d083143798e6e37bea6779dbfc2801e5d7ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sat, 10 Mar 2001 09:46:16 +0000 Subject: [PATCH] new; great network game Changed files: netris.spec -> 1.1 --- netris.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 netris.spec diff --git a/netris.spec b/netris.spec new file mode 100644 index 0000000..7c8b45e --- /dev/null +++ b/netris.spec @@ -0,0 +1,47 @@ +Summary: A free networked version of T*tris +Summary(pl): Darmowa, sieciowa wersja T*trisa +Name: netris +Version: 0.5 +Release: 1 +URL: http://www.netris.org/ +License: GPL +Group: Applications/Games +Group(de): Applikationen/Spiele +Group(pl): Aplikacje/Gry +Source0: ftp://ftp.netris.org/pub/netris/%{name}-%{version}.tar.gz +Patch0: %{name}-make.patch +BuildRequires: ncurses-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +A free networked version of T*tris + +%description -l pl +Darmowa, sieciowa wersja T*trisa + +%prep +%setup -q +%patch0 -p1 + +%build +./Configure \ + --copt "%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" +%{__make} + + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_bindir} + +install netris $RPM_BUILD_ROOT%{_bindir} +install sr $RPM_BUILD_ROOT%{_bindir} + +gzip -9nf README FAQ *_desc + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* +%doc *.gz -- 2.44.0