commit
c05843ce61
BIN
libpgm-5.2.122~dfsg.tar.gz
Normal file
BIN
libpgm-5.2.122~dfsg.tar.gz
Normal file
Binary file not shown.
46
openpgm.spec
Normal file
46
openpgm.spec
Normal file
@ -0,0 +1,46 @@
|
||||
Name: openpgm
|
||||
Version: 5.2.122
|
||||
Release: 15
|
||||
License: LGPLv2
|
||||
Summary: PGM reliable multicast protocol implementation
|
||||
URL: https://code.google.com/archive/p/openpgm
|
||||
Source0: https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/openpgm/libpgm-%{version}~dfsg.tar.gz
|
||||
|
||||
BuildRequires: python2 perl-interpreter
|
||||
|
||||
%description
|
||||
OpenPGM implements PGM (Pragmatic General Multicast) following RFC 3208 specification.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for openpgm
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development libraries for OpenPGM.
|
||||
|
||||
%prep
|
||||
%autosetup -n libpgm-%{version}~dfsg/openpgm/pgm
|
||||
|
||||
sed -i "s:#!/usr/bin/python:#!/usr/bin/python2:" version_generator.py
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la_and_a
|
||||
|
||||
%files
|
||||
%{_libdir}/*.so.*
|
||||
%doc COPYING LICENSE
|
||||
|
||||
%files devel
|
||||
%doc examples/
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/openpgm-5.2.pc
|
||||
|
||||
%changelog
|
||||
* Mon Mar 09 2020 lihao <lihao129@huawei.com> - 5.2.122-15
|
||||
- Package Init
|
||||
Loading…
x
Reference in New Issue
Block a user