Initialize Tizen 2.3
[external/libgpg-error.git] / libgpg-error.spec.in
1 # This is a template.  The dist target uses it to create the real file.
2 Summary: libgpg-error
3 Name: libgpg-error
4 Version: @pkg_version@
5 Release: 1
6 URL: ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/
7 Source: ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/%{name}-%{version}.tar.gz
8 Group: Development/Libraries
9 Copyright: LGPL
10 BuildRoot: %{_tmppath}/%{name}-%{version}
11 BuildRequires: make
12 Prereq: /sbin/ldconfig
13
14 %description
15 This is a library that defines common error values for all GnuPG
16 components.  Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
17 pinentry, SmartCard Daemon and possibly more in the future.
18
19 %prep
20 %setup -q
21
22 %build
23 CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
24 ./configure --prefix=/usr
25 make
26
27 %install
28 rm -fr $RPM_BUILD_ROOT
29 mkdir -p $RPM_BUILD_ROOT
30 make install prefix=$RPM_BUILD_ROOT/usr
31
32 %clean
33 rm -fr $RPM_BUILD_ROOT
34 make distclean
35
36 %post
37 /sbin/ldconfig
38
39 %postun
40 /sbin/ldconfig
41
42 %files
43 %defattr(-,root,root)
44 %doc COPYING COPYING.LIB AUTHORS README INSTALL NEWS ChangeLog
45 %attr(0755,root,root) %{_bindir}/gpg-error-config
46 %attr(0755,root,root) %{_bindir}/gpg-error
47 %attr(0755,root,root) %{_libdir}/*gpg-error.so*
48 %attr(0755,root,root) %{_libdir}/*gpg-error.la
49 %attr(0644,root,root) %{_libdir}/*gpg-error.a
50 %{_includedir}/gpg-error.h
51 %{_datadir}/aclocal/gpg-error.m4
52
53 %changelog
54 * Wed Sep  3 2003 Robert Schiele <rschiele@uni-mannheim.de>
55 - initial specfile.
56
57 # EOF