nsnake/nsnake.spec

54 lines
1.4 KiB
RPMSpec

Name: nsnake
Version: 2.0.0
Release: 1%{?dist}
Summary: Classic snake game on console
URL: http://nsnake.alexdantas.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
#Source1: %{name}.6
License: GPLv3+
BuildRequires: doxygen
BuildRequires: ncurses-devel
%description
nSnake is a implementation of the classic snake game with textual interface.
It is playable at command-line and uses the nCurses C library for graphics.
%prep
%setup -q
%build
make CFLAGS="%{optflags}" %{?_smp_mflags}
make doc
%install
install -pDm755 bin/%{name} %{buildroot}%{_bindir}/%{name}
mkdir -p %{buildroot}%{_pkgdocdir}
cp -pr doc/html/ %{buildroot}%{_pkgdocdir}
cp -pr doc/logo.png %{buildroot}%{_pkgdocdir}
%files
%doc BUGS ChangeLog COPYING README TODO
%{_bindir}/%{name}
%changelog
* Sat Mar 08 2014 Christopher Meng <rpm@cicku.me> - 2.0.0-1
- Update to 2.0.0
* Tue Jul 30 2013 Christopher Meng <rpm@cicku.me> - 1.7-3
- Move to unversioned docdir.
* Wed May 15 2013 Christopher Meng <rpm@cicku.me> - 1.7-2
- Fix upstream messup.
* Wed May 15 2013 Christopher Meng <rpm@cicku.me> - 1.7-1
- New verson with manpages fix.
* Tue May 14 2013 Christopher Meng <rpm@cicku.me> - 1.5-3
- Fix debuginfo.
* Sun May 12 2013 Christopher Meng <rpm@cicku.me> - 1.5-2
- Some fixes.
* Sat Apr 20 2013 Christopher Meng <rpm@cicku.me> - 1.5-1
- Initial Package.