package created using the webbuild interface [release 0.8.0-1mamba;Thu May 16 2024]

This commit is contained in:
Silvan Calarco 2024-05-16 15:56:34 +02:00
parent 089f46ceac
commit 384ad1c9e5
2 changed files with 83 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# rtrlib # rtrlib
An open-source C implementation of the RPKI/Router Protocol client.

81
rtrlib.spec Normal file
View File

@ -0,0 +1,81 @@
Name: rtrlib
Version: 0.8.0
Release: 1mamba
Summary: An open-source C implementation of the RPKI/Router Protocol client
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/rtrlib/rtrlib
Source: https://github.com/rtrlib/rtrlib.git/v%{version}/rtrlib-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libssh-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: librtr = %{?epoch:%epoch:}%{version}-%{release}
%description
An open-source C implementation of the RPKI/Router Protocol client.
%package -n librtr
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n librtr
This package contains shared libraries for %{name}.
%package -n librtr-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: librtr = %{?epoch:%epoch:}%{version}-%{release}
%description -n librtr-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 librtr -p /sbin/ldconfig
%postun -n librtr -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/rpki-rov
%{_bindir}/rtrclient
%{_mandir}/man1/rpki-rov.1*
%{_mandir}/man1/rtrclient.1*
%files -n librtr
%defattr(-,root,root)
%{_libdir}/librtr.so.*
%doc LICENSE
%files -n librtr-devel
%defattr(-,root,root)
%dir %{_includedir}/rtrlib
%{_includedir}/rtrlib/*
%{_libdir}/librtr.so
%{_libdir}/pkgconfig/rtrlib.pc
%dir %{_docdir}/rtrlib
%{_docdir}/rtrlib/*
%doc README.md
%changelog
* Thu May 16 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-1mamba
- package created using the webbuild interface