1 Summary: Interface library to the ICA device driver
2 Summary(pl.UTF-8): Biblioteka interfejsu do sterownika urządzenia ICA
8 Source0: http://downloads.sourceforge.net/opencryptoki/libica-%{version}.tar.gz
9 # Source0-md5: 53a350f038877a58f8f6a3c02a6c2715
10 Patch0: %{name}-headers.patch
11 URL: http://opencryptoki.sourceforge.net/
12 BuildRequires: autoconf
13 BuildRequires: automake >= 1:1.9.5
14 BuildRequires: libtool
15 BuildRequires: openssl-devel
16 Provides: libica = %{version}
17 Obsoletes: libica < 2.0
18 ExclusiveArch: s390 s390x
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Interface library routines used by IBM modules to interface to the IBM
23 eServer Cryptographic Accelerator (ICA).
25 %description -l pl.UTF-8
26 Biblioteka interfejsu używana przez moduły IBM-a do współpracy z
27 akceleratorem kryptograficznym IBM eServer Cryptographic Accelerator
31 Summary: Header files for ICA library
32 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ICA
33 Group: Development/Libraries
34 Provides: libica-devel = %{version}
35 Requires: %{name} = %{version}-%{release}
36 Requires: openssl-devel
37 Obsoletes: libica-devel < 2.0
40 Header files for ICA library.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki ICA.
46 Summary: Static ICA library
47 Summary(pl.UTF-8): Statyczna biblioteka ICA
48 Group: Development/Libraries
49 Requires: %{name}-devel = %{version}-%{release}
50 Provides: libica-static = %{version}
51 Obsoletes: libica-static < 2.0
56 %description static -l pl.UTF-8
57 Statyczna biblioteka ICA.
60 %setup -q -n libica-2.1
69 CPPFLAGS="%{rpmcppflags} -I$(pwd)/include"
73 rm -rf $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
79 rm -rf $RPM_BUILD_ROOT
81 %post -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
85 %defattr(644,root,root,755)
86 %doc AUTHORS ChangeLog LICENSE
87 %attr(755,root,root) %{_bindir}/icainfo
88 %attr(755,root,root) %{_bindir}/icastats
89 %attr(755,root,root) %{_libdir}/libica-%{version}.so
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libica.so
95 %{_includedir}/ica_api.h
98 %defattr(644,root,root,755)