76 lines
2.0 KiB
RPMSpec
76 lines
2.0 KiB
RPMSpec
|
Name: olm
|
||
|
Version: 3.2.16
|
||
|
Release: 1mamba
|
||
|
Summary: Implementation of the olm and megolm cryptographic ratchets
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://gitlab.matrix.org/matrix-org/olm
|
||
|
Source: https://gitlab.matrix.org/matrix-org/olm.git/%{version}/olm-%{version}.tar.bz2
|
||
|
License: Apache License 2.0
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description
|
||
|
Implementation of the olm and megolm cryptographic ratchets.
|
||
|
|
||
|
%package -n lib%{name}
|
||
|
Group: System/Libraries
|
||
|
Summary: Implementation of the olm and megolm cryptographic ratchets.
|
||
|
|
||
|
%description -n lib%{name}
|
||
|
Implementation of the olm and megolm cryptographic ratchets.
|
||
|
This package contains shared libraries for %{name}.
|
||
|
|
||
|
%package -n lib%{name}-devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description -n lib%{name}-devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake
|
||
|
%cmake_build
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%cmake_install
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -n lib%{name} -p /sbin/ldconfig
|
||
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||
|
|
||
|
%files -n lib%{name}
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libolm.so.*
|
||
|
%doc LICENSE
|
||
|
|
||
|
%files -n lib%{name}-devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/olm
|
||
|
%{_includedir}/olm/*
|
||
|
%{_libdir}/libolm.so
|
||
|
%dir %{_libdir}/cmake/Olm
|
||
|
%{_libdir}/cmake/Olm/Olm*.cmake
|
||
|
%{_libdir}/pkgconfig/olm.pc
|
||
|
%doc README.md
|
||
|
|
||
|
%changelog
|
||
|
* Sat Mar 09 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.16-1mamba
|
||
|
- package created using the webbuild interface
|