Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37766623
en ru br
ALT Linux repos
S:1.6.4-alt1
5.0: 1.0.5-alt1
4.1: 1.0.4-alt0.M41.1
4.0: 1.0.2-alt1
3.0: 0.9.11-alt1

Group :: System/Libraries
RPM: libksba

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable static

Name: libksba
Version: 1.0.4
Release: alt0.M41.1

Group: System/Libraries
Summary: X.509 library
URL: http://www.gnupg.org/
License: GPL

Requires: libgpg-error >= 0.6


Source0: %name-%version.tar.bz2
Patch1: %{name}-info.patch
Patch2: %{name}-link.patch
Patch3: %{name}-am18.patch
# ALT
Patch10: libksba-1.0.2-alt-dont-req-new-tools.patch

# Automatically added by buildreq on Tue Apr 06 2004 (-bi)

#BuildRequires: gcc-c++ gcc-g77 libgcrypt-devel libgpg-error-devel libstdc++-devel
BuildRequires: gcc-c++ libgcrypt-devel libstdc++-devel
BuildRequires: libgpg-error-devel >= 0.6

%description
KSBA is a library designed to build software based
on the X.509 and CMS protocols.

%package -n %name-devel
Summary: Development files for the %name package
Group: Development/Other
Requires: %name = %version-%release
%description -n %name-devel
Development files for the %name package

%package -n %name-devel-static
Summary: Static libraries for the %name-devel package
Group: Development/Other
Requires: %name-devel = %version-%release
Requires: glibc-devel-static
%description -n %name-devel-static
Static libraries for the %name-devel package

%prep
%setup -q
%patch1 -p1
%patch2 -p1
#%patch3 -p1
%patch10 -p1

#__aclocal

#__autoconf
#__automake
./autogen.sh

%build
%configure \
   %{subst_enable static} \
   --enable-ld-version-script
%make_build

%install
%makeinstall
#rm -fv %buildroot/usr/share/info/dir

%post   -p %post_ldconfig
%postun -p %postun_ldconfig


%files
%doc AUTHORS NEWS README
%_libdir/*.so.*

%files -n %name-devel
%doc TODO ChangeLog
%_bindir/*
%prefix/share/aclocal/*
%prefix/include/*.h
#%_libdir/*.la
%_libdir/*.so
%_infodir/*.info*

%if_enabled static
%files -n %name-devel-static
%_libdir/*.a
%endif

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin