Summary: libgpg-error Name: libgpg-error Version: 1.6 Release: 1 URL: ftp://ftp.gnupg.org/gcrypt/libgpg-error/ Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2 Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2.sig Group: Development/Libraries Copyright: LGPL BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: make %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. %package devel Summary: Development files for the %{name} package Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel 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. This package contains files necessary to develop applications using libgpg-error. %prep %setup -q %build export CC=cc export CFLAGS="-O2" ./configure --prefix=/opt/freeware --enable-static --enable-shared make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING COPYING.LIB AUTHORS README INSTALL NEWS ChangeLog %{_bindir}/gpg-error %{_libdir}/libgpg-error.a %{_datadir}/locale/* %{_datadir}/common-lisp/* %files devel %defattr(-,root,root) %{_bindir}/gpg-error-config %{_libdir}/libgpg-error.la %{_includedir}/gpg-error.h %{_datadir}/aclocal/gpg-error.m4 %changelog * Tue Nov 27 2007 Michael Perzl - 1.6-1 - updated to v1.6 * Thu Aug 16 2007 Michael Perzl - 1.5-1 - updated to v1.5 * Tue Jan 03 2006 Michael Perzl - 1.1-1 - first version for AIX V5.1 and higher * Wed Sep 3 2003 Robert Schiele - initial specfile.