From 221cd90141190eaaed9a50a8848c4ab52253b32e6a4867cf5ce94d0c68a83f44 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 25 Feb 2019 09:32:31 +0000 Subject: [PATCH] Accepting request 678574 from home:agentdero - Package 0.4 for openSUSE OBS-URL: https://build.opensuse.org/request/show/678574 OBS-URL: https://build.opensuse.org/package/show/utilities/brightnessctl?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++ .gitignore | 1 + 0.4.tar.gz | 3 +++ brightnessctl.changes | 44 ++++++++++++++++++++++++++++++++++++ brightnessctl.spec | 52 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 123 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 0.4.tar.gz create mode 100644 brightnessctl.changes create mode 100644 brightnessctl.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/0.4.tar.gz b/0.4.tar.gz new file mode 100644 index 0000000..ea33589 --- /dev/null +++ b/0.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ac86de0df8dcfd60a415465daabca283192ceb8de6c53b8844e628709ccd0cef +size 7170 diff --git a/brightnessctl.changes b/brightnessctl.changes new file mode 100644 index 0000000..a3fbfc9 --- /dev/null +++ b/brightnessctl.changes @@ -0,0 +1,44 @@ +------------------------------------------------------------------- +Sat Feb 23 18:22:26 UTC 2019 - R. Tyler Croy + +- Package 0.4 for openSUSE + +------------------------------------------------------------------- +Sun Sep 24 2017 - Fabio Alessandro Locati + +- Upgrade to 0.3 + +------------------------------------------------------------------- +Wed Aug 02 2017 - Fedora Release Engineering + +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +------------------------------------------------------------------- +Wed Jul 26 2017 - Fedora Release Engineering + +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +------------------------------------------------------------------- +Fri Feb 10 2017 - Fedora Release Engineering + +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +------------------------------------------------------------------- +Thu Jan 19 2017 - Fabio Alessandro Locati + +- Update to 0.2.1 + +------------------------------------------------------------------- +Wed Jan 18 2017 - Fabio Alessandro Locati + +- Update to 0.2 + +------------------------------------------------------------------- +Sun Nov 27 2016 - Fabio Alessandro Locati + +- Improvements thanks to Igor review + +------------------------------------------------------------------- +Sun Nov 27 2016 - Fabio Alessandro Locati + +- Initial packaging diff --git a/brightnessctl.spec b/brightnessctl.spec new file mode 100644 index 0000000..d71f6f9 --- /dev/null +++ b/brightnessctl.spec @@ -0,0 +1,52 @@ +# +# spec file for package brightnessctl +# +# Copyright (c) 2019 R Tyler Croy +# Copyright (c) 2016 Fabio Alessandro Locati +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: brightnessctl +Version: 0.4 +Release: 0%{?dist} +Summary: Read and control device brightness +License: MIT +Group: System/Management +URL: https://github.com/Hummer12007/%{name} +Source: https://github.com/Hummer12007/brightnessctl/archive/%{version}.tar.gz +BuildRequires: gcc +BuildRequires: make + +%description +Utility to read and control the display brightness. + +%prep +%autosetup + +%build +export CFLAGS="%{optflags}" +export MODE="4755" +%make_build + +%install +%make_install DESTDIR=%{buildroot} UDEVDIR=%{_udevrulesdir} + +%files +%doc README.md +%license LICENSE +%{_bindir}/%{name} +%{_udevrulesdir}/90-brightnessctl.rules +%{_mandir}/man1/brightnessctl.1%{?ext_man} + +%changelog