third_party/libgpg-error/libgpg-error.spec
author Ian Neal <iann_cvs@blueyonder.co.uk>
Mon, 01 Jun 2020 15:43:04 +0300
changeset 38415 4f44b29f8b4f5923057efb57099b08448b679137
parent 38065 d4620da6042f684e3e2c873f806d07e54f577c62
child 40909 d435487faab5499339d56d0a1b0467bdbbc7b1d5
permissions -rw-r--r--
Bug 1628799 - Remove unused / duplicate entities from imported editor locale files. r=mkmelin DONTBUILD

# This is a template.  The dist target uses it to create the real file.
Summary: libgpg-error
Name: libgpg-error
Version: 1.37
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) %{_bindir}/gpg-error
%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