From 21489180be7a4a32ad5c486ea71823831afe9c90 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 24 Feb 2024 10:33:44 +0100 Subject: [PATCH] package created using the webbuild interface [release 5.3.128-1mamba;Fri Feb 23 2024] --- README.md | 2 ++ openpgm.spec | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 openpgm.spec diff --git a/README.md b/README.md index a7ea4de..a387877 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # openpgm +Library implementing the Pragmatic General Multicast (PGM, RFC3208) reliable transport protocol (OpenPGM). + diff --git a/openpgm.spec b/openpgm.spec new file mode 100644 index 0000000..02984c4 --- /dev/null +++ b/openpgm.spec @@ -0,0 +1,77 @@ +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 +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 5.3.128-1mamba +- package created using the webbuild interface