libgpg-error/libgpg-error.spec

82 lines
2.1 KiB
RPMSpec
Raw Normal View History

# This is a template. The dist target uses it to create the real file.
Summary: libgpg-error
Name: libgpg-error
2005-11-30 11:29:57 +00:00
Version: 1.1
Release: 1
2005-03-02 06:36:42 +00:00
URL: ftp://ftp.gnupg.org/gcrypt/libgpg-error/
Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.gz
Source1: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.gz.sig
Source2: wk@g10code.com
Group: System Environment/Libraries
2005-03-02 06:42:13 +00:00
License: LGPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
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.
%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
%configure
make
%install
rm -fr $RPM_BUILD_ROOT
%makeinstall
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
%find_lang %{name}
%clean
rm -fr $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%doc COPYING COPYING.LIB AUTHORS README INSTALL NEWS ChangeLog
%{_bindir}/gpg-error
%{_libdir}/libgpg-error.so.*
%files devel
%defattr(-,root,root)
%{_bindir}/gpg-error-config
%{_libdir}/libgpg-error.so
%{_libdir}/libgpg-error.a
%{_includedir}/gpg-error.h
%{_datadir}/aclocal/gpg-error.m4
%changelog
2005-11-30 11:29:57 +00:00
* Wed Nov 30 2005 Karsten Hopp <karsten@redhat.de> 1.1-1
- update
2005-03-02 06:36:42 +00:00
* Wed Mar 2 2005 Bill Nottingham <notting@redhat.com> - 1.0-2
- we can rebuild it. we have the technology.
* Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> - 1.0-1
- update to 1.0
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> - 0.7-1
2005-11-30 11:29:57 +00:00
- adapt upstream specfile