diff --git a/.cvsignore b/.cvsignore index e69de29..1f34b86 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gwenhywfar-1.7.2.tar.gz diff --git a/gwenhywfar.spec b/gwenhywfar.spec new file mode 100644 index 0000000..12b8476 --- /dev/null +++ b/gwenhywfar.spec @@ -0,0 +1,69 @@ +Summary: A multi-platform helper library for other libraries +Name: gwenhywfar +Version: 1.7.2 +Release: 1 +Source: http://download.sourceforge.net/gwenhywfar/%{name}-%{version}.tar.gz +Group: System Environment/Libraries +License: LGPL +URL: http://sourceforge.net/projects/gwenhywfar +BuildRoot: %{_tmppath}/%{name}-%{version}-root +BuildRequires: openssl-devel ncurses-devel gettext +Prereq: /sbin/ldconfig + +%description +This is Gwenhywfar, a multi-platform helper library for networking and +security applications and libraries. It is heavily used by libchipcard +www.libchipcard.de and AqBanking/AqHBCI, the German online banking +libraries. + +%package devel +Summary: Gwenhywfar development kit +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +%description devel +This package contains gwenhywfar-config and header files for writing and +compiling programs using Gwenhywfar. + + +%prep +%setup -q + +%build +%configure --disable-static +make + +%install +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install + +find $RPM_BUILD_ROOT -name *.la -exec rm -f {} \; + +%clean +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc AUTHORS README COPYING ChangeLog +%{_libdir}/*.so.* +%{_libdir}/%{name} +%{_datadir}/locale/*/LC_MESSAGES/gwenhywfar.mo + +%files devel +%defattr(-,root,root) +%{_bindir}/gwenhywfar-config +%{_bindir}/xmlmerge +%{_bindir}/dlgtest +%{_bindir}/mklistdoc +%{_bindir}/typemaker +%{_includedir}/gwenhywfar +%{_includedir}/gwenpp +%{_libdir}/*.so +%{_datadir}/aclocal/gwenhywfar.m4 + +%changelog +* Wed Feb 9 2005 Bill Nottingham 1.7.2-1 +- initial packaging, adopt upstream package diff --git a/sources b/sources index e69de29..23d3176 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +58cb6053041898684da2edfab51a23f1 gwenhywfar-1.7.2.tar.gz