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