diff --git a/accel-config.spec b/accel-config.spec index df5bf33efc51c6af32fefc2238cd504509e8644d..2b53c943c65748b6bdcb24b6b28b0a2b9857581a 100644 --- a/accel-config.spec +++ b/accel-config.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 Name: accel-config Version: 3.5.1 Release: %{anolis_release}%{?dist} @@ -6,36 +6,60 @@ Summary: Configure accelerator subsystem devices # The entire source code is under GPLv2 except for accel-config # library which is mostly LGPLv2.1, ccan/list which is BSD-MIT and # the rest of ccan which is CC0. -License: GPLv2 and LGPLv2+ and MIT and CC0 +License: GPLv2 and LGPLv2+ and MIT and CC0 Group: System Environment/Base Source0: https://github.com/intel/idxd-config/archive/refs/tags/%{name}-v%{version}.tar.gz Patch1: 0001-accel-config-test-Fix-drain-descriptor-readback-addr.patch Requires: %{name}-libs = %{version}-%{release} -BuildRequires: autoconf -BuildRequires: asciidoc BuildRequires: xmlto -BuildRequires: automake BuildRequires: libtool +BuildRequires: systemd +BuildRequires: asciidoc BuildRequires: pkgconfig BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(json-c) -BuildRequires: systemd +BuildRequires: autoconf automake ExclusiveArch: x86_64 %description -Utility library for configuring the accelerator subsystem. +Accel-config is an open-source utility library for controlling and configuring +Intel Data Streaming Accelerator (DSA) and Intel Analytics Accelerator (IAA) +sub-systems within the Linux kernel. It provides a user-friendly interface to +configure, manage, and monitor these sub-systems. -%package devel -Summary: Development files for libaccfg -License: LGPLv2.1 -Group: Development/Libraries -Requires: %{name}-libs = %{version}-%{release} +The library supports a range of DSA and IAA hardware accelerators, including +FPGA-based accelerators, which can perform complex data processing tasks such +as compression, encryption, and data analytics. The library enables users to +configure these accelerators to optimize performance for their specific use case. -%description devel -The %{name}-devel package contains libraries and header files for -developing applications that use %{name}. +Accel-config has several key features, including: + +Configuration management: Accel-config provides a unified interface to +configure, manage, and monitor DSA and IAA sub-systems within the Linux kernel. +Users can modify the configuration of individual hardware accelerators and +pipelines to optimize performance. + +Performance monitoring: Accel-config includes a set of monitoring tools that +enable users to monitor the performance of DSA and IAA sub-systems in real-time. +This can help identify performance bottlenecks, optimize system configuration, +and improve overall system performance. + +Debugging tools: Accel-config provides a set of debugging tools that enable +users to diagnose and troubleshoot issues with DSA and IAA sub-systems. This +includes tools for tracing data flow through pipelines, identifying hardware +faults, and testing individual hardware accelerators. + +Scalability: Accel-config is designed to scale to large-scale deployments, +supporting multiple hardware accelerators and pipelines. It can be integrated +with existing monitoring and management tools to provide a unified interface +for managing complex data processing systems. + +Overall, Accel-config is a powerful tool for managing and optimizing Intel DSA +and IAA sub-systems within the Linux kernel. It provides a user-friendly +interface for configuring and monitoring these sub-systems, enabling users to +optimize performance for their specific use case. %package libs @@ -49,6 +73,17 @@ Requires: %{name} = %{version}-%{release} %description libs Libraries for %{name}. +%package devel +Summary: Development files for libaccfg +License: LGPLv2.1 +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + %package doc Summary: Documentation files for %{name} Requires: %{name} = %{version}-%{release} @@ -77,26 +112,26 @@ make check %files %defattr(-,root,root) -%license Documentation/COPYING licenses/BSD-MIT licenses/CC0 -%license licenses/accel-config-licenses LICENSE_GPL_2_0 %dir %{abidir} %{_bindir}/accel-config -%{abidir}/libaccel-config.dump %{_mandir}/man1/accel-config* +%{abidir}/libaccel-config.dump %{_sysconfdir}/accel-config/contrib/configs/* +%license licenses/accel-config-licenses LICENSE_GPL_2_0 +%license Documentation/COPYING licenses/BSD-MIT licenses/CC0 %files libs %defattr(-,root,root) +%{_libdir}/libaccel-config.so.* %license Documentation/COPYING licenses/BSD-MIT licenses/CC0 %license licenses/libaccel-config-licenses accfg/lib/LICENSE_LGPL_2_1 -%{_libdir}/libaccel-config.so.* %files devel %defattr(-,root,root) -%license Documentation/COPYING %{_includedir}/accel-config/ %{_libdir}/libaccel-config.so %{_libdir}/pkgconfig/libaccel-config.pc +%license Documentation/COPYING %files doc %doc README.md @@ -104,6 +139,9 @@ make check %doc Documentation/manpage-base.xsl Documentation/manpage-normal.xsl %changelog +* Wed Apr 12 2023 Xuchun Shang - 3.5.1-2 +- Update some description + * Fri Dec 09 2022 Xuchun Shang - 3.5.1-1 - update to 3.5.1 and fix bug