commit 6dc201191b5bb4297a36e04e16c579cc9f09d3b0 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:18:30 2019 -0400 Package init diff --git a/tipc-tipcutils-dc8c2d324cda2e80a6e07ee1998fca0839d4a721.zip b/tipc-tipcutils-dc8c2d324cda2e80a6e07ee1998fca0839d4a721.zip new file mode 100644 index 0000000..382ec35 Binary files /dev/null and b/tipc-tipcutils-dc8c2d324cda2e80a6e07ee1998fca0839d4a721.zip differ diff --git a/tipcutils.spec b/tipcutils.spec new file mode 100644 index 0000000..e1213d3 --- /dev/null +++ b/tipcutils.spec @@ -0,0 +1,48 @@ +%define versioncommit dc8c2d324cda2e80a6e07ee1998fca0839d4a721 + +Name: tipcutils +Version: 2.2.0 +Release: 1 +License: BSD and GPLv2 +URL: http://tipc.sourceforge.net/ +Summary: Utils package required to configure TIPC +Source0: https://sourceforge.net/code-snapshots/git/t/ti/tipc/%{name}.git/tipc-%{name}-%{versioncommit}.zip + +BuildRequires: gcc autoconf automake libtool libdaemon-devel + +%description +A fundamental concept in TIPC is that of Service Addressing +which makes it possible for a programmer to chose his own address, +bind it to a server socket and let client programs use only that address for sending messages. + +%package_help + +%prep +%autosetup -n tipc-%{name}-%{versioncommit} -p1 +head -n34 tipclog/tipc.h | tail -n21 | sed -e 's/ \* //g' -e 's/\*//g' > LICENSE + +%build +./bootstrap +%configure +make + +%install +%make_install + +%files +%defattr(-,root,root) +%doc LICENSE +%{_sbindir}/tipclog +%{_bindir}/tipc-pipe + +%files help +%defattr(-,root,root) +%doc README +%{_mandir}/man1/*.1.gz + +%check +make check + +%changelog +* Fri Sep 06 2019 openEuler Buildteam - 2.2.0-1 +- Package init