mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-23 23:37:48 -05:00
93 lines
2.7 KiB
RPMSpec
93 lines
2.7 KiB
RPMSpec
%global _name OpenRGB
|
|
|
|
Name: openrgb
|
|
Version: __VERSION__
|
|
Release: 0%{?dist}
|
|
Summary: Open source RGB lighting control that doesn't depend on manufacturer software
|
|
|
|
License: GPLv2
|
|
URL: https://gitlab.com/CalcProgrammer1/%{_name}
|
|
|
|
BuildRequires: gcc-c++ libusbx-devel libstdc++-devel qt5-qtbase-devel qt5-linguist desktop-file-utils hidapi-devel mbedtls-devel systemd-rpm-macros
|
|
Requires: hicolor-icon-theme
|
|
|
|
%description
|
|
Open source RGB lighting control that doesn't depend on manufacturer software. Supports Windows and Linux.
|
|
|
|
ASUS, ASRock, Corsair, G.Skill, Gigabyte, HyperX, MSI, Razer, ThermalTake, and more supported
|
|
|
|
%prep
|
|
cp -r %{_sourcedir}/%{_name}/. %{_builddir}
|
|
|
|
%build
|
|
cd %{_builddir}
|
|
export CXXFLAGS=${CXXFLAGS/-pipe}
|
|
%qmake_qt5 PREFIX=%{_prefix}
|
|
%make_build
|
|
|
|
%install
|
|
%make_install INSTALL_ROOT=%{buildroot}
|
|
|
|
#desktop
|
|
desktop-file-install %{_sourcedir}/%{_name}/qt/org.%{name}.%{_name}.desktop
|
|
|
|
%post -n %{name}
|
|
if [ -S /run/udev/control ]; then
|
|
udevadm control --reload
|
|
udevadm trigger
|
|
fi
|
|
|
|
%files
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/icons/hicolor/*/apps/org.%{name}.%{_name}.png
|
|
%{_datadir}/applications/org.%{name}.%{_name}.desktop
|
|
%{_metainfodir}/org.%{name}.%{_name}.metainfo.xml
|
|
%{_udevrulesdir}/60-%{name}.rules
|
|
%{_unitdir}/openrgb.service
|
|
%{_tmpfilesdir}/openrgb.conf
|
|
%license LICENSE
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Sun Jul 9 2023 Adam Honse <calcprogrammer1@gmail.com> - 0.9-0
|
|
- Updated to 0.9
|
|
|
|
* Tue Nov 29 2022 Adam Honse <calcprogrammer1@gmail.com> - 0.8.1-0
|
|
- Updated to 0.8.1
|
|
|
|
* Sun Nov 27 2022 Adam Honse <calcprogrammer1@gmail.com> - 0.8-0
|
|
- Updated to 0.8
|
|
|
|
* Mon Jan 03 2022 Morgan Guimard <morgan.gimard@gmail.com> 0.7.1-1
|
|
- Add linguist package from qt and add lrelease build step.
|
|
|
|
* Thu Dec 30 2021 Adam Honse <calcprogrammer1@gmail.com> - 0.7.1-0
|
|
- Updated to 0.7.1
|
|
|
|
* Thu Dec 30 2021 Adam Honse <calcprogrammer1@gmail.com> - 0.7-0
|
|
- Updated to 0.7
|
|
|
|
* Sun Dec 12 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.1-2
|
|
- build: Fix udev rules install path | MR#933
|
|
|
|
* Tue Jun 1 2021 Adam Honse <calcprogrammer1@gmail.com> - 0.6.1-0
|
|
- Updated to 0.6-1
|
|
|
|
* Mon May 31 2021 Adam Honse <calcprogrammer1@gmail.com> - 0.6-0
|
|
- Updated to 0.6
|
|
|
|
* Mon May 03 2021 Pol Rius <alpemwarrior@gmail.com> - 0.5-0
|
|
- Modified to build in Gitlab's CI
|
|
|
|
* Mon Dec 07 2020 Artem S. Tashkinov <aros gmx com> - 0.5-0
|
|
- Updated to 0.5
|
|
|
|
* Mon Sep 28 2020 Artem S. Tashkinov <aros gmx com> - 0.4-0
|
|
- Updated to 0.4
|
|
|
|
* Sat May 16 2020 Carlos Mogas da Silva <r3pek@r3pek.org> - 0.2-2
|
|
- Applied review changes in https://bugzilla.redhat.com/show_bug.cgi?id=1835958#c1
|
|
|
|
* Thu May 14 2020 Carlos Mogas da Silva <r3pek@r3pek.org> - 0.2-1
|
|
- Initial import
|