]> git.pld-linux.org Git - packages/libica2.git/blob - libica2.spec
e1ee42d4051e6bd0255d527b519478621017858b
[packages/libica2.git] / libica2.spec
1 Summary:        Interface library to the ICA device driver
2 Summary(pl.UTF-8):      Biblioteka interfejsu do sterownika urządzenia ICA
3 Name:           libica2
4 Version:        2.1.0
5 Release:        1
6 License:        CPL v1.0
7 Group:          Libraries
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)
20
21 %description
22 Interface library routines used by IBM modules to interface to the IBM
23 eServer Cryptographic Accelerator (ICA).
24
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
28 (ICA).
29
30 %package devel
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
38
39 %description devel
40 Header files for ICA library.
41
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki ICA.
44
45 %package static
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
52
53 %description static
54 Static ICA library.
55
56 %description static -l pl.UTF-8
57 Statyczna biblioteka ICA.
58
59 %prep
60 %setup -q -n libica-2.1
61 %patch0 -p1
62
63 %build
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoconf}
67 %{__automake}
68 %configure \
69         CPPFLAGS="%{rpmcppflags} -I$(pwd)/include"
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %files
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
90
91 %files devel
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libica.so
94 %{_libdir}/libica.la
95 %{_includedir}/ica_api.h
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/libica.a
This page took 0.062941 seconds and 2 git commands to generate.