2020-11-06 01:19:57 +00:00
|
|
|
%global project_name idxd-config
|
2021-02-18 02:57:49 +00:00
|
|
|
%global debug_package %{nil}
|
2020-11-06 01:19:57 +00:00
|
|
|
|
|
|
|
Name: accel-config
|
2021-12-22 07:31:31 +00:00
|
|
|
Version: 3.4.4
|
2021-07-29 02:44:21 +00:00
|
|
|
Release: 1%{?dist}
|
2020-11-06 01:19:57 +00:00
|
|
|
Summary: Configure accelerator subsystem devices
|
|
|
|
# The entire source code is under GPLv2 except for accel-config
|
2021-02-18 02:57:49 +00:00
|
|
|
# library which is mostly LGPLv2.1, ccan/list which is BSD-MIT and
|
2020-11-06 01:19:57 +00:00
|
|
|
# the rest of ccan which is CC0.
|
2021-02-18 05:40:29 +00:00
|
|
|
License: GPLv2 and LGPLv2+ and MIT and CC0
|
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: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(libkmod)
|
|
|
|
BuildRequires: pkgconfig(uuid)
|
|
|
|
BuildRequires: pkgconfig(json-c)
|
|
|
|
BuildRequires: pkgconfig(libudev)
|
|
|
|
BuildRequires: systemd
|
2020-12-15 01:42:53 +00:00
|
|
|
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
|
2021-02-18 05:40:29 +00:00
|
|
|
License: LGPLv2+
|
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
|
2021-02-18 02:57:49 +00:00
|
|
|
# All source code of configuration library is LGPLv2.1, except
|
2020-11-06 01:19:57 +00:00
|
|
|
# ccan/list which is BSD-MIT and the rest of ccan/ which is CC0.
|
2021-02-18 05:40:29 +00:00
|
|
|
License: LGPLv2+ and MIT and CC0
|
2020-11-06 01:19:57 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
Libraries for %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{project_name}-%{name}-v%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
echo %{version} > version
|
|
|
|
./autogen.sh
|
|
|
|
%configure --disable-static --disable-silent-rules
|
|
|
|
%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}/%{name}.conf.sample
|
2021-12-22 07:31:31 +00:00
|
|
|
%{_datadir}/%{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
|
|
|
|
|
|
|
|
%changelog
|
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
|
|
|
|
|
2021-07-21 17:12:19 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-07-10 09:51:30 +00:00
|
|
|
* 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
|
|
|
|
|
2021-01-25 23:45:12 +00:00
|
|
|
* 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
|