6 License: Apache License, Version 2.0
7 Source0: %{name}-%{version}.tar.gz
10 BuildRequires: pkgconfig(openssl)
11 BuildRequires: libcryptsvc-devel
18 Requires: %{name} = %{version}-%{release}
26 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
33 %{__make} DESTDIR=%{?buildroot:%{buildroot}} INSTALL_ROOT=%{?buildroot:%{buildroot}} install
34 rm -f %{?buildroot:%{buildroot}}%{_infodir}/dir
35 find %{?buildroot:%{buildroot}} -regex ".*\\.la$" | xargs rm -f --
37 mkdir -p %{buildroot}/usr/share/license
38 cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
43 %{_datadir}/license/%{name}
48 %{_libdir}/pkgconfig/dukgenerator.pc
49 %{_datadir}/license/%{name}