代码拉取完成,页面将自动刷新
%global name_alias pgm
%global version_main 5.3
%global version_dash_main 5-3
%global version_dash %{version_dash_main}-128
Name: openpgm
Version: 5.3.128
Release: 1
License: LGPLv2
Summary: PGM reliable multicast protocol implementation
URL: https://github.com/steve-o/openpgm
Source0: https://github.com/steve-o/openpgm/archive/release-%{version_dash}.tar.gz#/openpgm-release-%{version_dash}.tar.gz
BuildRequires: python3 perl-interpreter dos2unix
BuildRequires: gcc libtool automake autoconf
%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 %{name}-release-%{version_dash}/%{name}/%{name_alias}
dos2unix examples/getopt.c examples/getopt.h
libtoolize --force --copy
aclocal
autoheader
automake --copy --add-missing
autoconf
%build
mv openpgm-5.2.pc.in openpgm-5.3.pc.in
%configure
%make_build
%install
%make_install
%delete_la_and_a
mv -f %{buildroot}%{_includedir}/%{name_alias}-%{version_main}/%{name_alias} %{buildroot}%{_includedir}/
%files
%{_libdir}/*.so.*
%doc COPYING LICENSE
%files devel
%doc examples/
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/openpgm-5.3.pc
%changelog
* Mon Sep 18 2023 wulei <wu_lei@hoperun.com> - 5.3.128-1
- Update to 5.3.128
* Wed Nov 11 2020 huanghaitao <huanghaitao8@huawei.com> - 5.2.122-16
- Change source
* Mon Mar 09 2020 lihao <lihao129@huawei.com> - 5.2.122-15
- Package Init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。