diff --git a/.gitignore b/.gitignore index dbd2235..6903466 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ -yapet-0.6.tar.gz +/yapet-0.6.tar.gz +/yapet-0.7.tar.bz2 +/yapet-0.8pre2.tar.bz2 +/yapet-1.0.tar.bz2 diff --git a/sources b/sources index cd0610c..aea5ca3 100644 --- a/sources +++ b/sources @@ -1,3 +1 @@ -30ee2bf2d4658e667b8eea4a62704b76 yapet-0.6.tar.gz -2d70b470b40b9c662988f4b8f8d4b333 yapet-0.7.tar.bz2 -b48a8f49e2f69b9ba12a5ec668422628 yapet-0.7.tar.gz +a3cf3c274abefdbee15acd74dbdbb1ee yapet-1.0.tar.bz2 diff --git a/yapet.spec b/yapet.spec index df9c155..010bed4 100644 --- a/yapet.spec +++ b/yapet.spec @@ -1,68 +1,64 @@ -Name: yapet -Version: 0.7 -Release: 1%{?dist} -Summary: Curses based password encryption tool - -Group: Applications/Productivity -License: GPLv3+ with exceptions -URL: http://www.guengel.ch/myapps/%{name}/ -Source0: http://www.guengel.ch/myapps/%{name}/downloads/%{name}-%{version}.tar.gz - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: openssl-devel -BuildRequires: ncurses-devel -BuildRequires: gettext +#global pre pre2 +Name: yapet +Version: 1.0 +Release: 1%{?pre}%{?dist} +Summary: Curses based password encryption tool +License: GPLv3+ with exceptions +URL: http://www.guengel.ch/myapps/%{name}/ +Source0: http://www.guengel.ch/myapps/%{name}/downloads/%{name}-%{version}%{?pre}.tar.bz2 +BuildRequires: gettext +BuildRequires: ncurses-devel +BuildRequires: openssl-devel %description YAPET is a text based password manager using the Blowfish encryption algorithm. Because of its small footprint and very few library dependencies, it is suited for installing on desktop and server systems alike. - %prep -%setup -q +%setup -qn %{name}-%{version}%{?pre} -for i in README DESIGN +for f in ./DESIGN ./README do - iconv -f iso-8859-1 -t utf-8 $i |sed 's|\r||g' > $i.utf8 - touch -c -r $i $i.utf8 - mv $i.utf8 $i + iconv -f iso-8859-1 -t utf-8 $f |sed 's|\r||g' > $f.utf8 + touch -c -r $f $f.utf8 + mv $f.utf8 $f done - %build -%configure --enable-terminal-title --enable-csv2yapet --enable-pwgen --disable-build-doc --disable-source-doc --disable-install-doc -make %{?_smp_mflags} CXXFLAGS+="%{optflags}" CFLAGS+="%{optflags}" +%configure --enable-terminal-title \ + --enable-csv2yapet \ + --enable-pwgen \ + --disable-build-doc \ + --disable-source-doc \ + --disable-install-doc +make CXXFLAGS+="%{optflags}" CFLAGS+="%{optflags}" %{?_smp_mflags} %install -rm -rf %{buildroot} -make install INSTALL="install -p" DESTDIR=%{buildroot} -rm -rf %{buildroot}/%{_datadir}/applications/ +make install DESTDIR=%{buildroot} +# Console running is Ok. +rm -frv %{buildroot}%{_datadir}/applications/ + %find_lang %{name} +%find_lang libyacurs - -%clean -rm -rf %{buildroot} - - -%files -f %{name}.lang -%defattr(-,root,root,-) +%files -f %{name}.lang -f libyacurs.lang %doc AUTHORS COPYING DESIGN LICENSE NEWS README THANKS TODO -%{_bindir}/%{name} -%{_bindir}/csv2%{name} +%{_bindir}/* %{_mandir}/man*/*%{name}* - %changelog -* Fri Aug 05 2011 Simon Wesp 0.7-1 -- New Upstream Release +* Thu Feb 27 2014 Christopher Meng - 1.0-1 +- Update to 1.0 -* Sun Oct 12 2009 Simon Wesp - 0.6-2 +* Sun Nov 14 2010 Simon Wesp - 0.7-1 +- New upstream release + +* Mon Oct 12 2009 Simon Wesp - 0.6-2 - Correct License and patch integration - Add LICENSE to DOC - -* Sun Oct 12 2009 Simon Wesp - 0.6-1 + +* Mon Oct 12 2009 Simon Wesp - 0.6-1 - Initial Package build