Update to 2.0.0
This commit is contained in:
parent
dec4e5a66e
commit
97f7b3afea
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/nsnake-1.7.tar.gz
|
/nsnake-1.7.tar.gz
|
||||||
|
/nsnake-2.0.0.tar.gz
|
||||||
|
22
nsnake.spec
22
nsnake.spec
@ -1,12 +1,11 @@
|
|||||||
Name: nsnake
|
Name: nsnake
|
||||||
Version: 1.7
|
Version: 2.0.0
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Classic snake game on console
|
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
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}.6
|
#Source1: %{name}.6
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
BuildRequires: dos2unix
|
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
@ -16,28 +15,25 @@ It is playable at command-line and uses the nCurses C library for graphics.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
find . -type f -exec dos2unix {} \;
|
|
||||||
cp -p %{S:1} doc/man/%{name}.6
|
|
||||||
gzip doc/man/%{name}.6
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make CFLAGS="%{optflags}" %{?_smp_mflags}
|
make CFLAGS="%{optflags}" %{?_smp_mflags}
|
||||||
make doc
|
make doc
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -p -D -m 755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
install -pDm755 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
|
|
||||||
mkdir -p %{buildroot}%{_pkgdocdir}
|
mkdir -p %{buildroot}%{_pkgdocdir}
|
||||||
cp -pr doc/html/ %{buildroot}%{_pkgdocdir}
|
cp -pr doc/html/ %{buildroot}%{_pkgdocdir}
|
||||||
cp -pr doc/logo.png %{buildroot}%{_pkgdocdir}
|
cp -pr doc/logo.png %{buildroot}%{_pkgdocdir}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc BUGS ChangeLog COPYING README TODO
|
%doc BUGS ChangeLog COPYING README TODO
|
||||||
%attr(-, -, -)%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_mandir}/man6/%{name}.6*
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Jul 30 2013 Christopher Meng <rpm@cicku.me> - 1.7-3
|
||||||
- Move to unversioned docdir.
|
- Move to unversioned docdir.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user