1# This is a template. The dist target uses it to create the real file. 2Summary: libgpg-error 3Name: libgpg-error 4Version: 1.10 5Release: 1 6URL: ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/ 7Source: ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/%{name}-%{version}.tar.gz 8Group: Development/Libraries 9Copyright: LGPL 10BuildRoot: %{_tmppath}/%{name}-%{version} 11BuildRequires: make 12Prereq: /sbin/ldconfig 13 14%description 15This is a library that defines common error values for all GnuPG 16components. Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, 17pinentry, SmartCard Daemon and possibly more in the future. 18 19%prep 20%setup -q 21 22%build 23CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS 24./configure --prefix=/usr 25make 26 27%install 28rm -fr $RPM_BUILD_ROOT 29mkdir -p $RPM_BUILD_ROOT 30make install prefix=$RPM_BUILD_ROOT/usr 31 32%clean 33rm -fr $RPM_BUILD_ROOT 34make distclean 35 36%post 37/sbin/ldconfig 38 39%postun 40/sbin/ldconfig 41 42%files 43%defattr(-,root,root) 44%doc COPYING COPYING.LIB AUTHORS README INSTALL NEWS ChangeLog 45%attr(0755,root,root) %{_bindir}/gpg-error-config 46%attr(0755,root,root) %{_bindir}/gpg-error 47%attr(0755,root,root) %{_libdir}/*gpg-error.so* 48%attr(0755,root,root) %{_libdir}/*gpg-error.la 49%attr(0644,root,root) %{_libdir}/*gpg-error.a 50%{_includedir}/gpg-error.h 51%{_datadir}/aclocal/gpg-error.m4 52 53%changelog 54* Wed Sep 3 2003 Robert Schiele <rschiele@uni-mannheim.de> 55- initial specfile. 56 57# EOF 58