4 Source0: %{name}-%{version}.tar.gz
7 Summary: Yet Another Crypto API
9 BuildRequires: pkgconfig(capi-base-common)
10 BuildRequires: pkgconfig(openssl)
11 Requires(post): /sbin/ldconfig
12 Requires(postun): /sbin/ldconfig
15 The package provides Yet Another Crypto API.
17 %post -p /sbin/ldconfig
19 %postun -p /sbin/ldconfig
22 %manifest yaca.manifest
23 %{_libdir}/libyaca.so.0
24 %{_libdir}/libyaca.so.%{version}
30 %{!?build_type:%define build_type "RELEASE"}
32 %cmake . -DCMAKE_BUILD_TYPE=%{build_type}
33 make -k %{?jobs:-j%jobs}
41 ## Devel Package ###############################################################
43 Summary: Yet Another Crypto API development files
45 Requires: yaca = %{version}-%{release}
48 The package provides Yet Another Crypto API development files.
53 %{_libdir}/pkgconfig/yaca.pc
55 ## Examples Package ############################################################
57 Summary: Yet Another Crypto API example files
59 Requires: yaca = %{version}-%{release}
62 The package provides Yet Another Crypto API example files.
65 %{_bindir}/yaca-example*
66 %{_datadir}/%{name}/examples