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
23 %manifest yaca.manifest
24 %{_libdir}/libyaca.so.0
25 %{_libdir}/libyaca.so.%{version}
31 %{!?build_type:%define build_type "RELEASE"}
33 %cmake . -DCMAKE_BUILD_TYPE=%{build_type}
34 make -k %{?jobs:-j%jobs}
42 ## Devel Package ###############################################################
44 Summary: Yet Another Crypto API development files
46 Requires: yaca = %{version}-%{release}
49 The package provides Yet Another Crypto API development files.
54 %{_libdir}/pkgconfig/yaca.pc
56 ## Examples Package ############################################################
58 Summary: Yet Another Crypto API example files
60 Requires: yaca = %{version}-%{release}
63 The package provides Yet Another Crypto API example files.
66 %{_bindir}/yaca-example*
67 %{_datadir}/%{name}/examples