diff options
-rw-r--r-- | libmongocrypt.spec | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/libmongocrypt.spec b/libmongocrypt.spec index e6bef6e..c6729aa 100644 --- a/libmongocrypt.spec +++ b/libmongocrypt.spec @@ -15,7 +15,7 @@ Name: %{libname} Summary: The companion C library for client side encryption in drivers Version: 1.0.1 -Release: 1%{?dist} +Release: 2%{?dist} # see kms-message/THIRD_PARTY_NOTICES # kms-message/src/kms_b64.c is ISC @@ -36,6 +36,8 @@ BuildRequires: gcc-c++ BuildRequires: openssl-devel # should be libson-1.0 only available in 1.16 BuildRequires: cmake(libbson-1.0) >= 1.11 +# for documentation +BuildRequires: doxygen %description @@ -54,9 +56,7 @@ for %{name}. %prep -%setup -q -n %{gh_project}-%{version}%{?prever:-dev} -%patch0 -p1 -%patch1 -p1 +%autosetup -n %{gh_project}-%{version}%{?prever:-dev} -p1 echo "%{version}" >VERSION_CURRENT @@ -67,11 +67,13 @@ echo "%{version}" >VERSION_CURRENT -DENABLE_STATIC:BOOL=OFF \ . -make %{?_smp_mflags} +%make_build + +doxygen ./doc/Doxygen %install -make install DESTDIR=%{buildroot} +%make_install %check @@ -79,7 +81,6 @@ make test %files -%{!?_licensedir:%global license %%doc} %license LICENSE %{_libdir}/libkms_message.so.%{soname}* %{_libdir}/libmongocrypt.so.%{soname}* @@ -87,6 +88,7 @@ make test %files devel %doc *.md +%doc doc/html %{_includedir}/kms_message %{_includedir}/mongocrypt %{_libdir}/libkms_message.so @@ -97,6 +99,10 @@ make test %changelog +* Sat Jan 18 2020 Remi Collet <remi@remirepo.net> - 1.0.1-2 +- modernize spec from review #1792224 +- add generated html documentation + * Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 1.0.1-1 - initial package - fix installation layout using patch from |