summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2024-06-04 15:17:24 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2024-06-04 15:17:24 +0000
commit2b2635c70e4f8dbc4e3688d158f026d60ee69a2e (patch)
treef9f3059de01faae93f7d8fb3f0702a14f98ab198
parent0652f25d094a6e853382bfd633a50f41a3d1bc01 (diff)
automatic import of lightHEADmasterf40f39
-rw-r--r--.gitignore1
-rw-r--r--light.spec128
-rw-r--r--sources1
3 files changed, 130 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..fca0b1e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/light-1.2.2.tar.gz
diff --git a/light.spec b/light.spec
new file mode 100644
index 0000000..b58cc50
--- /dev/null
+++ b/light.spec
@@ -0,0 +1,128 @@
+Name: light
+Version: 1.2.2
+Release: 9%{?dist}
+Summary: Control backlight controllers
+
+License: GPL-3.0-only
+URL: http://haikarainen.github.io/light/
+Source0: https://github.com/haikarainen/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
+
+BuildRequires: gcc
+BuildRequires: help2man
+BuildRequires: automake
+BuildRequires: make
+
+
+%description
+Light is a program to control backlight controllers under GNU/Linux,
+it is the successor of lightscript, which was a bash script
+with the same purpose, and tries to maintain the same functionality.
+
+Features
+
+- Works excellent where other software have been proven unusable
+ or problematic, thanks to how it operates internally
+ and the fact that it does not rely on X.
+- Can automatically figure out the best controller to use,
+ making full use of underlying hardware.
+- Possibility to set a minimum brightness value, as some controllers
+ set the screen to be pitch black at a value of 0 (or higher).
+
+Foo
+
+
+%prep
+%setup -q
+
+
+%build
+%global build_cflags %{optflags} -fcommon
+./autogen.sh
+%configure
+%make_build
+
+
+%install
+%make_install
+
+
+%post
+# Make sure that all saved files have correct permissions
+# after fixing RHBZ 1792875
+if [ -e "%{_sysconfdir}/%{name}" ]; then
+ chown -R :root %{_sysconfdir}/%{name}
+fi
+
+
+%files
+%doc COPYING
+%doc ChangeLog.md
+%doc README.md
+%{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1*
+
+
+%changelog
+* Tue Jun 13 2023 Jakub Kadlcik <frostyx@email.cz> - 1.2.2-9
+- Update License to an SPDX expression
+
+* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
+
+* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Sat Mar 28 2020 Jakub Kadlčík <jkadlcik@redhat.com> - 1.2.2-2
+- Fix post hook for fresh installations where /etc/light
+ does not exist yet
+
+* Fri Mar 20 2020 Jakub Kadlčík <jkadlcik@redhat.com> - 1.2.2-1
+- Upgrade to new upstream version light-1.2.2
+
+* Wed Mar 18 2020 Jakub Kadlčík <jkadlcik@redhat.com> - 1.2.1-5
+- Add post hook to set correct permissions for /etc/light
+
+* Wed Mar 18 2020 Jakub Kadlčík <jkadlcik@redhat.com> - 1.2.1-4
+- Fix RHBZ 1792875 - Escalation of Privileges via "light" SUID Binary
+
+* Sun Feb 16 2020 Jakub Kadlčík <jkadlcik@redhat.com> - 1.2.1-3
+- Explicitly use -fcommon to fix building for F32
+
+* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Tue Nov 12 2019 Jakub Kadlcik <jkadlcik@redhat.com> - 1.2.1-1
+- Upgrade to new upstream version light-1.2.1
+
+* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Thu Jun 21 2018 Jakub Kadlcik <jkadlcik@redhat.com> - 1.1.2-1
+- Upgrade to new upstream version light-1.1
+
+* Sun Jun 10 2018 Jakub Kadlcik <jkadlcik@redhat.com> - 1.1-1
+- Upgrade to new upstream version light-1.1
+
+* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Mon Aug 14 2017 Jakub Kadlcik <frostyx@email.cz> 1.0-1
+- initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..1e62b5a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e6738f3617c1ff84d43f725b26866308 light-1.2.2.tar.gz