libksba/libksba.spec
2004-12-10 22:03:05 +00:00

83 lines
1.7 KiB
RPMSpec

Summary: X.509 library
Name: libksba
Version: 0.4.7
Release: 1
License: GPL
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
URL: http://www.gnupg.org/
Source0: http://ftp.gnupg.org/gcrypt/alpha/aegypten/libksba-0.4.7.tar.gz
Epoch: 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}
%description devel
Development headers and libraries for %{name}.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
make check
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
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
install-info %{_infodir}/ksba.info.gz %{_infodir}/dir
%postun devel
if [ "$1" = "0" ]; then
install-info --delete %{_infodir}/ksba.info.gz %{_infodir}/dir
fi
%files
%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
* Thu Mar 20 2003 Ville Skyttä <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ä <ville.skytta at iki.fi> - 0.4.6-1.fedora.1
- First Fedora release.