]>
Commit | Line | Data |
---|---|---|
c18ee702 | 1 | Summary: KSBA = rot13(digit_to_letter(x509)) to be pronounced as Kasbah |
740b6031 ER |
2 | Summary(es.UTF-8): KSBA = rot13(digit_to_letter(x509)) |
3 | Summary(pl.UTF-8): KSBA = rot13(digit_to_letter(x509)), wymawiane "kasba" | |
4 | Summary(pt_BR.UTF-8): KSBA = rot13(digit_to_letter(x509)) pronunciado como Kasbah | |
e0e98de5 | 5 | Name: libksba |
52abbcb3 | 6 | Version: 1.6.2 |
1f0cb91c | 7 | Release: 2 |
d1939fe2 | 8 | License: LGPL v3+ or GPL v2+ (libraries), GPL v3+ (the rest) |
e0e98de5 | 9 | Group: Libraries |
61a6a07b | 10 | Source0: ftp://ftp.gnupg.org/gcrypt/libksba/%{name}-%{version}.tar.bz2 |
52abbcb3 | 11 | # Source0-md5: af4d9ca1f15cdbc588c01b93e2cd51cf |
1d95e55d | 12 | Patch0: %{name}-info.patch |
e4b551ee | 13 | URL: https://www.gnupg.org/related_software/libksba/ |
52abbcb3 JP |
14 | BuildRequires: autoconf >= 2.69 |
15 | BuildRequires: autoconf-archive | |
1f1b1e83 | 16 | BuildRequires: automake >= 1:1.14 |
1f0cb91c | 17 | BuildRequires: libgpg-error-devel >= 1.46 |
31e49262 | 18 | BuildRequires: libtool >= 2:2.2.6 |
e0e98de5 | 19 | BuildRequires: texinfo |
1f0cb91c | 20 | Requires: libgpg-error >= 1.46 |
e0e98de5 | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
c18ee702 | 24 | KSBA is a library to make the tasks of working with X.509 |
25 | certificates, CMS data and related data more easy. | |
e0e98de5 | 26 | |
835d9f4f JR |
27 | %description -l pl.UTF-8 |
28 | KSBA jest biblioteką ułatwiającą korzystanie z certyfikatów X.509, | |
f7f0de79 | 29 | danych CMS i podobnych danych. |
30 | ||
835d9f4f JR |
31 | %description -l pt_BR.UTF-8 |
32 | KSBA é uma biblioteca para tratar certificados X.509, dados CMS e | |
33 | dados relacionados de forma fácil. | |
96c4ca40 | 34 | |
e0e98de5 | 35 | %package devel |
36 | Summary: Header files to develop KSBA applications | |
740b6031 ER |
37 | Summary(es.UTF-8): Archivos de desarrollo de KSBA |
38 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów używających KSBA | |
39 | Summary(pt_BR.UTF-8): Arquivos de desenvolvimento da KSBA | |
d1939fe2 | 40 | License: LGPL v3+ or GPL v2+ (libraries), GPL v3+ (manual) |
e0e98de5 | 41 | Group: Development/Libraries |
beaaa7e3 | 42 | Requires: %{name} = %{version}-%{release} |
1f0cb91c | 43 | Requires: libgpg-error-devel >= 1.46 |
e0e98de5 | 44 | |
45 | %description devel | |
46 | Header files to develop KSBA applications. | |
47 | ||
835d9f4f JR |
48 | %description devel -l pl.UTF-8 |
49 | Pliki nagłówkowe do tworzenia programów używających KSBA. | |
96c4ca40 | 50 | |
835d9f4f | 51 | %description devel -l pt_BR.UTF-8 |
c18ee702 | 52 | Bibliotecas de desenvolvimento para KSBA. |
53 | ||
e0e98de5 | 54 | %package static |
f7f0de79 | 55 | Summary: Static KSBA libraries |
740b6031 ER |
56 | Summary(es.UTF-8): Archivos de desarrollo de KSBA - estatico |
57 | Summary(pl.UTF-8): Biblioteki statyczne KSBA | |
58 | Summary(pt_BR.UTF-8): Arquivos de desenvolvimento da KSBA - biblioteca estática | |
d1939fe2 | 59 | License: LGPL v3+ or GPL v2+ |
e0e98de5 | 60 | Group: Development/Libraries |
beaaa7e3 | 61 | Requires: %{name}-devel = %{version}-%{release} |
e0e98de5 | 62 | |
63 | %description static | |
f7f0de79 | 64 | Static KSBA libraries. |
65 | ||
835d9f4f | 66 | %description static -l pl.UTF-8 |
f7f0de79 | 67 | Biblioteki statyczne KSBA. |
e0e98de5 | 68 | |
835d9f4f JR |
69 | %description static -l pt_BR.UTF-8 |
70 | Bibliotecas de desenvolvimento para KSBA - estático. | |
96c4ca40 | 71 | |
e0e98de5 | 72 | %prep |
73 | %setup -q | |
180e560e | 74 | %patch0 -p1 |
e0e98de5 | 75 | |
76 | %build | |
c18ee702 | 77 | %{__libtoolize} |
0df623fb | 78 | %{__aclocal} -I m4 -I gl/m4 |
c18ee702 | 79 | %{__autoconf} |
0df623fb | 80 | %{__autoheader} |
c18ee702 | 81 | %{__automake} |
31e49262 JB |
82 | %configure \ |
83 | --enable-static | |
1d95e55d | 84 | |
e0e98de5 | 85 | %{__make} |
86 | ||
87 | %install | |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
90 | %{__make} install \ | |
91 | DESTDIR=$RPM_BUILD_ROOT \ | |
92 | m4datadir=%{_aclocaldir} | |
93 | ||
e4b551ee JB |
94 | # obsoleted by pkgconfig |
95 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libksba.la | |
96 | ||
10f9c4f3 ER |
97 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir |
98 | ||
e0e98de5 | 99 | %clean |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %post -p /sbin/ldconfig | |
103 | %postun -p /sbin/ldconfig | |
104 | ||
e1d4536f | 105 | %post devel -p /sbin/postshell |
8709853f | 106 | -/usr/sbin/fix-info-dir -c %{_infodir} |
e0e98de5 | 107 | |
e1d4536f | 108 | %postun devel -p /sbin/postshell |
8709853f | 109 | -/usr/sbin/fix-info-dir -c %{_infodir} |
e0e98de5 | 110 | |
111 | %files | |
112 | %defattr(644,root,root,755) | |
d1939fe2 JB |
113 | # note: COPYING specifies license types, doesn't contain LGPL/GPL text |
114 | %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO | |
0df623fb | 115 | %attr(755,root,root) %{_libdir}/libksba.so.*.*.* |
e1d4536f | 116 | %attr(755,root,root) %ghost %{_libdir}/libksba.so.8 |
e0e98de5 | 117 | |
118 | %files devel | |
119 | %defattr(644,root,root,755) | |
2c88c6ae | 120 | %attr(755,root,root) %{_libdir}/libksba.so |
2c88c6ae | 121 | %{_includedir}/ksba.h |
e4b551ee | 122 | %{_pkgconfigdir}/ksba.pc |
2c88c6ae | 123 | %{_aclocaldir}/ksba.m4 |
e4b551ee | 124 | %{_infodir}/ksba.info* |
e0e98de5 | 125 | |
126 | %files static | |
127 | %defattr(644,root,root,755) | |
2c88c6ae | 128 | %{_libdir}/libksba.a |