smc-tools/smc-tools.spec

112 lines
3.0 KiB
RPMSpec
Raw Normal View History

2018-01-16 11:41:05 +00:00
Name: smc-tools
2021-03-17 13:33:19 +00:00
Version: 1.5.0
Release: 1%{?dist}
2018-01-16 11:41:05 +00:00
Summary: Shared Memory Communication Tools
License: EPL
2021-03-17 13:33:19 +00:00
URL: https://github.com/ibm-s390-linux/smc-tools
Source0: https://github.com/ibm-s390-linux/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
2018-01-16 11:41:05 +00:00
2021-03-17 13:33:19 +00:00
# https://github.com/ibm-s390-linux/smc-tools/commit/c3d1f45abff2433afefaea9d31cd9cda0a7408d3
Patch0: smc-tools-1.5.0-makefile.patch
# https://github.com/ibm-s390-linux/smc-tools/issues/1
Patch1: smc-tools-1.5.0-flags.patch
BuildRequires: make
2018-04-16 12:23:37 +00:00
BuildRequires: gcc
2018-01-16 11:41:05 +00:00
BuildRequires: libnl3-devel
2020-09-23 11:39:57 +00:00
BuildRequires: bash-completion
2018-01-16 11:41:05 +00:00
2021-03-17 13:33:19 +00:00
%ifarch s390 s390x
# for smc_chk
Requires: python3
Requires: man
%endif
2018-01-16 11:41:05 +00:00
%description
The Shared Memory Communication Tools (smc-tools) package enables usage of SMC
sockets in Linux.
%prep
%autosetup
%build
2018-07-09 08:13:49 +00:00
%make_build CFLAGS="%{build_cflags}" LDFLAGS="%{build_ldflags}" V=1
2018-01-16 11:41:05 +00:00
%install
2018-07-09 08:13:49 +00:00
%make_install V=1
2018-01-16 11:41:05 +00:00
%files
%license LICENSE
2021-03-17 13:33:19 +00:00
%doc README.md
%{_bindir}/smcd
%{_bindir}/smcr
2019-02-28 11:07:58 +00:00
%{_bindir}/smc_dbg
2018-01-16 11:41:05 +00:00
%{_bindir}/smc_pnet
%{_bindir}/smc_run
%{_bindir}/smcss
2018-07-09 08:13:49 +00:00
%{_libdir}/libsmc-preload.so*
2018-01-16 11:41:05 +00:00
%{_mandir}/man7/af_smc.7*
2021-03-17 13:33:19 +00:00
%{_mandir}/man8/smcd*.8*
%{_mandir}/man8/smcr*.8*
2018-01-16 11:41:05 +00:00
%{_mandir}/man8/smc_pnet.8*
%{_mandir}/man8/smc_run.8*
%{_mandir}/man8/smcss.8*
2019-02-28 11:07:58 +00:00
%ifarch s390 s390x
2021-03-17 13:33:19 +00:00
%{_bindir}/smc_chk
2019-02-28 11:07:58 +00:00
%{_bindir}/smc_rnics
2021-03-17 13:33:19 +00:00
%{_mandir}/man8/smc_chk.8*
2019-02-28 11:07:58 +00:00
%{_mandir}/man8/smc_rnics.8*
%endif
2020-09-23 11:33:31 +00:00
%{_datadir}/bash-completion/
2018-01-16 11:41:05 +00:00
%changelog
2021-03-17 13:33:19 +00:00
* Wed Mar 17 2021 Dan Horák <dan@danny.cz> - 1.5.0-1
- update to 1.5.0
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2020-09-23 11:33:31 +00:00
* Wed Sep 23 2020 Dan Horák <dan@danny.cz> - 1.3.1-1
- update to 1.3.1
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2019-02-28 11:07:58 +00:00
* Thu Feb 28 2019 Dan Horák <dan@danny.cz> - 1.2.0-1
- update to 1.2.0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-07-09 08:13:49 +00:00
* Mon Jul 09 2018 Dan Horák <dan@danny.cz> - 1.1.0-1
- update to 1.1.0
2018-04-16 12:07:55 +00:00
* Mon Apr 16 2018 Dan Horák <dan@danny.cz> - 1.0.0-4
- fix LDFLAGS injection (#1567902)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-01-16 11:41:05 +00:00
* Wed Jan 10 2018 Dan Horák <dan@danny.cz> - 1.0.0-2
- use make macro
- comment patches
- use distro LDFLAGS in build
* Mon Jan 8 2018 Dan Horák <dan@danny.cz> - 1.0.0-1
- initial Fedora version