65 lines
1.9 KiB
RPMSpec
65 lines
1.9 KiB
RPMSpec
Name: nsnake
|
|
Version: 2.0.5
|
|
Release: 2%{?dist}
|
|
Summary: The classic snake game with textual interface
|
|
URL: http://nsnake.alexdantas.net/
|
|
Source0: https://github.com/alexdantas/nSnake/archive/v%{version}.tar.gz#/nSnake-%{version}.tar.gz
|
|
# Half finished patch, ONLY works.
|
|
Patch0: https://github.com/cicku/nSnake/commit/df8e8e39d9de33be6ff725a53ab74a69129ce57c.patch
|
|
License: GPLv3+
|
|
BuildRequires: doxygen
|
|
BuildRequires: graphviz
|
|
BuildRequires: iniparser-devel
|
|
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 -qn nSnake-%{version}
|
|
%patch0 -p1
|
|
|
|
%build
|
|
make CFLAGS_PLATFORM="%{optflags}" LDFLAGS_PLATFORM="%{?__global_ldflags}" V=1 %{?_smp_mflags}
|
|
make doc
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%doc AUTHORS BUGS ChangeLog COPYING README.md TODO
|
|
%{_bindir}/%{name}
|
|
%{_mandir}/man6/nsnake.6*
|
|
|
|
%changelog
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Wed Jun 11 2014 Christopher Meng <rpm@cicku.me> - 2.0.5-1
|
|
- Update to 2.0.5
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* 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.
|