168 lines
4.3 KiB
RPMSpec
168 lines
4.3 KiB
RPMSpec
#
|
|
# spec file for package libksba (Version 1.0.2)
|
|
#
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: libksba
|
|
BuildRequires: libgcrypt-devel
|
|
Url: http://www.gnupg.org/aegypten/
|
|
License: GPL v3 or later
|
|
Group: Development/Libraries/C and C++
|
|
AutoReqProv: on
|
|
Summary: A X.509 Library
|
|
Version: 1.0.2
|
|
Release: 23
|
|
# change also name and nfb
|
|
%define nld_build 0
|
|
Source: libksba-%{version}.tar.bz2
|
|
Patch1: nld-build.diff
|
|
Patch2: libksba-texi.patch
|
|
Patch3: libksba-1.0.2-initialize-node.diff
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
KSBA is a library to simplify the task of working with X.509
|
|
certificates, CMS data, and related data.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Werner Koch <wk@gnupg.org>
|
|
|
|
%package devel
|
|
Summary: A X.509 Library
|
|
Group: Development/Libraries/C and C++
|
|
%if %nld_build
|
|
Conflicts: libksba-devel
|
|
%else
|
|
Provides: libksba:/usr/include/ksba.h
|
|
Requires: libksba = %{version}
|
|
%endif
|
|
|
|
%description devel
|
|
KSBA is a library to simplify the task of working with X.509
|
|
certificates, CMS data, and related data.
|
|
|
|
This package contains the needed files to compile and link against the
|
|
libksba.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Werner Koch <wk@gnupg.org>
|
|
|
|
%prep
|
|
%setup -q -n libksba-%{version}
|
|
%if %nld_build
|
|
%patch1
|
|
%endif
|
|
%patch2
|
|
%patch3
|
|
|
|
%build
|
|
libtoolize --force
|
|
autoreconf -fi
|
|
CFLAGS="$RPM_OPT_FLAGS" ./configure \
|
|
--prefix=%{_prefix} \
|
|
--sysconfdir=/etc \
|
|
--libdir=%{_libdir} \
|
|
--infodir=%{_infodir}
|
|
make
|
|
|
|
%check
|
|
make check
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README AUTHORS COPYING ChangeLog NEWS THANKS TODO
|
|
%_libdir/libksba*.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
/usr/bin/*
|
|
%_libdir/libksba*a
|
|
%_libdir/libksba*.so
|
|
/usr/include/*
|
|
%doc %_infodir/ksba*
|
|
/usr/share/aclocal/*
|
|
|
|
%changelog
|
|
* Thu Jan 10 2008 - bk@suse.de
|
|
- Add missing initialsation, fixes gpgsm crash in GPG's make check
|
|
* Mon Jul 30 2007 - ltinkl@suse.cz
|
|
- update to 1.0.2
|
|
* Support for SHA-2.
|
|
* Fixed a couple of memory leaks.
|
|
* Experimental support for ECDSA.
|
|
* Minor portability fixes.
|
|
* Switched to GPLv3.
|
|
* Tue Sep 12 2006 - pnemec@suse.cz
|
|
- updated to 1.0.0 by diff from author
|
|
- change in api
|
|
* Mon Sep 11 2006 - pnemec@suse.cz
|
|
- updated to 0.9.16
|
|
Fixed a character set conversion bug in BMPStrings
|
|
Added new api functions, see readme.
|
|
* Fri Jun 23 2006 - pnemec@suse.cz
|
|
- updated to 0.9.15 from CVS!
|
|
fixed security bug #177462
|
|
* Thu May 25 2006 - pnemec@suse.cz
|
|
- updated to version 0.9.14
|
|
* Fixed broken OCSP requests.
|
|
* Ignore invalid bytes appended to a certificate.
|
|
* New functions to associate user data with a certificate object.
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Mon Sep 26 2005 - mls@suse.de
|
|
- make devel package require base package
|
|
* Fri Aug 05 2005 - postadal@suse.cz
|
|
- updated to version 0.9.12
|
|
* Mon Jul 11 2005 - postadal@suse.cz
|
|
- updated to version 0.9.11
|
|
- removed obsoleted patch autoconf-fix.diff
|
|
* Wed Jan 12 2005 - postadal@suse.cz
|
|
- update to version 0.9.10
|
|
* Thu Sep 30 2004 - postadal@suse.cz
|
|
- restored autoconf-fix.diff patch removed by last update [#36193, #46036]
|
|
(fixed autoconf issue - quoted definition of AM_PATH_KSBA)
|
|
* Wed Jul 28 2004 - adrian@suse.de
|
|
- update to version 0.9.8
|
|
* Wed Jul 14 2004 - adrian@suse.de
|
|
- create -devel sub package
|
|
- prepare for nld
|
|
* Mon Jul 12 2004 - adrian@suse.de
|
|
- update to version 0.9.7
|
|
* Wed Mar 17 2004 - postadal@suse.cz
|
|
- fixed autoconf issue (quoted definition of AM_PATH_KSBA) [#36193]
|
|
* Tue Feb 10 2004 - postadal@suse.cz
|
|
- fixed code that broke strict aliasing
|
|
- bziped tarball
|
|
* Sun Jan 11 2004 - adrian@suse.de
|
|
- add %%run_ldconfig
|
|
* Mon Jun 02 2003 - mc@suse.de
|
|
- switch to version 0.4.7
|
|
This fixes a problem mainly relevant to certificate request
|
|
creation (if you must use the ugly way of putting the email
|
|
address into the subject DN)
|
|
* Thu Feb 20 2003 - mc@suse.de
|
|
- initial version
|