2005-02-01 19:32:51 +00:00
|
|
|
|
Summary: X.509 library
|
2005-03-03 22:41:32 +00:00
|
|
|
|
Name: libksba
|
2005-02-01 19:32:51 +00:00
|
|
|
|
Version: 0.9.9
|
2005-04-06 22:12:22 +00:00
|
|
|
|
Release: 2%{?dist_tag}
|
|
|
|
|
|
2005-02-01 19:32:51 +00:00
|
|
|
|
License: GPL
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
URL: http://www.gnupg.org/
|
|
|
|
|
Source0: ftp://ftp.gnupg.org/gcrypt/alpha/libksba/libksba-0.9.9.tar.gz
|
|
|
|
|
Source1: ftp://ftp.gnupg.org/gcrypt/alpha/libksba/libksba-0.9.9.tar.gz.sig
|
|
|
|
|
Patch0: libksba-0.9.9-underquoted.patch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
|
2005-03-05 21:10:22 +00:00
|
|
|
|
BuildRequires: libgpg-error >= 0.7
|
|
|
|
|
BuildRequires: libgcrypt-devel >= 1.2.0
|
2004-11-08 04:44:52 +00:00
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
KSBA is a library designed to build software based on the X.509 and
|
|
|
|
|
CMS protocols.
|
|
|
|
|
|
|
|
|
|
%package devel
|
2005-02-01 19:32:51 +00:00
|
|
|
|
Summary: Development headers and libraries for %{name}
|
|
|
|
|
Group: Development/Libraries
|
2005-03-03 22:41:32 +00:00
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2005-02-01 19:32:51 +00:00
|
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
|
Requires(preun): /sbin/install-info
|
2004-11-08 04:44:52 +00:00
|
|
|
|
%description devel
|
|
|
|
|
Development headers and libraries for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
2005-02-01 19:32:51 +00:00
|
|
|
|
%patch -p1 -b .underquoted
|
2004-11-08 04:44:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure
|
2005-02-01 19:32:51 +00:00
|
|
|
|
|
|
|
|
|
# not smp safe
|
2005-03-03 22:41:32 +00:00
|
|
|
|
make
|
2005-02-01 19:32:51 +00:00
|
|
|
|
|
2004-11-08 04:44:52 +00:00
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2005-02-01 19:32:51 +00:00
|
|
|
|
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
2004-11-08 04:44:52 +00:00
|
|
|
|
rm -f $RPM_BUILD_ROOT{%{_infodir}/dir,%{_libdir}/*.la}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%post devel
|
2005-02-01 19:32:51 +00:00
|
|
|
|
install-info %{_infodir}/ksba.info.gz %{_infodir}/dir ||:
|
2004-11-08 04:44:52 +00:00
|
|
|
|
|
|
|
|
|
%postun devel
|
2005-02-01 19:32:51 +00:00
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
|
install-info --delete %{_infodir}/ksba.info.gz %{_infodir}/dir ||:
|
2004-11-08 04:44:52 +00:00
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
2005-03-03 22:41:32 +00:00
|
|
|
|
%files
|
2004-11-08 04:44:52 +00:00
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README* THANKS TODO VERSION
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_libdir}/*.a
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
%{_datadir}/aclocal/*
|
|
|
|
|
%{_infodir}/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2005-04-06 22:12:22 +00:00
|
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
|
|
- rebuilt
|
|
|
|
|
|
2005-02-01 19:32:51 +00:00
|
|
|
|
* Tue Feb 1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.9.9-1
|
|
|
|
|
- Minus BR libtool, add epoch to -devel req, fix underquoted ksba.m4.
|
|
|
|
|
|
|
|
|
|
* Tue Oct 19 2004 Rex Dieter <rexdieter[AT]users.sf.net> 0:0.9.9-0.fdr.1
|
|
|
|
|
- 0.9.9
|
|
|
|
|
|
2004-11-08 04:44:52 +00:00
|
|
|
|
* Thu Mar 20 2003 Ville Skytt<EFBFBD> <ville.skytta at iki.fi> - 0.4.7-0.fdr.1
|
|
|
|
|
- Update to 0.4.7, and to current Fedora guidelines.
|
|
|
|
|
- Exclude %%{_libdir}/*.la.
|
|
|
|
|
|
|
|
|
|
* Tue Feb 12 2003 Warren Togami <warren@togami.com> 0.4.6-1.fedora.3
|
|
|
|
|
- temporary workaround to lib/dir conflict problem
|
|
|
|
|
|
|
|
|
|
* Sat Feb 8 2003 Ville Skytt<EFBFBD> <ville.skytta at iki.fi> - 0.4.6-1.fedora.1
|
|
|
|
|
- First Fedora release.
|