Name: libgpg-error Version: 1.10 Release: 1ark Summary: GnuPG component error handling URL: http://www.gnupg.org/ Source: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%name-%version.tar.bz2 License: LGPL Group: System/Libraries BuildRoot: %_tmppath/%name-root %track prog %name = { version = %version url = ftp://ftp.gnupg.org/gcrypt/libgpg-error/ regex = %name-(__VER__).tar.bz2 } %description This is a library that defines common error values for all GnuPG components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, Libksba, DirMngr, Pinentry, SmartCard Daemon and possibly more in the future. %package devel Summary: Development files for %name Group: Development/Libraries Requires: %name = %version-%release %description devel Development files (Headers etc.) for %name. %package static Summary: Static libraries for linking to %name Group: Development/Libraries Requires: %name-devel = %version-%release %description static Static libraries for linking to %name. Install this package if you wish to develop or compile applications using %name statically (users of the resulting binary won't need %name installed with static linking). %prep %setup -q %configure --enable-static %build make %?_smp_mflags %install rm -rf $RPM_BUILD_ROOT make %?_smp_mflags install DESTDIR="$RPM_BUILD_ROOT" %find_lang libgpg-error %files -f libgpg-error.lang %defattr(-,root,root) %_libdir/*.so* %_bindir/* %files devel %defattr(-,root,root) %_includedir/* %_datadir/aclocal/* %files static %defattr(-,root,root) %_libdir/*.a %clean rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%name-%version %changelog * Thu Sep 29 2011 Bernhard Rosenkraenzer <bero@arklinux.org> 1.10-1ark - 1.10 * Sat Mar 14 2009 Bernhard Rosenkraenzer <bero@arklinux.org> 1.7-1ark - 1.7 * Thu Jan 3 2008 Bernhard Rosenkraenzer <bero@arklinux.org> 1.6-1ark - 1.6 - Dump .la files * Fri Feb 9 2007 Bernhard Rosenkraenzer <bero@arklinux.org> 1.5-1ark - 1.5 * Thu Oct 19 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 1.4-1ark - 1.4 * Mon Jan 16 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 1.1-1ark - 1.1 * Tue Feb 01 2005 David Tio <deux@arklinux.org> 1.0-1ark - 1.0 * Mon Nov 29 2004 root <root@localdomain> - initial RPM