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