File gammastep.spec of Package gammastep
Name: gammastep
Version: 2.0.11
Release: %mkrel 1
Summary: Screen color temperature adjustment tool
License: GPLv3+
URL: https://gitlab.com/chinstrap/gammastep
Source0: gammastep-v%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: intltool
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-protocols)
%description
Gammastep adjusts the color temperature of your screen according to time of day,
similar to Redshift. Budgie 10.10 integrates with it for night‑light functionality.
%prep
%setup -q -n gammastep-v%{version}
# regenerate autotools since GitLab snapshot tarball has no configure
autoreconf -fi
%build
%configure --disable-appindicator
%make_build
%install
%make_install
# Remove unwanted indicator files
rm -f %{buildroot}%{_bindir}/gammastep-indicator
rm -rf %{buildroot}%{python3_sitelib}/gammastep_indicator
rm -f %{buildroot}%{_userunitdir}/gammastep-indicator.service
rm -f %{buildroot}%{_datadir}/applications/gammastep-indicator.desktop
rm -f %{buildroot}%{_datadir}/metainfo/gammastep-indicator.appdata.xml
%files
%license COPYING
%doc README NEWS
%{_bindir}/gammastep
%{_userunitdir}/gammastep.service
%{_datadir}/applications/gammastep.desktop
%{_datadir}/icons/hicolor/scalable/apps/gammastep*.svg
%{_datadir}/locale/*/LC_MESSAGES/gammastep.mo
%{_mandir}/man1/gammastep.1*
%changelog
* Thu Jan 15 2026 Henrik <tux4ever@protonmail.com> - 2.0.11-1
- Initial OBS build for Mageia Cauldron / Mageia 10 Alpha