diff --git a/.cvsignore b/.cvsignore index e69de29..6576340 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libgcrypt-1.1.7.tar.gz diff --git a/libgcrypt.spec b/libgcrypt.spec new file mode 100644 index 0000000..5988bdb --- /dev/null +++ b/libgcrypt.spec @@ -0,0 +1,98 @@ +Name: libgcrypt +Version: 1.1.7 +Release: 3 +Source: ftp://ftp.gnupg.org:/pub/gcrypt/alpha/libgcrypt/libgcrypt-%{version}.tar.gz +Patch0: libgcrypt-1.1.7-splint.patch +Patch1: libgcrypt-1.1.7-alpha.patch +License: LGPL +Summary: A general-purpose cryptography library. +BuildRoot: %{_tmppath}/%{name}-%{version}-root +Group: System Environment/Libraries + +%package devel +Summary: Development files for the %{name} package. +Group: Development/Libraries +PreReq: /sbin/install-info +Requires: %{name} = %{version}-%{release} + +%description +Libgcrypt is a general purpose crypto library based on the code used +in GNU Privacy Guard. This is a development version. + +%description devel +Libgcrypt is a general purpose crypto library based on the code used +in GNU Privacy Guard. This package contains files needed to develop +applications using libgcrypt. + +%prep +%setup -q +%patch0 -p0 -b .jbj +%patch1 -p1 -b .alpha + +%build +%configure --disable-asm +make + +%install +rm -fr $RPM_BUILD_ROOT +%makeinstall + +# XXX until %%configure is figgered +mv ${RPM_BUILD_ROOT}%{_bindir}/*-libgcrypt-config \ + ${RPM_BUILD_ROOT}%{_bindir}/libgcrypt-config || : + +rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir + +%clean +rm -fr $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%post devel +/sbin/install-info %{_infodir}/gcrypt.info.gz %{_infodir}/dir + +%preun devel +if [ $1 = 0 ]; then + /sbin/install-info --delete %{_infodir}/gcrypt.info.gz %{_infodir}/dir +fi + +%files +%defattr(-,root,root) +%{_libdir}/*.so.*.* +#%{_libdir}/%{name} + +%files devel +%defattr(-,root,root) +%{_bindir}/%{name}-config +%{_includedir}/* +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_datadir}/aclocal/* +#%{_datadir}/%{name} + +%{_infodir}/gcrypt.info* + +%changelog +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Sun May 26 2002 Tim Powers +- automated rebuild + +* Tue May 21 2002 Jeff Johnson +- update to 1.1.7 +- change license to LGPL. +- include splint annotations patch. +- install info pages. + +* Tue Apr 2 2002 Nalin Dahyabhai 1.1.6-1 +- update to 1.1.6 + +* Thu Jan 10 2002 Nalin Dahyabhai 1.1.5-1 +- fix the Source tag so that it's a real URL + +* Wed Dec 20 2001 Nalin Dahyabhai +- initial package diff --git a/sources b/sources index e69de29..b267a0f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c33310c83011e0b61c71482d6d2f974e libgcrypt-1.1.7.tar.gz