From 495234d3c069bac409188c442389ba2278f42956 Mon Sep 17 00:00:00 2001 From: cassmodiah Date: Tue, 13 Oct 2009 17:22:58 +0000 Subject: [PATCH] initial release --- .cvsignore | 1 + import.log | 1 + sources | 1 + yapet.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++ yapet_gcc44-0.6.diff | 13 ++++++++ 5 files changed, 87 insertions(+) create mode 100644 import.log create mode 100644 yapet.spec create mode 100644 yapet_gcc44-0.6.diff diff --git a/.cvsignore b/.cvsignore index e69de29..dbd2235 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +yapet-0.6.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..210ff44 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +yapet-0_6-2_fc11:HEAD:yapet-0.6-2.fc11.src.rpm:1255454524 diff --git a/sources b/sources index e69de29..27c9ddd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +30ee2bf2d4658e667b8eea4a62704b76 yapet-0.6.tar.gz diff --git a/yapet.spec b/yapet.spec new file mode 100644 index 0000000..0fc7a0f --- /dev/null +++ b/yapet.spec @@ -0,0 +1,71 @@ +Name: yapet +Version: 0.6 +Release: 2%{?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 +# patch from: http://bugs.guengel.ch/show_bug.cgi?id=26 +Patch0: %{name}_gcc44-0.6.diff + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: openssl-devel +BuildRequires: ncurses-devel +BuildRequires: gettext + + +%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 + +%if 0%{?fedora} >=11 +%patch0 -p1 +%endif + +for i in README DESIGN +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 +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}" + + +%install +rm -rf %{buildroot} +make install INSTALL="install -p" DESTDIR=%{buildroot} +rm -rf %{buildroot}/%{_datadir}/applications/ +%find_lang %{name} + + +%clean +rm -rf %{buildroot} + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc AUTHORS COPYING DESIGN LICENSE NEWS README THANKS TODO +%{_bindir}/%{name} +%{_bindir}/csv2%{name} +%{_mandir}/man*/*%{name}* + + +%changelog +* Sun 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 +- Initial Package build diff --git a/yapet_gcc44-0.6.diff b/yapet_gcc44-0.6.diff new file mode 100644 index 0000000..5c621b6 --- /dev/null +++ b/yapet_gcc44-0.6.diff @@ -0,0 +1,13 @@ +--- yapet-0.6/yapet/pwgen/rng.cc.orig 2009-09-04 21:54:54.287587639 +0200 ++++ yapet-0.6/yapet/pwgen/rng.cc 2009-09-04 21:55:32.575747627 +0200 +@@ -42,6 +42,10 @@ + # include + #endif + ++#ifdef HAVE_STDIO_H ++# include ++#endif ++ + #ifdef HAVE_STDLIB_H + # include + #endif