diff --git a/.gitignore b/.gitignore index 543c6b7..34ee9ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /nsnake-1.7.tar.gz +/nsnake-2.0.0.tar.gz diff --git a/nsnake.spec b/nsnake.spec index 7ad7987..53c141a 100644 --- a/nsnake.spec +++ b/nsnake.spec @@ -1,12 +1,11 @@ Name: nsnake -Version: 1.7 -Release: 3%{?dist} +Version: 2.0.0 +Release: 1%{?dist} Summary: Classic snake game on console -URL: http://www.alexdantas.net/projects/nsnake/ +URL: http://nsnake.alexdantas.net/ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz -Source1: %{name}.6 +#Source1: %{name}.6 License: GPLv3+ -BuildRequires: dos2unix BuildRequires: doxygen BuildRequires: ncurses-devel @@ -16,28 +15,25 @@ It is playable at command-line and uses the nCurses C library for graphics. %prep %setup -q -find . -type f -exec dos2unix {} \; -cp -p %{S:1} doc/man/%{name}.6 -gzip doc/man/%{name}.6 %build make CFLAGS="%{optflags}" %{?_smp_mflags} make doc %install -install -p -D -m 755 bin/%{name} %{buildroot}%{_bindir}/%{name} -install -d %{buildroot}%{_mandir}/man6 -install -p -D -m 644 doc/man/%{name}.6.gz %{buildroot}%{_mandir}/man6/%{name}.6.gz +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 -%attr(-, -, -)%{_bindir}/%{name} -%{_mandir}/man6/%{name}.6* +%{_bindir}/%{name} %changelog +* Sat Mar 08 2014 Christopher Meng - 2.0.0-1 +- Update to 2.0.0 + * Tue Jul 30 2013 Christopher Meng - 1.7-3 - Move to unversioned docdir. diff --git a/sources b/sources index 6e84b0d..c1ce8bc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -87fbfc83f7a96607a420c95268b8f425 nsnake-1.7.tar.gz +afd01f6ae2774f8921135c8236524e38 nsnake-2.0.0.tar.gz