!1 Package Init

Merge pull request !1 from 窃格瓦拉/master
This commit is contained in:
openeuler-ci-bot 2020-03-09 16:37:29 +08:00 committed by Gitee
commit c05843ce61
2 changed files with 46 additions and 0 deletions

BIN
libpgm-5.2.122~dfsg.tar.gz Normal file

Binary file not shown.

46
openpgm.spec Normal file
View 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