resetting manifest requested domain to floor
[platform/upstream/libgpg-error.git] / packaging / libgpg-error.spec
index 173c597..8516f4f 100644 (file)
@@ -4,12 +4,12 @@ Release:        0
 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
@@ -19,7 +19,7 @@ pinentry, SmartCard Daemon, and possibly more in the future.
 %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}
 
@@ -28,6 +28,7 @@ Files needed for software development using libgpg-error.
 
 %prep
 %setup -q -n libgpg-error-%{version}
+cp %{SOURCE1001} .
 
 %build
 autoreconf -fiv
@@ -36,8 +37,6 @@ make %{?_smp_mflags}
 
 %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}
 
@@ -45,13 +44,18 @@ rm -r %{buildroot}%{_datadir}/common-lisp
 
 %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}/*