Update to 3.0.1 (BZ#1120131)

This commit is contained in:
Robin Lee 2016-08-23 11:24:41 +08:00
parent f900e2c1d0
commit 2b481f25b8
3 changed files with 17 additions and 9 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/nsnake-1.7.tar.gz
/nsnake-2.0.0.tar.gz
/nSnake-2.0.5.tar.gz
/nSnake-3.0.1.tar.gz

View File

@ -1,15 +1,14 @@
Name: nsnake
Version: 2.0.5
Release: 5%{?dist}
Version: 3.0.1
Release: 1%{?dist}
Summary: The classic snake game with textual interface
URL: http://nsnake.alexdantas.net/
# the old homepage is down
#URL: http://nsnake.alexdantas.net/
URL: https://github.com/alexdantas/nSnake
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
@ -18,7 +17,7 @@ It is playable at command-line and uses the nCurses C library for graphics.
%prep
%setup -qn nSnake-%{version}
%patch0 -p1
sed -i -r 's/^VERSION =.*/VERSION = %{version}/' Makefile
%build
make CFLAGS_PLATFORM="%{optflags}" LDFLAGS_PLATFORM="%{?__global_ldflags}" V=1 %{?_smp_mflags}
@ -28,11 +27,19 @@ make doc
%make_install
%files
%doc AUTHORS BUGS ChangeLog COPYING README.md TODO
%doc AUTHORS BUGS ChangeLog README.md TODO doc/html
%license COPYING
%{_bindir}/%{name}
%{_mandir}/man6/nsnake.6*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/games/%{name}
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/pixmaps/%{name}.xpm
%changelog
* Tue Aug 23 2016 Robin Lee <cheeselee@fedoraproject.org> - 3.0.1-1
- Update to 3.0.1 (BZ#1120131)
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

View File

@ -1 +1 @@
86b5d7809d41618607d7f56251e2804b nSnake-2.0.5.tar.gz
bb024bdf8f95989b38c4893a99228d34 nSnake-3.0.1.tar.gz