%global uuid org.%{name}.%{name} Name: corectrl Version: 1.1.1 Release: %mkrel 4 Summary: Friendly hardware control Group: System/Configuration # The entire source code is GPLv3+ except bundled libs: # * Boost: tests/3rdparty/catch # tests/3rdparty/trompeloeil # * BSD: 3rdparty/fmt # * MIT: 3rdparty/easyloggingpp # 3rdparty/pugixml # 3rdparty/units # * Public Domain FindBotan.cmake License: GPLv3+ and Boost and BSD and MIT and Public Domain URL: https://gitlab.com/corectrl/corectrl Source0: https://gitlab.com/corectrl/corectrl/-/archive/v%{version}/%{name}-v%{version}.tar.gz Source1: README.mageia.md BuildRequires: cmake BuildRequires: cmake(KF5Archive) BuildRequires: cmake(KF5Auth) BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(Qt5Charts) BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(Qt5LinguistTools) BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt5Quick) BuildRequires: cmake(Qt5Svg) BuildRequires: cmake(Qt5Widgets) BuildRequires: extra-cmake-modules # For experimental stdc++fs, not in shared lib. BuildRequires: libstdc++-static-devel BuildRequires: pkgconfig(botan-2) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(x11) # * For pidof: Requires: procps-ng # * For pci.ids Requires: hwdata # Used to gather more information # * For glxinfo Recommends: glxinfo # * For lscpu Recommends: util-linux # * For vulkaninfo Recommends: vulkan-tools # https://gitlab.com/corectrl/corectrl/issues/13 Provides: bundled(easyloggingpp) = 9.96.7 Provides: bundled(fmt) = 5.2.1 Provides: bundled(pugixml) = 1.9 Provides: bundled(units) %description CoreCtrl is a Free and Open Source GNU/Linux application that allows you to control with ease your computer hardware using application profiles. It aims to be flexible, comfortable and accessible to regular users. - For setup instructions run: xdg-open %{_docdir}/%{name}/README.mageia.md - or go to the project wiki: https://gitlab.com/corectrl/corectrl/wikis %prep %autosetup -n %{name}-v%{version} -p1 # 'lib64' path fix sed -e 's@DESTINATION lib@DESTINATION %{_lib}@g' -i src/CMakeLists.txt # lib soversion fix echo "set_property(TARGET corectrl_lib PROPERTY SOVERSION 0)" >> src/CMakeLists.txt %build %cmake -DBUILD_TESTING=ON %cmake_build %install %cmake_install install -m 0644 -Dp %{SOURCE1} %{buildroot}%{_docdir}/%{name}/README.mageia.md # Useless symlink without headers rm -f %{buildroot}/%{_libdir}/libcorectrl.so %check %make_build test -C build %files %license COPYING LICENSE %doc README.md README.mageia.md %{_bindir}/%{name} %{_datadir}/applications/%{uuid}.desktop %{_datadir}/dbus-1/system-services/org.%{name}.helper*.service %{_datadir}/dbus-1/system.d/org.%{name}.helper*.conf %{_datadir}/icons/hicolor/*/apps/%{name}.svg %{_datadir}/polkit-1/actions/org.%{name}.helper*.policy %{_libdir}/lib%{name}.so.0* %{_libexecdir}/kauth/%{name}_helper* %{_metainfodir}/%{uuid}.appdata.xml %changelog * Wed Dec 16 2020 umeabot <umeabot> 1.1.1-4.mga8 + Revision: 1658277 - Rebuild for new Qt5 * Sun Nov 08 2020 kekepower <kekepower> 1.1.1-3.mga8 + Revision: 1643687 - Rebuild for Botan2, major 17 * Sat Oct 31 2020 daviddavid <daviddavid> 1.1.1-2.mga8 + Revision: 1640785 - rebuild for new botan2 2.16.0 * Sat Oct 17 2020 akien <akien> 1.1.1-1.mga8 + Revision: 1636582 - Version 1.1.1 * Wed Jul 29 2020 daviddavid <daviddavid> 1.1.0-2.mga8 + Revision: 1609565 - rebuild for new botan2 2.15.0 * Thu Jun 04 2020 akien <akien> 1.1.0-1.mga8 + Revision: 1590307 - Adapt packaging to Mageia guidelines - import corectrl from Fedora Rawhide * Sun May 31 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 1.1.0-1 - Update to 1.1.0 - Disable LTO * Mon Apr 20 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.9-1 - Update to 1.0.9 (basically the same as previous build but now patch upstreamed) * Mon Mar 16 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.8-1 - Update to 1.0.8 * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Nov 23 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.7-2 - Add new missed BR dep: libdrm-devel * Sat Nov 23 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.7-1 - Update to 1.0.7 * Wed Sep 04 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.6-2 - Remove '$(nproc)' from '-flto' for reproducible builds - Tiny cosmetic spec file fixes * Sat Aug 10 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.6-1 - Update to 1.0.6 * Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jul 23 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.5-1 - Update to 1.0.5 - App summary more descriptive now (upstream suggestion) * Wed Jul 17 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.4-4 - Update to 1.0.4 * Mon Jul 15 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.3-15 - Initial package - Thanks to Dead_Mozay <dead_mozay@opensuse.org> for initial spec file - Thanks to Vitaly Zaitsev <vitaly@easycoding.org> for significant help with packaging and review