openpgm/openpgm.spec

78 lines
2.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: openpgm
Version: 5.3.128
Release: 1mamba
Summary: Library implementing the Pragmatic General Multicast (PGM, RFC3208) reliable transport protocol (OpenPGM)
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/steve-o/openpgm
Source: https://github.com/steve-o/openpgm.git/release-%{version}/openpgm-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
Library implementing the Pragmatic General Multicast (PGM, RFC3208) reliable transport protocol (OpenPGM).
%package -n libpgm
Group: System/Libraries
Summary: Library implementing the Pragmatic General Multicast (PGM, RFC3208) reliable transport protocol (OpenPGM)
%description -n libpgm
Library implementing the Pragmatic General Multicast (PGM, RFC3208) reliable transport protocol (OpenPGM).
This package contains shared libraries for %{name}.
%package -n libpgm-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: libpgm = %{?epoch:%epoch:}%{version}-%{release}
%description -n libpgm-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
cd openpgm/pgm
mv openpgm-5.2.pc.in openpgm-5.3.pc.in
./bootstrap.sh
%build
cd openpgm/pgm
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C openpgm/pgm
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libpgm -p /sbin/ldconfig
%postun -n libpgm -p /sbin/ldconfig
%files -n libpgm
%defattr(-,root,root)
%{_libdir}/libpgm-%{majver}.so.*
%doc openpgm/pgm/LICENSE
%files -n libpgm-devel
%defattr(-,root,root)
%dir %{_includedir}/pgm-%{majver}
%dir %{_includedir}/pgm-%{majver}/pgm
%{_includedir}/pgm-%{majver}/pgm/*.h
%{_libdir}/libpgm.a
%{_libdir}/libpgm.so
%{_libdir}/pkgconfig/openpgm-%{majver}.pc
%changelog
* Fri Feb 23 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.3.128-1mamba
- package created using the webbuild interface