Compare commits

...

4 Commits
master ... f12

Author SHA1 Message Date
Fedora Release Engineering c1d7bc0c94 dist-git conversion 2010-07-29 16:19:13 +00:00
Bill Nottingham b64d00f715 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:12:16 +00:00
cassmodiah 9a0b3c8099 initial release 2009-10-13 17:24:01 +00:00
Kevin Fenzi 01c19335ae Initialize branch F-12 for yapet 2009-10-13 16:22:57 +00:00
6 changed files with 86 additions and 21 deletions

View File

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
yapet-0.6.tar.gz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: yapet
# $Id$
NAME := yapet
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -0,0 +1 @@
30ee2bf2d4658e667b8eea4a62704b76 yapet-0.6.tar.gz

71
yapet.spec Normal file
View File

@ -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 <cassmdodiah@fedoraproject.org> - 0.6-2
- Correct License and patch integration
- Add LICENSE to DOC
* Sun Oct 12 2009 Simon Wesp <cassmdodiah@fedoraproject.org> - 0.6-1
- Initial Package build

13
yapet_gcc44-0.6.diff Normal file
View File

@ -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 <fcntl.h>
#endif
+#ifdef HAVE_STDIO_H
+# include <stdio.h>
+#endif
+
#ifdef HAVE_STDLIB_H
# include <stdlib.h>
#endif