package created using the webbuild interface [release 0.16.2-1mamba;Thu Oct 27 2022]
This commit is contained in:
parent
7dcb192c5b
commit
441399c226
@ -1,2 +1,4 @@
|
||||
# rnp
|
||||
|
||||
High performance C++ OpenPGP library derived from NetPGP.
|
||||
|
||||
|
96
rnp.spec
Normal file
96
rnp.spec
Normal file
@ -0,0 +1,96 @@
|
||||
Name: rnp
|
||||
Version: 0.16.2
|
||||
Release: 1mamba
|
||||
Summary: High performance C++ OpenPGP library derived from NetPGP
|
||||
Group: Applications/Security
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://www.rnpgp.org/
|
||||
Source: https://github.com/rnpgp/rnp.git/v%{version}/rnp-%{version}.tar.bz2
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libbotan-devel
|
||||
BuildRequires: libbzip2-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libjson-c-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description
|
||||
High performance C++ OpenPGP library derived from NetPGP.
|
||||
|
||||
%package -n lib%{name}
|
||||
Group: System/Libraries
|
||||
Summary: Shared libraries for %{name}
|
||||
|
||||
%description -n lib%{name}
|
||||
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}
|
||||
Requires: pkg-config
|
||||
|
||||
%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 -d build \
|
||||
-DENABLE_SANITIZERS=OFF \
|
||||
-DENABLE_COVERAGE=OFF \
|
||||
-DENABLE_FUZZERS=OFF \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DDOWNLOAD_GTEST=OFF \
|
||||
-DDOWNLOAD_RUBYRNP=OFF \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/rnp
|
||||
%{_bindir}/rnpkeys
|
||||
%{_mandir}/man1/rnp.1*
|
||||
%{_mandir}/man1/rnpkeys.1*
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/librnp.so.*
|
||||
%doc LICENSE.md LICENSE-OCB.md
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/rnp
|
||||
%{_includedir}/rnp/rnp*.h
|
||||
%dir %{_libdir}/cmake/rnp
|
||||
%{_libdir}/librnp.so
|
||||
%{_libdir}/cmake/rnp/rnp-*.cmake
|
||||
%{_libdir}/pkgconfig/librnp.pc
|
||||
%{_mandir}/man3/librnp.3*
|
||||
%doc README.adoc
|
||||
|
||||
%changelog
|
||||
* Thu Oct 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.2-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user