accel-config/accel-config.spec

213 lines
6.4 KiB
RPMSpec
Raw Permalink Normal View History

2020-11-06 01:19:57 +00:00
%global project_name idxd-config
Name: accel-config
Version: 4.1.8
Release: 2%{?dist}
2020-11-06 01:19:57 +00:00
Summary: Configure accelerator subsystem devices
License: GPL-2.0-only
2020-11-06 01:19:57 +00:00
URL: https://github.com/intel/%{project_name}
Source0: %{URL}/archive/%{name}-v%{version}.tar.gz
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
BuildRequires: gcc
BuildRequires: autoconf
BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: automake
BuildRequires: libtool
BuildRequires: openssl-devel
2020-11-06 01:19:57 +00:00
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libkmod)
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(json-c)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(zlib)
2020-11-06 01:19:57 +00:00
BuildRequires: systemd
BuildRequires: make
2020-11-06 01:19:57 +00:00
# accel-config is for configuring Intel DSA (Data-Streaming
2021-02-18 02:57:49 +00:00
# Accelerator) subsystem in the Linux kernel. It supports x86_64 only.
2021-03-29 02:14:36 +00:00
ExclusiveArch: %{ix86} x86_64
2020-11-06 01:19:57 +00:00
%description
Utility library for configuring the accelerator subsystem.
%package devel
Summary: Development files for libaccfg
License: LGPL-2.1-only
2020-11-06 01:19:57 +00:00
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package libs
Summary: Configuration library for accelerator subsystem devices
License: LGPL-2.1-only
2020-11-06 01:19:57 +00:00
Requires: %{name}%{?_isa} = %{version}-%{release}
%description libs
Libraries for %{name}.
%package test
Summary: Tests for accel-config
License: GPL-2.0-only
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description test
Tests for accel-config command.
2020-11-06 01:19:57 +00:00
%prep
%autosetup -p1 -n %{project_name}-%{name}-v%{version}
2020-11-06 01:19:57 +00:00
%build
echo %{version} > version
./autogen.sh
%configure --disable-static --disable-silent-rules --enable-test
2020-11-06 01:19:57 +00:00
%make_build
%install
%make_install
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%check
make check
%files
%license Documentation/COPYING licenses/BSD-MIT licenses/CC0
2021-02-18 02:57:49 +00:00
%license licenses/accel-config-licenses LICENSE_GPL_2_0
2020-11-06 01:19:57 +00:00
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*
%{_sysconfdir}/%{name}/contrib/configs/*
2020-11-06 01:19:57 +00:00
%files libs
%doc README.md
%license Documentation/COPYING licenses/BSD-MIT licenses/CC0
2021-02-18 02:57:49 +00:00
%license licenses/accel-config-licenses accfg/lib/LICENSE_LGPL_2_1
2020-11-06 01:19:57 +00:00
%{_libdir}/lib%{name}.so.*
%files devel
%license Documentation/COPYING
%{_includedir}/%{name}/
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/lib%{name}.pc
%files test
%license Documentation/COPYING LICENSE_GPL_2_0
%doc test/README.md
%{_libexecdir}/accel-config/test/*
2020-11-06 01:19:57 +00:00
%changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4.1.8-2
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jul 29 2024 Jerry Snitselaar <jsnitsel@redhat.com> - 4.1.8-1
- Rebase to 4.1.8 release.
Resolves: RHEL-40014
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4.1.6-3
- Bump release for June 2024 mass rebuild
* Wed Apr 10 2024 Jerry Snitselaar <jsnitsel@redhat.com> - 4.1.6-2
- Fix issue with dsa_user_test_runner device clean up.
Resolves: RHEL-32469
* Sun Mar 24 2024 Jerry Snitselaar <jsnitsel@redhat.com> - 4.1.6-1
- Rebase to 4.1.6 release
Resolves: RHEL-29909
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Oct 10 2023 Jun Miao <jun.miao@intel.com> - 4.1.1-2
- Update to v4.1.1 release
* Tue Sep 26 2023 Jun Miao <jun.miao@intel.com> - 4.1-1
- Update to v4.1 release
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue May 30 2023 Jerry Snitselaar <jsnitsel@redhat.com> - 4.0-2
- Update spec file to use SPDX identifiers
Update to v4.0 release Release 4.0 mainly adds support for DSA2 and IAA features. Changes: [ Jun Miao ] Enables the building of the debuginfo packages in the spec file. [ Colin Ian King ] use buildflags.mk, remove hardcoded CFLAGS debian/accel-config-test.install fix path on copy [ Dave Jiang ] convert all magic number for 1<<12 to PAGE_SIZE fix madvise() call to unmap pages add updated idxd.h definition from kernel source [ Li Zhang ] Remove redundant -f 0x0 in iaa_user_test_runner.sh Fix dedicated mode wq size 1 failure Modify incorrect print information Modify block_on_fault in 2g2q_user_2.conf Move get_random_value() to accel_test.c Add algorithm to do Zcompress8 Add test code of operation Zcompress8 Modify script for executing Zcompress8 test Add algorithm to do Zdecompress8 Add test code of operation Zdecompress8 Modify script for executing Zdecompress8 test Add algorithm to do both Encrypt and Decrypt Add test code of operation Encrypt Modify script for executing Encrypt test Add test code of operation Decrypt Modify script for executing Decrypt test Modify struct in idxd.h for IAA Translation Fetch Add test code of IAA Translation Fetch Modify script for executing IAA Translation Fetch test Add helping information for new parameters Add openssl package installation details Fix bug of Zcompress8 about input size less 128 Remove ats_disable config for iax tests Add identification for IAA1.0/2.0 platform [ Nikhil Rao ] add per-wq prs disable tests [ Ramesh Thomas ] Update format bitmask attrs to match driver Add new API to set and get wq op_config Add option to config-wq to set op_config Change json listing format of bitmasks Add load, save and list config support for op_config Update config-wq doc with op_config details Add unit test for op_config configuration Fix segmentation fault during list cmd in SPR Add API to retrieve iaa_cap when available Add group->desc_progress_limit support Add group->batch_progress_limit support Add wq->prs_disable support Add device->event_log_size support Do not set traffic class in tests Skip op_config test if feature not present Include IAA support in README Fix bug in return value of pasid enabled check [ Tony Zhu ] add DIX Generate operation support add translation fetch operation support Remove traffic config for iax tests Fix dsa_test segmentation fault when do 2G tests Signed-off-by: Jun.Miao <jun.miao@intel.com>
2023-04-23 06:04:13 +00:00
* Sun Apr 23 2023 Jun Miao <jun.miao@intel.com> - 4.0-1
- Update to v4.0 release
* Mon Feb 27 2023 Jun Miao <jun.miao@intel.com> - 3.5.3-1
- Update to v3.5.3 release
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Dec 04 2022 Jun Miao <jun.miao@intel.com> - 3.5.2-3
- Update to v3.5.2 release
* Tue Nov 29 2022 Jun Miao <jun.miao@intel.com> - 3.5.1-2
- Update to v3.5.1 release
* Tue Oct 25 2022 Jun Miao <jun.miao@intel.com> - 3.5.0-1
- Update to v3.5.0 release
* Mon Sep 26 2022 Jun Miao <jun.miao@intel.com> - 3.4.8-2
- Update to v3.4.8 release
* Wed Aug 31 2022 Jun Miao <jun.miao@intel.com> - 3.4.7-1
- Update to v3.4.7 release
* Tue Aug 23 2022 Jun Miao <jun.miao@intel.com> - 3.4.6.5-4
- Update to v3.4.6.5 release
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.6.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri May 06 2022 Jun Miao <jun.miao@intel.com> - 3.4.6.4-2
- Update to v3.4.6.4 release
* Wed Apr 20 2022 Jun Miao <jun.miao@intel.com> - 3.4.6.3-1
- Update to v3.4.6.3 release
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2021-12-22 07:31:31 +00:00
* Wed Dec 22 2021 Yunying Sun <yunying.sun@intel.com> - 3.4.4-1
- Updated to 3.4.4 release
- Added several config example files to package under contrib/configs
2021-09-29 01:47:50 +00:00
* Wed Sep 29 2021 Yunying Sun <yunying.sun@intel.com> - 3.4.2-1
- Updated to 3.4.2 release
2021-08-13 04:35:48 +00:00
* Fri Aug 13 2021 Yunying Sun <yunying.sun@intel.com> - 3.4.1-1
- Updated to 3.4.1 release
2021-07-29 02:44:21 +00:00
* Thu Jul 29 2021 Yunying Sun <yunying.sun@intel.com> - 3.4-1
- Updated to 3.4 release
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sat Jul 10 2021 Björn Esser <besser82@fedoraproject.org> - 3.2-2
- Rebuild for versioned symbols in json-c
2021-06-07 01:01:28 +00:00
* Mon Jun 7 2021 Yunying Sun <yunying.sun@intel.com> - 3.2-1
- Updated to 3.2 release
2021-03-29 02:14:36 +00:00
* Mon Mar 29 2021 Yunying Sun <yunying.sun@intel.com> - 3.1-1
- Added ix86 support back as 3.1 release fixed it
- Updated to 3.1 release
2021-02-18 02:57:49 +00:00
* Thu Feb 18 2021 Yunying Sun <yunying.sun@intel.com> - 3.0.1-1
- Updated to 3.0.1 release
- Removed ix86 support as so far it supports x86_64 only
- Updated licenses following upstream
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2020-11-06 01:19:57 +00:00
* Fri Nov 6 2020 Yunying Sun <yunying.sun@intel.com> - 2.8-1
- Initial Packaging