Group :: Sistema/Bibliotecas
RPM: libgpg-error
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%def_enable static
Name: libgpg-error
Version: 1.7
Release: alt1
Group: System/Libraries
Summary: Error library for GnuPG and related projects
License: LGPL
URL: http://www.gnupg.org/
Packager: Sergey V Turchin <zerg at altlinux.org>
Source: %name-%version.tar.bz2
# PLD
Patch1: libgpg-error-am18.patch
# Automatically added by buildreq on Fri Apr 14 2006 (-bi)
BuildRequires: gcc-c++ glibc-devel cvs
%if_enabled static
BuildRequires: glibc-devel-static
%endif
%package devel
Summary: Development files for the %name package
Group: Development/C
Requires: %name = %version-%release
%package devel-static
Summary: Static libraries for the %name-devel package
Group: Development/C
Requires: %name-devel = %version-%release
%description
This is a library that defines common error values for all GnuPG
components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
pinentry, SmartCard Daemon and possibly more in the future.
%description devel
This package contains files needed to develop
applications using the GnuPG error library.
%description devel-static
Static build of the GnuPG error library.
%prep
%setup -q
#%patch1 -p1
%autoreconf
%__rm -f COPYING.LIB
%__ln_s %_licensedir/LGPL-2.1 COPYING.LIB
%build
%configure %{subst_enable static} --disable-rpath
%make_build
%make check
%install
%makeinstall
%find_lang %name
%files -f %name.lang
%_libdir/lib*.so.*
%_bindir/gpg-error
%doc AUTHORS ChangeLog NEWS README
%doc --no-dereference COPYING.LIB
%files devel
%_bindir/*-config
%_libdir/*.so
%_includedir/*
%_datadir/aclocal/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Todas as alterações você pod ver aqui
Name: libgpg-error
Version: 1.7
Release: alt1
Group: System/Libraries
Summary: Error library for GnuPG and related projects
License: LGPL
URL: http://www.gnupg.org/
Packager: Sergey V Turchin <zerg at altlinux.org>
Source: %name-%version.tar.bz2
# PLD
Patch1: libgpg-error-am18.patch
# Automatically added by buildreq on Fri Apr 14 2006 (-bi)
BuildRequires: gcc-c++ glibc-devel cvs
%if_enabled static
BuildRequires: glibc-devel-static
%endif
%package devel
Summary: Development files for the %name package
Group: Development/C
Requires: %name = %version-%release
%package devel-static
Summary: Static libraries for the %name-devel package
Group: Development/C
Requires: %name-devel = %version-%release
%description
This is a library that defines common error values for all GnuPG
components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
pinentry, SmartCard Daemon and possibly more in the future.
%description devel
This package contains files needed to develop
applications using the GnuPG error library.
%description devel-static
Static build of the GnuPG error library.
%prep
%setup -q
#%patch1 -p1
%autoreconf
%__rm -f COPYING.LIB
%__ln_s %_licensedir/LGPL-2.1 COPYING.LIB
%build
%configure %{subst_enable static} --disable-rpath
%make_build
%make check
%install
%makeinstall
%find_lang %name
%files -f %name.lang
%_libdir/lib*.so.*
%_bindir/gpg-error
%doc AUTHORS ChangeLog NEWS README
%doc --no-dereference COPYING.LIB
%files devel
%_bindir/*-config
%_libdir/*.so
%_includedir/*
%_datadir/aclocal/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Todas as alterações você pod ver aqui