License: GPL-2.0+ ; LGPL-2.1+
Summary: Library That Defines Common Error Values for All GnuPG Components
Url: http://www.gnupg.org/
-Group: Development/Libraries/C and C++
+Group: Security/Crypto Libraries
Source: %{name}-%{version}.tar.bz2
-Source2: baselibs.conf
+Source1: baselibs.conf
+Source1001: libgpg-error.manifest
BuildRequires: gettext-tools
BuildRequires: libtool
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This is a library that defines common error values for all GnuPG
%package devel
License: GPL-2.0+ ; LGPL-2.1+ ; MIT
Summary: Development package for libgpg-error
-Group: Development/Libraries/C and C++
+Group: Development/Libraries
Requires: glibc-devel
Requires: libgpg-error = %{version}
%prep
%setup -q -n libgpg-error-%{version}
+cp %{SOURCE1001} .
%build
autoreconf -fiv
%install
%make_install
-# Drop the lisp stuff, it depends on ASDF and CFFI
-# which needs to be packaged first
rm -r %{buildroot}%{_datadir}/common-lisp
%find_lang %{name}
%postun -p /sbin/ldconfig
-%files -f %{name}.lang
+%lang_package
+
+
+%files
+%manifest %{name}.manifest
%defattr(-,root,root)
+%license COPYING.LIB COPYING
%{_libdir}/libgpg-error*.so.*
%files devel
+%manifest %{name}.manifest
%defattr(-,root,root)
-%doc README NEWS ChangeLog COPYING.LIB COPYING AUTHORS ABOUT-NLS
%{_datadir}/aclocal/gpg-error.m4
%{_includedir}/*
%{_bindir}/*