This commit is contained in:
Christopher Meng 2015-08-27 10:40:23 +08:00
parent ab9aa13197
commit 908fbe8806
1 changed files with 18 additions and 12 deletions

View File

@ -3,7 +3,7 @@
Name: yapet Name: yapet
Version: 1.0 Version: 1.0
Release: 5%{?pre}%{?dist} Release: 5%{?pre}%{?dist}
Summary: Curses based password encryption tool Summary: Yet Another Password Encryption Tool
License: GPLv3+ with exceptions License: GPLv3+ with exceptions
URL: http://www.guengel.ch/myapps/%{name}/ URL: http://www.guengel.ch/myapps/%{name}/
Source0: http://www.guengel.ch/myapps/%{name}/downloads/%{name}-%{version}%{?pre}.tar.bz2 Source0: http://www.guengel.ch/myapps/%{name}/downloads/%{name}-%{version}%{?pre}.tar.bz2
@ -27,28 +27,34 @@ do
done done
%build %build
%configure --enable-terminal-title \ %configure --disable-install-doc \
--enable-csv2yapet \ --disable-source-doc \
--enable-pwgen \ --disable-install-doci \
--disable-build-doc \
--disable-source-doc \
--disable-install-doci \
--disable-silent-rules --disable-silent-rules
%make_build CXXFLAGS+="%{optflags}" CFLAGS+="%{optflags}" %make_build
%install %install
%make_install %make_install
# Console running is Ok. # Console running is OK.
rm -frv %{buildroot}%{_datadir}/applications/ rm -frv %{buildroot}%{_datadir}/applications/
# %%doc instead.
rm -frv %{buildroot}%{_docdir}
%find_lang %{name} %find_lang %{name}
%find_lang libyacurs %find_lang libyacurs
%check
# RNG tests need /dev/urandom OR /dev/random!
# Failed at messagebox1. Digging.
#make check
%files -f %{name}.lang -f libyacurs.lang %files -f %{name}.lang -f libyacurs.lang
%doc AUTHORS COPYING DESIGN LICENSE NEWS README THANKS TODO %doc AUTHORS DESIGN NEWS README THANKS TODO
%{_bindir}/* %license COPYING LICENSE
%{_mandir}/man*/*%{name}* %{_bindir}/*yapet*
%{_mandir}/man*/*yapet*
%changelog %changelog
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5 * Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5