diff --git a/.cvsignore b/.cvsignore index e69de29..b9edc82 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libksba-0.4.7.tar.gz diff --git a/libksba.spec b/libksba.spec new file mode 100644 index 0000000..770a6c5 --- /dev/null +++ b/libksba.spec @@ -0,0 +1,89 @@ +Summary: X.509 library +Name: libksba +Version: 0.4.7 +Release: 0.fdr.1.rh80 +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� - 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 0.4.6-1.fedora.3 +- temporary workaround to lib/dir conflict problem + +* Sat Feb 8 2003 Ville Skytt� - 0.4.6-1.fedora.1 +- First Fedora release. diff --git a/sources b/sources index e69de29..6b12085 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +65ab8dad1f7fb379f72e1d096657a3d7 libksba-0.4.7.tar.gz