2004-09-09 07:25:35 +00:00
|
|
|
Name: libgcrypt
|
2005-10-05 17:57:06 +00:00
|
|
|
Version: 1.2.2
|
2005-03-16 20:47:41 +00:00
|
|
|
Release: 1
|
|
|
|
Source0: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2
|
|
|
|
Source1: ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-%{version}.tar.bz2.sig
|
2004-09-09 07:25:44 +00:00
|
|
|
Source2: wk@g10code.com
|
2004-09-09 07:25:35 +00:00
|
|
|
License: LGPL
|
|
|
|
Summary: A general-purpose cryptography library.
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
2004-09-09 07:26:43 +00:00
|
|
|
BuildRequires: libgpg-error-devel
|
2004-09-09 07:25:35 +00:00
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the %{name} package.
|
|
|
|
Group: Development/Libraries
|
|
|
|
PreReq: /sbin/install-info
|
2004-09-09 07:26:43 +00:00
|
|
|
Requires: libgpg-error-devel
|
2004-09-09 07:25:35 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-asm
|
|
|
|
make
|
2005-03-16 20:47:41 +00:00
|
|
|
make check
|
2004-09-09 07:25:35 +00:00
|
|
|
|
|
|
|
%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 || :
|
|
|
|
|
2004-09-09 07:26:43 +00:00
|
|
|
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir ${RPM_BUILD_ROOT}/%{_libdir}/*.la
|
2004-09-09 07:26:56 +00:00
|
|
|
/sbin/ldconfig -n $RPM_BUILD_ROOT/%{_libdir}
|
2004-09-09 07:25:35 +00:00
|
|
|
|
|
|
|
%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)
|
2004-09-09 07:26:56 +00:00
|
|
|
%{_libdir}/*.so.*
|
2004-09-09 07:25:35 +00:00
|
|
|
#%{_libdir}/%{name}
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/%{name}-config
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.a
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_datadir}/aclocal/*
|
|
|
|
#%{_datadir}/%{name}
|
|
|
|
|
|
|
|
%{_infodir}/gcrypt.info*
|
|
|
|
|
|
|
|
%changelog
|
2005-10-05 17:57:06 +00:00
|
|
|
* Wed Oct 5 2005 Nalin Dahyabhai <nalin@redhat.com> 1.2.2-1
|
|
|
|
- update to 1.2.2
|
|
|
|
|
|
|
|
* Wed Mar 16 2005 Nalin Dahyabhai <nalin@redhat.com> 1.2.1-1
|
2005-03-16 20:47:41 +00:00
|
|
|
- update to 1.2.1
|
|
|
|
|
2004-09-09 07:26:56 +00:00
|
|
|
* Fri Jul 30 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- another try to package the symlink
|
|
|
|
|
2004-09-09 07:26:51 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 07:26:43 +00:00
|
|
|
* Sun May 2 2004 Bill Nottingham <notting@redhat.com> - 1.2.0-1
|
|
|
|
- update to official 1.2.0
|
|
|
|
|
|
|
|
* Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> - 1.1.94-1
|
|
|
|
- update to 1.1.94
|
|
|
|
|
2004-09-09 07:26:30 +00:00
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Sat Feb 21 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- add symlinks to shared libs at compile time
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 07:25:44 +00:00
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Mar 20 2003 Jeff Johnson <jbj@redhat.com> 1.1.12-1
|
|
|
|
- upgrade to 1.1.12 (beta).
|
|
|
|
|
2004-09-09 07:25:35 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Sun May 26 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Tue May 21 2002 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 1.1.7
|
|
|
|
- change license to LGPL.
|
|
|
|
- include splint annotations patch.
|
|
|
|
- install info pages.
|
|
|
|
|
|
|
|
* Tue Apr 2 2002 Nalin Dahyabhai <nalin@redhat.com> 1.1.6-1
|
|
|
|
- update to 1.1.6
|
|
|
|
|
|
|
|
* Thu Jan 10 2002 Nalin Dahyabhai <nalin@redhat.com> 1.1.5-1
|
|
|
|
- fix the Source tag so that it's a real URL
|
|
|
|
|
|
|
|
* Wed Dec 20 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- initial package
|