]> git.pld-linux.org Git - packages/libgpg-error.git/blame - libgpg-error.spec
- updated to 1.19
[packages/libgpg-error.git] / libgpg-error.spec
CommitLineData
b0954fe6 1# TODO: package lisp files?
c83646b6
JB
2# %{_datadir}/common-lisp/source/gpg-error/gpg-error-codes.lisp
3# %{_datadir}/common-lisp/source/gpg-error/gpg-error-package.lisp
4# %{_datadir}/common-lisp/source/gpg-error/gpg-error.asd
5# %{_datadir}/common-lisp/source/gpg-error/gpg-error.lisp
35cefa43 6#
9abbe11f 7# Conditional build:
8%bcond_without static_libs # don't build static library
9#
e566464f 10Summary: Library libgpg-error
67bfd86b 11Summary(pl.UTF-8): Biblioteka libgpg-error
e566464f 12Name: libgpg-error
623bc178
JB
13Version: 1.19
14Release: 1
9b11502f 15License: LGPL v2.1+
e566464f 16Group: Libraries
ca15b246 17Source0: ftp://ftp.gnupg.org/gcrypt/libgpg-error/%{name}-%{version}.tar.bz2
623bc178 18# Source0-md5: c04c16245b92829281f43b5bef7d16da
ac6b3ce0 19Patch0: %{name}-pl.po-update.patch
c83646b6 20Patch1: %{name}-info.patch
63ee71c7 21URL: http://www.gnupg.org/related_software/libgpg-error/
0574e73d 22BuildRequires: autoconf >= 2.59
59fb9dc1 23BuildRequires: automake >= 1:1.11
ff140782 24BuildRequires: gettext-tools >= 0.17
d43bb331 25BuildRequires: libtool >= 2:2.2.6
c83646b6 26BuildRequires: texinfo
e566464f 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30libgpg-error is a library that defines common error values for all
31GnuPG components. Among these are GPG, GPGSM, GPGME, GPG-Agent,
32libgcrypt, pinentry, SmartCard Daemon and possibly more in the future.
33
08113de1
JR
34%description -l pl.UTF-8
35libgpg-error jest biblioteką definiującą wartości błędów wspólne dla
36komponentów GnuPG. Są wśród nich GPG, GPGSM, GPGME, GPG-Agent,
37libgcrypt, pinentry, SmartCard Daemon i inne - w przyszłości.
e566464f 38
39%package devel
ac6b3ce0 40Summary: Header files for libgpg-error
67bfd86b 41Summary(pl.UTF-8): Pliki nagłówkowe dla libgpg-error
e566464f 42Group: Development/Libraries
e0e9b3c0 43Requires: %{name} = %{version}-%{release}
e566464f 44
45%description devel
46libgpg-error is a library that defines common error values for all
47GnuPG components. Among these are GPG, GPGSM, GPGME, GPG-Agent,
48libgcrypt, pinentry, SmartCard Daemon and possibly more in the future.
49
50This package contains the header files needed to develop programs that
6527f5ec 51use these libgpg-error.
e566464f 52
08113de1
JR
53%description devel -l pl.UTF-8
54libgpg-error jest biblioteką definiującą wartości błędów wspólne dla
55komponentów GnuPG. Są wśród nich GPG, GPGSM, GPGME, GPG-Agent,
56libgcrypt, pinentry, SmartCard Daemon i inne - w przyszłości.
e566464f 57
08113de1
JR
58Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
59używających biblioteki libgpg-error.
e566464f 60
61%package static
ac6b3ce0 62Summary: Static version of libgpg-error library
67bfd86b 63Summary(pl.UTF-8): Statyczna wersja biblioteki libgpg-error
e566464f 64Group: Development/Libraries
e0e9b3c0 65Requires: %{name}-devel = %{version}-%{release}
e566464f 66
67%description static
68libgpg-error is a library that defines common error values for all
69GnuPG components. Among these are GPG, GPGSM, GPGME, GPG-Agent,
70libgcrypt, pinentry, SmartCard Daemon and possibly more in the future.
71
72This package contains the static libgpg-error libraries.
73
08113de1
JR
74%description static -l pl.UTF-8
75libgpg-error jest biblioteką definiującą wartości błędów wspólne dla
76komponentów GnuPG. Są wśród nich GPG, GPGSM, GPGME, GPG-Agent,
77libgcrypt, pinentry, SmartCard Daemon i inne - w przyszłości.
e566464f 78
79Pakiet zawiera statyczne biblioteki libgpg-error.
80
81%prep
82%setup -q
9eac4341 83%patch0 -p1
c83646b6 84%patch1 -p1
e566464f 85
59fb9dc1 86%{__rm} po/stamp-po
085a4ed1 87
e566464f 88%build
e566464f 89%{__gettextize}
90%{__libtoolize}
d43bb331 91%{__aclocal} -I m4
e566464f 92%{__autoconf}
93%{__automake}
9abbe11f 94%configure \
d43bb331 95 %{?with_static_libs:--enable-static}
e566464f 96%{__make}
97
98%install
99rm -rf $RPM_BUILD_ROOT
100
101%{__make} install \
102 DESTDIR=$RPM_BUILD_ROOT
103
00f82935 104install -d $RPM_BUILD_ROOT/%{_lib}
7b255389
JB
105mv -f $RPM_BUILD_ROOT%{_libdir}/libgpg-error.so.* $RPM_BUILD_ROOT/%{_lib}
106ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libgpg-error.so.*.*.*) \
00f82935
JB
107 $RPM_BUILD_ROOT%{_libdir}/libgpg-error.so
108
15e0ae88
JB
109%find_lang %{name}
110
e566464f 111%clean
112rm -rf $RPM_BUILD_ROOT
113
114%post -p /sbin/ldconfig
115%postun -p /sbin/ldconfig
116
15e0ae88 117%files -f %{name}.lang
e566464f 118%defattr(644,root,root,755)
716d2247 119%doc AUTHORS ChangeLog NEWS README THANKS
791de322 120%attr(755,root,root) %{_bindir}/gpg-error
00f82935 121%attr(755,root,root) /%{_lib}/libgpg-error.so.*.*.*
7b255389 122%attr(755,root,root) %ghost /%{_lib}/libgpg-error.so.0
e566464f 123
124%files devel
125%defattr(644,root,root,755)
126%attr(755,root,root) %{_bindir}/gpg-error-config
00f82935
JB
127%attr(755,root,root) %{_libdir}/libgpg-error.so
128%{_libdir}/libgpg-error.la
35cefa43
JB
129%{_includedir}/gpg-error.h
130%{_aclocaldir}/gpg-error.m4
c83646b6
JB
131%{_mandir}/man1/gpg-error-config.1*
132%{_infodir}/gpgrt.info*
e566464f 133
9abbe11f 134%if %{with static_libs}
e566464f 135%files static
136%defattr(644,root,root,755)
00f82935 137%{_libdir}/libgpg-error.a
9abbe11f 138%endif
bd0125c0
JB
139
140#%files... lisp or -n lisp-%{name} ???
141#%defattr(644,root,root,755)
142#%{_datadir}/common-lisp/gpg-error*
This page took 0.124621 seconds and 4 git commands to generate.