ALT Linux repositórios
Group :: Sistema/Bibliotecas
RPM: libksba
Main Changelog Spec Patches Sources Download Gear Bugs e 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
…
Todas as alterações você pod ver aqui
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
…
Todas as alterações você pod ver aqui