Unversioned docdir.
This commit is contained in:
parent
36efb097f8
commit
dec4e5a66e
32
nsnake.spec
32
nsnake.spec
|
@ -1,15 +1,14 @@
|
||||||
Name: nsnake
|
Name: nsnake
|
||||||
Version: 1.7
|
Version: 1.7
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Classic snake game on console
|
Summary: Classic snake game on console
|
||||||
URL: http://www.alexdantas.net/projects/nsnake/
|
URL: http://www.alexdantas.net/projects/nsnake/
|
||||||
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: dos2unix
|
BuildRequires: doxygen
|
||||||
BuildRequires: doxygen
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: ncurses-devel
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
nSnake is a implementation of the classic snake game with textual interface.
|
nSnake is a implementation of the classic snake game with textual interface.
|
||||||
|
@ -29,9 +28,9 @@ make doc
|
||||||
install -p -D -m 755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
install -p -D -m 755 bin/%{name} %{buildroot}%{_bindir}/%{name}
|
||||||
install -d %{buildroot}%{_mandir}/man6
|
install -d %{buildroot}%{_mandir}/man6
|
||||||
install -p -D -m 644 doc/man/%{name}.6.gz %{buildroot}%{_mandir}/man6/%{name}.6.gz
|
install -p -D -m 644 doc/man/%{name}.6.gz %{buildroot}%{_mandir}/man6/%{name}.6.gz
|
||||||
install -d %{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
mkdir -p %{buildroot}%{_pkgdocdir}
|
||||||
cp -pr doc/html/ %{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
cp -pr doc/html/ %{buildroot}%{_pkgdocdir}
|
||||||
cp -pr doc/logo.png %{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
cp -pr doc/logo.png %{buildroot}%{_pkgdocdir}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc BUGS ChangeLog COPYING README TODO
|
%doc BUGS ChangeLog COPYING README TODO
|
||||||
|
@ -39,6 +38,9 @@ cp -pr doc/logo.png %{buildroot}%{_defaultdocdir}/%{name}-%{version}
|
||||||
%{_mandir}/man6/%{name}.6*
|
%{_mandir}/man6/%{name}.6*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Wed May 15 2013 Christopher Meng <rpm@cicku.me> - 1.7-2
|
||||||
- Fix upstream messup.
|
- Fix upstream messup.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue