From 87825acae298301999048b88a25e60b3789882ad Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:28:31 +0100 Subject: [PATCH] rebuilt with python 3.7 [release 1.2.0-2mamba;Sat Feb 19 2022] --- fluxgui.spec | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/fluxgui.spec b/fluxgui.spec index 16fd32c..b7b4920 100644 --- a/fluxgui.spec +++ b/fluxgui.spec @@ -1,51 +1,51 @@ Name: fluxgui Version: 1.2.0 -Release: 1mamba +Release: 2mamba Summary: Better lighting for Linux Group: Graphical Desktop/Applications/Utilities Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://github.com/xflux-gui/fluxgui.git -## GITSOURCE https://github.com/xflux-gui/fluxgui.git v1.2.0 +URL: https://github.com/xflux-gui/fluxgui Source: https://github.com/xflux-gui/fluxgui.git/v%{version}/fluxgui-%{version}.tar.bz2 License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: ldconfig BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXrandr-devel BuildRequires: libXxf86vm-devel BuildRequires: libgcc +BuildRequires: libpython3-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END -Requires: python-pexpect-py36 -Requires: python-ptyprocess-py36 +Requires: python-pexpect-py3 +Requires: python-ptyprocess-py3 Requires: libappindicator3 -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The f.lux indicator applet fluxgui is an indicator applet to control xflux, an application that makes the color of your computer's display adapt to the time of day: warm at night, and like sunlight during the day. Reducing blue light exposure in the evening can help you fall asleep at night. See https://justgetflux.com/research.html for more details. +%debug_package + %prep %setup -q %build -CFLAGS="%{optflags}" %{__python36} setup.py build +CFLAGS="%{optflags}" %{__python3} setup.py build ./download-xflux.py %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python36} setup.py install \ +%{__python3} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ - --install-headers=%{python36_inc} \ - --install-lib=%{python36_sitearch} \ + --install-headers=%{python3_inc} \ + --install-lib=%{python3_sitearch} \ --record=%{name}.filelist -sed -i "s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist install xflux %{buildroot}%{_bindir}/xflux @@ -56,9 +56,9 @@ install xflux %{buildroot}%{_bindir}/xflux %defattr(-,root,root) %{_bindir}/xflux %{_bindir}/fluxgui -%{python36_sitearch}/f.lux_indicator_applet-1.2.0-py3.6.egg-info -%dir %{python36_sitearch}/fluxgui -%{python36_sitearch}/fluxgui/* +%{python3_sitearch}/f.lux_indicator_applet-%{version}-py*.egg-info +%dir %{python3_sitearch}/fluxgui +%{python3_sitearch}/fluxgui/* %{_datadir}/applications/fluxgui.desktop %{_datadir}/glib-2.0/schemas/apps.fluxgui.gschema.xml %{_datadir}/glib-2.0/schemas/gschemas.compiled @@ -74,5 +74,8 @@ install xflux %{buildroot}%{_bindir}/xflux %doc LICENSE %changelog +* Sat Feb 19 2022 Silvan Calarco 1.2.0-2mamba +- rebuilt with python 3.7 + * Sat Jul 20 2019 Silvan Calarco 1.2.0-1mamba - package created using the webbuild interface