2007-01-16 00:22:18 +01:00
|
|
|
#
|
2010-08-24 17:38:00 +02:00
|
|
|
# spec file for package libksba (Version 1.0.8)
|
2007-01-16 00:22:18 +01:00
|
|
|
#
|
2010-08-24 17:38:00 +02:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:22:18 +01:00
|
|
|
#
|
2008-09-26 14:58:25 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:22:18 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-06-26 16:56:36 +02:00
|
|
|
|
2007-01-16 00:22:18 +01:00
|
|
|
Name: libksba
|
2010-08-24 17:38:00 +02:00
|
|
|
BuildRequires: libgpg-error-devel >= 1.8
|
2008-01-12 02:54:42 +01:00
|
|
|
Url: http://www.gnupg.org/aegypten/
|
2010-08-24 17:38:00 +02:00
|
|
|
License: GPLv3+
|
2007-01-16 00:22:18 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2008-01-12 02:54:42 +01:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:22:18 +01:00
|
|
|
Summary: A X.509 Library
|
2010-08-24 17:38:00 +02:00
|
|
|
Version: 1.0.8
|
2009-06-29 16:17:34 +02:00
|
|
|
Release: 1
|
2007-01-16 00:22:18 +01:00
|
|
|
# change also name and nfb
|
|
|
|
%define nld_build 0
|
2007-08-02 22:35:06 +02:00
|
|
|
Source: libksba-%{version}.tar.bz2
|
2007-01-16 00:22:18 +01:00
|
|
|
Patch1: nld-build.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-09-26 14:58:25 +02:00
|
|
|
PreReq: %install_info_prereq
|
2007-01-16 00:22:18 +01:00
|
|
|
|
|
|
|
%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
|
2010-08-24 17:38:00 +02:00
|
|
|
License: GPLv2+ ; MIT License (or similar)
|
2007-01-16 00:22:18 +01:00
|
|
|
Summary: A X.509 Library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
%if %nld_build
|
|
|
|
Conflicts: libksba-devel
|
|
|
|
%else
|
|
|
|
Provides: libksba:/usr/include/ksba.h
|
2009-04-18 14:01:25 +02:00
|
|
|
Requires: libksba = %{version} libgpg-error-devel
|
2007-01-16 00:22:18 +01:00
|
|
|
%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
|
2007-08-02 22:35:06 +02:00
|
|
|
%setup -q -n libksba-%{version}
|
2007-01-16 00:22:18 +01:00
|
|
|
%if %nld_build
|
|
|
|
%patch1
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fi
|
2009-04-18 14:01:25 +02:00
|
|
|
%configure --disable-static --with-pic
|
2010-11-01 09:28:39 +01:00
|
|
|
%{__make} %{?_smp_mflags}
|
2007-01-16 00:22:18 +01:00
|
|
|
|
2008-01-12 02:54:42 +01:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2007-01-16 00:22:18 +01:00
|
|
|
%install
|
2008-09-26 14:58:25 +02:00
|
|
|
%makeinstall
|
2009-04-18 14:01:25 +02:00
|
|
|
%{__rm} -fv %{buildroot}%{_libdir}/*.la
|
2007-01-16 00:22:18 +01:00
|
|
|
|
2008-01-12 02:54:42 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2007-01-16 00:22:18 +01:00
|
|
|
|
2008-01-12 02:54:42 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:22:18 +01:00
|
|
|
|
|
|
|
%clean
|
2009-01-14 01:47:57 +01:00
|
|
|
rm -rf %{buildroot}
|
2007-01-16 00:22:18 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2007-08-02 22:35:06 +02:00
|
|
|
%doc README AUTHORS COPYING ChangeLog NEWS THANKS TODO
|
2007-01-16 00:22:18 +01:00
|
|
|
%_libdir/libksba*.so.*
|
|
|
|
|
2008-09-26 14:58:25 +02:00
|
|
|
%post devel
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/ksba.info.gz
|
|
|
|
|
|
|
|
%postun devel
|
|
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/ksba.info.gz
|
|
|
|
|
2007-01-16 00:22:18 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/bin/*
|
|
|
|
%_libdir/libksba*.so
|
|
|
|
/usr/include/*
|
|
|
|
%doc %_infodir/ksba*
|
|
|
|
/usr/share/aclocal/*
|
|
|
|
|
2007-08-02 22:35:06 +02:00
|
|
|
%changelog
|