2015-01-14 15:18:42 +01:00
|
|
|
# vim: set sw=4 ts=4 et nu:
|
2017-10-09 11:10:11 +02:00
|
|
|
#
|
|
|
|
# spec file for package openpgm
|
|
|
|
#
|
2018-03-27 12:16:25 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-01-14 15:18:42 +01:00
|
|
|
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2017-10-09 11:10:11 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-01-14 15:18:42 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
|
|
|
%define major 5.2
|
|
|
|
%define mpkg 5_2
|
|
|
|
%define soname 0
|
2017-10-09 11:14:11 +02:00
|
|
|
%define tarball_version 5-2-122
|
2015-01-14 15:18:42 +01:00
|
|
|
%define libname libpgm-%{mpkg}-%{soname}
|
|
|
|
|
2017-10-09 11:10:11 +02:00
|
|
|
Name: openpgm
|
|
|
|
Version: 5.2.122
|
|
|
|
Release: 0
|
|
|
|
Summary: OpenPGM implementation of the Reliable Multicast Protocol
|
2018-03-27 12:16:25 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2017-10-09 11:10:11 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Url: https://github.com/steve-o/openpgm
|
2017-10-09 11:14:11 +02:00
|
|
|
Source: https://github.com/steve-o/openpgm/archive/release-5-2-122.tar.gz#/openpgm-release-%{tarball_version}.tar.gz
|
2017-10-09 11:02:55 +02:00
|
|
|
# PATCH-FIX-UPSTREAM bmwiedemann https://github.com/steve-o/openpgm/pull/48
|
2017-10-09 11:10:11 +02:00
|
|
|
Patch0: libpgm-5.2.122-reproducible.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2017-10-09 11:23:23 +02:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2017-10-09 11:10:11 +02:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: glibc-devel
|
2017-10-09 11:24:30 +02:00
|
|
|
BuildRequires: libtool
|
2017-10-09 11:10:11 +02:00
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: python-devel
|
2015-01-14 15:18:42 +01:00
|
|
|
|
|
|
|
%description
|
2015-02-04 22:20:53 +01:00
|
|
|
OpenPGM is an implementation of the Pragmatic General Multicast (PGM)
|
|
|
|
specification in RFC 3208. PGM is a reliable and scalable multicast protocol
|
|
|
|
that enables receivers to detect loss, request retransmission of lost data, or
|
|
|
|
notify an application of unrecoverable loss.
|
2015-01-14 15:18:42 +01:00
|
|
|
|
|
|
|
%package -n %{libname}
|
2017-10-09 11:10:11 +02:00
|
|
|
Summary: PGM Reliable Multicast Protocol library
|
|
|
|
Group: System/Libraries
|
2015-01-14 15:18:42 +01:00
|
|
|
|
|
|
|
%description -n %{libname}
|
2015-02-04 22:20:53 +01:00
|
|
|
OpenPGM is an implementation of the Pragmatic General Multicast (PGM)
|
|
|
|
specification in RFC 3208. PGM is a reliable and scalable multicast protocol
|
|
|
|
that enables receivers to detect loss, request retransmission of lost data, or
|
|
|
|
notify an application of unrecoverable loss.
|
2015-01-14 15:18:42 +01:00
|
|
|
|
|
|
|
%package devel
|
2017-10-09 11:10:11 +02:00
|
|
|
Summary: Development files for the OpenPGM Reliable Multicast Protocol library
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{libname} = %{version}
|
2015-01-14 15:18:42 +01:00
|
|
|
|
|
|
|
%description devel
|
2015-02-04 22:20:53 +01:00
|
|
|
OpenPGM is an implementation of the Pragmatic General Multicast (PGM)
|
|
|
|
specification in RFC 3208. PGM is a reliable and scalable multicast protocol
|
|
|
|
that enables receivers to detect loss, request retransmission of lost data, or
|
|
|
|
notify an application of unrecoverable loss.
|
|
|
|
|
|
|
|
This subpackage contains the header files for OpenPGM.
|
2015-01-14 15:18:42 +01:00
|
|
|
|
|
|
|
%prep
|
2017-10-09 11:14:11 +02:00
|
|
|
%setup -q -n "%{name}-release-%{tarball_version}/openpgm/pgm"
|
2017-10-09 11:02:55 +02:00
|
|
|
%patch0 -p1
|
2015-01-14 15:18:42 +01:00
|
|
|
|
|
|
|
%build
|
2017-10-24 16:18:16 +02:00
|
|
|
mkdir -p m4
|
2017-10-09 11:23:23 +02:00
|
|
|
autoreconf -fi
|
2015-01-14 15:18:42 +01:00
|
|
|
%{configure} \
|
|
|
|
--disable-static
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
rm %{buildroot}%{_libdir}/libpgm.la
|
|
|
|
|
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %{libname}
|
|
|
|
%defattr(-,root,root)
|
2018-03-27 12:16:25 +02:00
|
|
|
%license COPYING LICENSE
|
2015-01-14 15:18:42 +01:00
|
|
|
%{_libdir}/libpgm-%{major}.so.%{soname}
|
|
|
|
%{_libdir}/libpgm-%{major}.so.%{soname}.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc mibs/PGM-MIB-petrova-01.txt
|
|
|
|
%{_includedir}/pgm-%{major}
|
|
|
|
%{_libdir}/libpgm.so
|
|
|
|
%{_libdir}/pkgconfig/openpgm-%{major}.pc
|
|
|
|
|
|
|
|
%changelog
|