2023-12-20 15:16:21 +08:00
|
|
|
%define versioncommit 63d1d465a7c27d661f29d11803c354bda10df53c
|
2019-09-30 11:18:30 -04:00
|
|
|
|
|
|
|
|
Name: tipcutils
|
2023-12-20 15:16:21 +08:00
|
|
|
Version: 3.0.4
|
|
|
|
|
Release: 1
|
|
|
|
|
License: BSD
|
2019-12-31 17:41:21 +08:00
|
|
|
URL: https://sourceforge.net/projects/tipc/
|
2019-09-30 11:18:30 -04:00
|
|
|
Summary: Utils package required to configure TIPC
|
2020-09-10 16:04:39 +08:00
|
|
|
Source0: https://sourceforge.net/code-snapshots/git/t/ti/tipc/tipcutils.git/tipc-%{name}-%{versioncommit}.zip
|
2019-09-30 11:18:30 -04:00
|
|
|
|
2023-12-20 15:16:21 +08:00
|
|
|
Patch1: backport-tipcutils-str_warnings.patch
|
|
|
|
|
Patch2: backport-tipcutils-format_errors.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc autoconf automake libtool libdaemon-devel libmnl-devel make
|
2019-09-30 11:18:30 -04:00
|
|
|
|
|
|
|
|
%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
|
2023-12-20 15:16:21 +08:00
|
|
|
head -n34 include/tipcc.h | tail -n25 | sed -e 's/ \* //g' -e 's/\*//g' > LICENSE
|
|
|
|
|
|
|
|
|
|
# undefined UIO_MAXIOV in iovec_client.c => skip it
|
|
|
|
|
sed -ie 's/ iovec / /g' test/Makefile.am
|
|
|
|
|
|
|
|
|
|
# tipc-trace needs Python2 => skip it
|
|
|
|
|
sed -ie 's/ tipc-trace//g' utils/Makefile.am
|
2019-09-30 11:18:30 -04:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
./bootstrap
|
2023-12-20 15:16:21 +08:00
|
|
|
LDFLAGS="-fPIE" \
|
|
|
|
|
%configure
|
2019-09-30 11:18:30 -04:00
|
|
|
make
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
2019-11-06 19:54:23 +08:00
|
|
|
%license LICENSE
|
2019-09-30 11:18:30 -04:00
|
|
|
%{_sbindir}/tipclog
|
2023-12-20 15:16:21 +08:00
|
|
|
%{_sbindir}/tipc-link-watcher
|
2019-09-30 11:18:30 -04:00
|
|
|
%{_bindir}/tipc-pipe
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README
|
|
|
|
|
%{_mandir}/man1/*.1.gz
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-12-20 15:16:21 +08:00
|
|
|
* Thu Dec 28 2023 xinghe <xinghe2@h-partners.com> - 3.0.4-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update to 3.0.4
|
|
|
|
|
|
2020-09-10 16:04:39 +08:00
|
|
|
* Thu Sep 10 2020 lunankun <lunankun@huawei.com> - 2.2.0-4
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix source0 url
|
|
|
|
|
|
2019-12-31 17:41:21 +08:00
|
|
|
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.2.0-3
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify the spec
|
|
|
|
|
|
2019-11-06 19:54:23 +08:00
|
|
|
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.2.0-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:change the directory of the license file
|
|
|
|
|
|
2019-09-30 11:18:30 -04:00
|
|
|
* Fri Sep 06 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.2.0-1
|
|
|
|
|
- Package init
|