Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP5:Update
phoronix-test-suite.18273
phoronix-test-suite.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File phoronix-test-suite.spec of Package phoronix-test-suite.18273
# # spec file for package phoronix-test-suite # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: phoronix-test-suite Version: 10.8.4 Release: 0 Summary: Comprehensive test and benchmarking platform License: GPL-3.0-only Group: System/Benchmark URL: http://www.phoronix-test-suite.com/ Source0: https://phoronix-test-suite.com/releases/phoronix-test-suite-%{version}.tar.gz Patch0: harden_phoromatic-client.service.patch Patch1: harden_phoromatic-server.service.patch Patch2: harden_phoronix-result-server.service.patch Patch3: fix-shebang.patch Patch4: fix-CVE-2022-40704.patch # https://github.com/phoronix-test-suite/phoronix-test-suite/issues/505 [bsc#1175508] BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: shared-mime-info BuildRequires: systemd-rpm-macros BuildRequires: update-desktop-files %if 0%{?suse_version} >= 1550 || ( 0%{?suse_version} >= 1500 && 0%{?sle_version} > 150300 ) Requires: php8 Requires: php8-curl Requires: php8-dom Requires: php8-gd Requires: php8-openssl Requires: php8-pcntl Requires: php8-posix Requires: php8-sockets Requires: php8-zip Requires: php8-zlib %else Requires: php7 Requires: php7-curl Requires: php7-dom Requires: php7-gd Requires: php7-json Requires: php7-openssl Requires: php7-pcntl Requires: php7-posix Requires: php7-sockets Requires: php7-zip Requires: php7-zlib %endif Requires: xdg-utils BuildArch: noarch %systemd_requires %description The Phoronix Test Suite can be used for simply comparing your computer's performance or internal quality assurance purposes under Linux. Results from the Phoronix Test Suite are displayed in a results viewer with optional support for uploading them to PTS Global. This software is based upon the internal tools and extensive Linux benchmarking work done by Phoronix since 2004, with input from tier-one computer hardware vendors. The Phoronix Test Suite ships with over 50 tests and 20 suites. %prep %autosetup -p1 -n %{name} find ob-cache -type f -name *.sh -exec chmod +x {} \; %build %install export DESTDIR=%{buildroot} ./install-sh ${_prefix} %suse_update_desktop_file -i -n %{name} %suse_update_desktop_file -i -n %{name}-launcher %fdupes -s %{buildroot} mkdir %{buildroot}%{_sbindir} ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcphoromatic-client ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcphoromatic-server rm %{buildroot}%{_datadir}/%{name}/pts-core/static/sample-pts-client-update-script.sh rm %{buildroot}%{_datadir}/%{name}/pts-core/external-test-dependencies/scripts/install-macports-packages.sh %pre %service_add_pre phoromatic-client.service phoromatic-server.service phoronix-result-server.service %post %if 0%{?suse_version} < 1330 %desktop_database_post %icon_theme_cache_post %mime_database_post %endif %service_add_post phoromatic-client.service phoromatic-server.service phoronix-result-server.service %preun %service_del_preun phoromatic-client.service phoromatic-server.service phoronix-result-server.service %postun %if 0%{?suse_version} < 1330 %desktop_database_postun %icon_theme_cache_postun %mime_database_postun %endif %service_del_postun phoromatic-client.service phoromatic-server.service phoronix-result-server.service %files %defattr(-,root,root) %license COPYING %doc AUTHORS ChangeLog README.md %doc %{_datadir}/doc/%{name} %doc %{_mandir}/man1/%{name}.1.gz %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/applications/* %{_datadir}/icons/hicolor/ %config(noreplace) %{_sysconfdir}/bash_completion.d/* %{_datadir}/mime/packages/* %dir %{_datadir}/appdata %{_sbindir}/rcphoromatic-client %{_sbindir}/rcphoromatic-server %{_unitdir}/phoromatic-client.service %{_unitdir}/phoromatic-server.service %{_unitdir}/phoronix-result-server.service %{_datadir}/appdata/phoronix-test-suite.appdata.xml %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor