Fixed package groups
[platform/upstream/libgpg-error.git] / packaging / libgpg-error.spec
1 Name:           libgpg-error
2 Version:        1.10
3 Release:        0
4 License:        GPL-2.0+ ; LGPL-2.1+
5 Summary:        Library That Defines Common Error Values for All GnuPG Components
6 Url:            http://www.gnupg.org/
7 Group:          Security/Crypto Libraries
8 Source:         %{name}-%{version}.tar.bz2
9 Source1:        baselibs.conf
10 BuildRequires:  gettext-tools
11 BuildRequires:  libtool
12
13 %description
14 This is a library that defines common error values for all GnuPG
15 components.  Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
16 pinentry, SmartCard Daemon, and possibly more in the future.
17
18 %package devel
19 License:        GPL-2.0+ ; LGPL-2.1+ ; MIT
20 Summary:        Development package for libgpg-error
21 Group:          Development/Libraries
22 Requires:       glibc-devel
23 Requires:       libgpg-error = %{version}
24
25 %description devel
26 Files needed for software development using libgpg-error.
27
28 %prep
29 %setup -q -n libgpg-error-%{version}
30
31 %build
32 autoreconf -fiv
33 %configure --disable-static --with-pic
34 make %{?_smp_mflags}
35
36 %install
37 %make_install
38 rm -r %{buildroot}%{_datadir}/common-lisp
39 %find_lang %{name}
40
41 %post  -p /sbin/ldconfig
42
43 %postun -p /sbin/ldconfig
44
45 %lang_package
46
47
48 %files 
49 %defattr(-,root,root)
50 %license COPYING.LIB COPYING 
51 %{_libdir}/libgpg-error*.so.*
52
53 %files devel
54 %defattr(-,root,root)
55 %{_datadir}/aclocal/gpg-error.m4
56 %{_includedir}/*
57 %{_bindir}/*
58 %{_libdir}/libgpg-error*.so
59
60 %changelog