175 lines
4.2 KiB
RPMSpec
175 lines
4.2 KiB
RPMSpec
|
||
Summary: X.509 library
|
||
Name: libksba
|
||
Version: 1.0.3
|
||
Release: 2%{?dist}
|
||
|
||
License: GPLv3
|
||
Group: System Environment/Libraries
|
||
URL: http://www.gnupg.org/
|
||
Source0: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2
|
||
Source1: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2.sig
|
||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
||
# quick-n-dirty hack to ksba-config, TODO: consider using pkgconfig instead
|
||
Patch1: libksba-1.0.3-multilib.patch
|
||
|
||
BuildRequires: gawk
|
||
BuildRequires: libgpg-error-devel >= 1.2
|
||
BuildRequires: libgcrypt-devel >= 1.2.0
|
||
|
||
%description
|
||
KSBA is a library designed to build software based on the X.509 and
|
||
CMS protocols.
|
||
|
||
%package devel
|
||
Summary: Development headers and libraries for %{name}
|
||
Group: Development/Libraries
|
||
Requires: %{name} = %{version}-%{release}
|
||
Requires(post): /sbin/install-info
|
||
Requires(preun): /sbin/install-info
|
||
%description devel
|
||
%{summary}.
|
||
|
||
|
||
%prep
|
||
%setup -q
|
||
|
||
%patch1 -p1 -b .multilib
|
||
|
||
|
||
%build
|
||
%configure \
|
||
--disable-dependency-tracking \
|
||
--disable-static
|
||
|
||
make %{?_smp_mflags}
|
||
|
||
|
||
%install
|
||
rm -rf $RPM_BUILD_ROOT
|
||
|
||
make install DESTDIR=$RPM_BUILD_ROOT
|
||
|
||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
||
|
||
|
||
%check
|
||
make check
|
||
|
||
|
||
%clean
|
||
rm -rf $RPM_BUILD_ROOT
|
||
|
||
|
||
%post -p /sbin/ldconfig
|
||
|
||
%postun -p /sbin/ldconfig
|
||
|
||
%post devel
|
||
install-info %{_infodir}/ksba.info %{_infodir}/dir ||:
|
||
|
||
%postun devel
|
||
if [ $1 -eq 0 ]; then
|
||
install-info --delete %{_infodir}/ksba.info %{_infodir}/dir ||:
|
||
fi
|
||
|
||
|
||
%files
|
||
%defattr(-,root,root,-)
|
||
%doc AUTHORS ChangeLog COPYING NEWS README* THANKS TODO VERSION
|
||
%{_libdir}/lib*.so.*
|
||
|
||
%files devel
|
||
%defattr(-,root,root,-)
|
||
%{_bindir}/ksba-config
|
||
%{_libdir}/lib*.so
|
||
%{_includedir}/*
|
||
%{_datadir}/aclocal/*
|
||
%{_infodir}/*
|
||
|
||
|
||
%changelog
|
||
* Thu Apr 03 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.3-2
|
||
- multiarch conflicts (#342201)
|
||
|
||
* Tue Feb 12 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.3-1
|
||
- libksba-1.0.3
|
||
|
||
* Fri Feb 08 2008 Rex Dieter <rdieter@fedoraproject.org> 1.0.2-4
|
||
- respin (gcc43)
|
||
|
||
* Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.2-3
|
||
- BR: gawk
|
||
|
||
* Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.2-2
|
||
- respin (ppc32, BuildID)
|
||
- License: GPLv3
|
||
|
||
* Fri Jul 06 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.0.2-1
|
||
- libksba-1.0.2
|
||
|
||
* Fri Dec 01 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.1-1
|
||
- libksba-1.0.1
|
||
|
||
* Mon Oct 02 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.0-1.1
|
||
- respin
|
||
|
||
* Thu Aug 31 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.0.0-1
|
||
- libksba-1.0.0
|
||
|
||
* Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.15-3
|
||
- fc6 respin
|
||
|
||
* Thu Jun 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.15-2
|
||
- 0.9.15
|
||
|
||
* Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.13-2.1
|
||
- fc5: gcc/glibc respin
|
||
|
||
* Wed Nov 30 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.13-2
|
||
- remove hacks
|
||
- drop self Obsoletes
|
||
|
||
* Wed Nov 30 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.13-1
|
||
- 0.9.13
|
||
|
||
* Fri Aug 26 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.11-3
|
||
- botched Obsoletes good, let's try again.
|
||
|
||
* Fri Aug 26 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.11-2
|
||
- revert to 0.9.11 (0.9.12 makes gnupg2 fail on x86_64) using Obsoletes
|
||
to avoid Epoch or other ugly means.
|
||
|
||
* Mon Aug 8 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.12-1
|
||
- 0.9.12
|
||
- --disable-static
|
||
|
||
* Thu Apr 21 2005 Rex Dieter <rexdieter[AT]users.sf.net> 0.9.11-1
|
||
- 0.9.11
|
||
- drop upstreamed acquote patch
|
||
|
||
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.9.9-2
|
||
- rebuilt
|
||
|
||
* 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.
|
||
|
||
* Fri Oct 22 2004 Rex Dieter <rexdieter[AT]users.sf.net> 0:0.9.9-0.fdr.2
|
||
- remove hard-coded .gz from %%post/%%postun
|
||
- add %%check section
|
||
|
||
* Tue Oct 19 2004 Rex Dieter <rexdieter[AT]users.sf.net> 0:0.9.9-0.fdr.1
|
||
- 0.9.9
|
||
|
||
* Thu Mar 20 2003 Ville Skytt<74> <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<74> <ville.skytta at iki.fi> - 0.4.6-1.fedora.1
|
||
- First Fedora release.
|