diff options
author | Marcus Brinkmann <mb@g10code.com> | 2003-09-04 18:50:59 +0000 |
---|---|---|
committer | Marcus Brinkmann <mb@g10code.com> | 2003-09-04 18:50:59 +0000 |
commit | d19a256bcf34b5176980bc2d0e21242d2d2570a8 (patch) | |
tree | f49d47346e661cd674521292d95b5ae955f9584e /libgpg-error.spec.in | |
parent | 40a889f579140cc268abe385c6b59a5b7dcf3a98 (diff) | |
download | libgpg-error-d19a256bcf34b5176980bc2d0e21242d2d2570a8.tar.gz |
2003-09-04 Marcus Brinkmann <marcus@g10code.de>
* libgpg-error.spec.in: New file.
* Makefile.am (EXTRA_DIST): Add libgpg-error.spec.in.
* AUTHORS (Maintainer): Add Robert Schiele as contributor.
Diffstat (limited to 'libgpg-error.spec.in')
-rw-r--r-- | libgpg-error.spec.in | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/libgpg-error.spec.in b/libgpg-error.spec.in new file mode 100644 index 0000000..6687f00 --- /dev/null +++ b/libgpg-error.spec.in @@ -0,0 +1,56 @@ +# This is a template. The dist target uses it to create the real file. +Summary: libgpg-error +Name: libgpg-error +Version: @pkg_version@ +Release: 1 +URL: ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/ +Source: ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/%{name}-%{version}.tar.gz +Group: Development/Libraries +Copyright: LGPL +BuildRoot: %{_tmppath}/%{name}-%{version} +BuildRequires: make +Prereq: /sbin/ldconfig + +%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. + +%prep +%setup -q + +%build +CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS +./configure --prefix=/usr +make + +%install +rm -fr $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT +make install prefix=$RPM_BUILD_ROOT/usr + +%clean +rm -fr $RPM_BUILD_ROOT +make distclean + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%defattr(-,root,root) +%doc COPYING COPYING.LIB AUTHORS README INSTALL NEWS ChangeLog +%attr(0755,root,root) %{_bindir}/gpg-error-config +%attr(0755,root,root) %{_libdir}/*gpg-error.so* +%attr(0755,root,root) %{_libdir}/*gpg-error.la +%attr(0644,root,root) %{_libdir}/*gpg-error.a +%{_includedir}/gpg-error.h +%{_datadir}/aclocal/gpg-error.m4 + +%changelog +* Wed Sep 3 2003 Robert Schiele <rschiele@uni-mannheim.de> +- initial specfile. + +# EOF |