libgpg-error/libgpg-error.spec

Name: libgpg-error
Summary: Library with GPG related error codes and descriptions
Version: 0.7
Release: 1.2
License: GPL
Group: Applications/System
URL: http://www.gnupg.org/gpgme.html
Description: Libgpg-error is a small library with error codes and descriptions shared by most GnuPG related software.

CentOS 7 x86_64

The build could not start because the following file is missing: libgpg-error-0.7.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: libgpg-error-0.7.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: <gnupg-devel$gnupg,org>

### EL6 ships with libgpg-error-1.7-3.el6
### EL5 ships with libgpg-error-1.4-2
### EL4 ships with libgpg-error-1.0-1
# ExclusiveDist: el2 el3

Summary: Library with GPG related error codes and descriptions
Name: libgpg-error
Version: 0.7
Release: 1.2%{?dist}
License: GPL
Group: Applications/System
URL: http://www.gnupg.org/gpgme.html

Source: ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/libgpg-error-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
Libgpg-error is a small library with error codes and descriptions
shared by most GnuPG related software.

%package devel
Summary: Header files, libraries and development documentation for %{name}.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall
%find_lang %{name}

%clean
%{__rm} -rf %{buildroot}

%files -f %{name}.lang
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING* ChangeLog INSTALL NEWS README
%{_bindir}/gpg-error
%{_libdir}/*.so.*

%files devel
%defattr(-, root, root, 0755)
%{_bindir}/gpg-error-config
%{_includedir}/*.h
%{_libdir}/*.a
### Needed by dctc ?
%exclude %{_libdir}/*.la
%{_libdir}/*.so
%{_datadir}/aclocal/*.m4

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.7-1.2
- Rebuild for Fedora Core 5.

* Tue Apr 06 2004 Dag Wieers <dag@wieers.com> - 0.7-1
- Initial package. (using DAR)