You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.7 KiB
72 lines
1.7 KiB
Name: openpgm
|
|
Version: 5.2.122
|
|
%global version_dash 5-2-122
|
|
Release: 1%{?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
|
|
Patch1: openpgm-01-scons.patch
|
|
Patch2: openpgm-02-c-func.patch
|
|
Patch3: openpgm-03-pkgconfig.patch
|
|
Patch4: openpgm-04-py-version-gen.patch
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: python3 python3-scons
|
|
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
|
|
|
|
%build
|
|
scons-3
|
|
#make %%{_smp_mflags}
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
rm %{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
|
|
* Tue Oct 29 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 5.2.122-1
|
|
- First build on EPEL 8
|
|
|