Sha256: e338a0f4f09b7e3c21f1fb214ea66a30ff0d275b093b3dcc9eadca4ee780d162

Contents?: true

Size: 1.6 KB

Versions: 6

Compression:

Stored size: 1.6 KB

Contents

Name: libmongocrypt
Prefix: /usr
Version: %{dynamic_version}
Release: %{dynamic_release}%{?dist}
Summary: library to perform field-level encryption
License: Apache License 2.0
URL: https://github.com/mongodb/libmongocrypt
Group: Development/Libraries
Requires: libmongocrypt-devel = %{version}, libmongocrypt-libs = %{version}

Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
libmongocrypt facilitates the encryption and decryption, at the field
level, of data stored in MongoDB.

%package devel
Summary: library to perform field-level encryption - dev files
Group: Development/Libraries
Requires: libmongocrypt-libs = %{version}

%description devel
 libmongocrypt facilitates the encryption and decryption, at the field
 level, of data stored in MongoDB.
 .
 This package contains the libmongocrypt and libkms_message development
 headers and libraries.

%package libs
Summary: library to perform field-level encryption - runtime files
Group: Development/Libraries

%description libs
 This package contains the libmongocrypt and libkms_message runtime
 libraries.

%prep
%setup

%build

%install
mkdir -p $RPM_BUILD_ROOT/usr
cp -rv lib* $RPM_BUILD_ROOT/usr
cp -rv include $RPM_BUILD_ROOT/usr
find $RPM_BUILD_ROOT/usr -name '*.pc' -exec sed -i -e 's|^prefix=.*|prefix=/usr|' {} \;


%clean
rm -rf $RPM_BUILD_ROOT

%files

%files devel
%{_includedir}/*
%{_prefix}/lib*/*.a
%{_prefix}/lib*/lib*.so
%{_prefix}/lib*/pkgconfig/*
%{_prefix}/lib*/cmake/*

%files libs
%{_prefix}/lib*/lib*.so.*

%changelog
* Tue Aug 06 2019 Roberto C. Sanchez <roberto@connexer.com>  
- Initial release

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
libmongocrypt-helper-1.12.0.0.1001 ext/libmongocrypt/libmongocrypt/etc/rpm/libmongocrypt.spec
libmongocrypt-helper-1.11.0.0.1001 ext/libmongocrypt/libmongocrypt/etc/rpm/libmongocrypt.spec
libmongocrypt-helper-1.8.0.0.1001 ext/libmongocrypt/libmongocrypt/etc/rpm/libmongocrypt.spec
libmongocrypt-helper-1.7.4.0.1002 ext/libmongocrypt/libmongocrypt/etc/rpm/libmongocrypt.spec
libmongocrypt-helper-1.7.4.0.1001 ext/libmongocrypt/libmongocrypt/etc/rpm/libmongocrypt.spec
libmongocrypt-helper-1.7.4.0.1000 ext/libmongocrypt/libmongocrypt/etc/rpm/libmongocrypt.spec