Name: openpgm Version: 5.2.122 %global version_dash 5-2-122 Release: 2%{?dist} Summary: An implementation of the PGM reliable multicast protocol # The license is LGPLv2.1 License: LGPLv2 # New URL is https://github.com/steve-o/openpgm # The files are now on https://code.google.com/archive/p/openpgm/downloads URL: https://github.com/steve-o/%{name} Source0: https://github.com/steve-o/%{name}/archive/release-%{version_dash}.tar.gz#/%{name}-%{version}.tar.gz # All the following patches have been submitted upstream # as a merge request: https://github.com/steve-o/openpgm/pull/64 Patch2: openpgm-02-c-func.patch Patch3: openpgm-03-pkgconfig.patch Patch4: openpgm-04-py-version-gen.patch BuildRequires: libtool automake autoconf BuildRequires: gcc BuildRequires: python3 BuildRequires: perl-interpreter %description OpenPGM is an open source implementation of the Pragmatic General Multicast (PGM) specification in RFC 3208. %package devel Summary: Development files for openpgm Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains OpenPGM related development libraries and header files. %prep %setup -q -n %{name}-release-%{version_dash}/openpgm/pgm %patch1 -p3 %patch2 -p3 %patch3 -p3 %patch4 -p3 libtoolize --force --copy aclocal autoheader automake --copy --add-missing autoconf ./configure --libdir=%{_libdir} %build make %{_smp_mflags} %install rm -rf %{buildroot} make prefix=/usr libdir=%{_libdir} DESTDIR=%{buildroot} install rm -f %{buildroot}%{_libdir}/libpgm.{a,la} %files %doc COPYING LICENSE %{_libdir}/*.so.* %files devel %doc examples/ %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/openpgm-5.2.pc %changelog * Wed Oct 30 2019 Denis Arnaud - 5.2.122-2 - Suppressed the dependency on SCons (as autotools are used rather) * Tue Oct 29 2019 Denis Arnaud - 5.2.122-1 - First build on EPEL 8