]> git.pld-linux.org Git - SPECS.git/blob - pakchois.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / pakchois.spec
1 Summary:        PaKChoiS - PKCS#11 wrapper library
2 Summary(pl.UTF-8):      PaKChoiS - biblioteka obudowująca PKCS#11
3 Name:           pakchois
4 Version:        0.4
5 Release:        3
6 License:        LGPL v2+
7 Group:          Libraries
8 Source0:        http://www.manyfish.co.uk/pakchois/%{name}-%{version}.tar.gz
9 # Source0-md5:  218ad0256e514989299acdf4e86aaf3d
10 URL:            http://www.manyfish.co.uk/pakchois/
11 BuildRequires:  automake
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 PaKChoiS is just another PKCS#11 wrapper library. It aims to provide a
16 thin wrapper over the PKCS#11 interface. The goals are:
17
18 - to offer a modern object-oriented C interface wrapper for PKCS#11
19 - to not hide or abstract away any details of the PKCS#11 interface
20   itself except where absolutely necessary
21 - to handle the details of loading DSOs
22 - to allow the caller to avoid caring about where on the system,
23   PKCS#11 modules might be stored, or exactly how they are named
24 - to avoid any dependency on a particular cryptography toolkit.
25
26 %description -l pl.UTF-8
27 PaKChoiS to jeszcze jedna biblioteka obudowująca PKCS#11. Ma na celu
28 dostarczenie lekkiego obudowania interfejsu PKCS#11:
29
30 - oferującego współczesny, zorientowany obiektowo interfejs w C
31 - nie ukrywającego szczegółów interfejsu PKCS#11 poza miejscami, gdzie
32   jest to konieczne
33 - obsługującego szczegóły wczytywania DSO
34 - pozwalającego wywołującemu pominąć szczegóły dotyczące
35   umiejscowienia i nazw modułów PKCS#11 w systemie
36 - zapobiegającego zależnościom od konkretnej biblioteki
37   kryptograficznej.
38
39 %package devel
40 Summary:        Header files for pakchois library
41 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki pakchois
42 Group:          Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44
45 %description devel
46 Header files for pakchois library.
47
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe biblioteki pakchois.
50
51 %package static
52 Summary:        Static pakchois library
53 Summary(pl.UTF-8):      Statyczna biblioteka pakchois
54 Group:          Development/Libraries
55 Requires:       %{name}-devel = %{version}-%{release}
56
57 %description static
58 Static pakchois library.
59
60 %description static -l pl.UTF-8
61 Statyczna biblioteka pakchois.
62
63 %prep
64 %setup -q
65
66 %build
67 cp -f /usr/share/automake/config.sub .
68 %configure
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpakchois.la
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %files
86 %defattr(644,root,root,755)
87 %doc AUTHORS NEWS README
88 %attr(755,root,root) %{_libdir}/libpakchois.so.*.*.*
89 %attr(755,root,root) %ghost %{_libdir}/libpakchois.so.0
90
91 %files devel
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libpakchois.so
94 %{_includedir}/pakchois
95 %{_pkgconfigdir}/pakchois.pc
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/libpakchois.a
This page took 0.179215 seconds and 3 git commands to generate.