From 647756bb3dbb5762bdccac0d5159f353474da6b2bd55a27f02f99b029dc53409 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 9 Nov 2015 08:43:15 +0000 Subject: [PATCH] - Git build was done by aaz2011@mail.ru - Setting minimum Cmake version - initial package for openSUSE OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/lxqt-sudo?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + lxqt-sudo-0.10.0.tar.xz | 3 ++ lxqt-sudo.changes | 11 +++++++ lxqt-sudo.spec | 68 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 106 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 lxqt-sudo-0.10.0.tar.xz create mode 100644 lxqt-sudo.changes create mode 100644 lxqt-sudo.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/lxqt-sudo-0.10.0.tar.xz b/lxqt-sudo-0.10.0.tar.xz new file mode 100644 index 0000000..5835e23 --- /dev/null +++ b/lxqt-sudo-0.10.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b65fb9dc7b3b866a5fb090b16839308a15998ee30dfb28fae3c33370728fa57 +size 16732 diff --git a/lxqt-sudo.changes b/lxqt-sudo.changes new file mode 100644 index 0000000..fe9f948 --- /dev/null +++ b/lxqt-sudo.changes @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Wed Nov 4 10:18:35 UTC 2015 - mvetter@suse.com + +- Git build was done by aaz2011@mail.ru +- Setting minimum Cmake version + +------------------------------------------------------------------- +Sun Aug 23 09:12:07 UTC 2015 - and.november@opensuse.org + +- initial package for openSUSE + diff --git a/lxqt-sudo.spec b/lxqt-sudo.spec new file mode 100644 index 0000000..e9e69b2 --- /dev/null +++ b/lxqt-sudo.spec @@ -0,0 +1,68 @@ +# +# spec file for package lxqt-sudo +# +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +Name: lxqt-sudo +Version: 0.10.0 +Release: 0 +Summary: GUI frontend for sudo +License: LGPL-2.1 +Group: System/X11/Utilities +Url: https://github.com/lxde/lxqt-sudo +Source: http://downloads.lxqt.org/lxqt/%{version}/%{name}-%{version}.tar.xz +BuildRequires: cmake >= 3.0.2 +BuildRequires: gcc-c++ +BuildRequires: kwindowsystem-devel +BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(lxqt) >= %{version} +Requires: sudo +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +A graphical QT frontend for plain sudo (for requesting optional password in GUI +fashion). +When invoked it simply spawns child sudo process with requested command (and +arguments). If sudo requests user's password, the GUI password dialog is shown +and (after submit) the password is provided to sudo. + +%lang_package + +%prep +%setup -q + +%build +%cmake +make %{?_smp_mflags} + +%install +%cmake_install + +%files +%defattr(-,root,root) +%doc AUTHORS LICENSE +%{_bindir}/%{name} +%{_bindir}/lxsu* +%{_mandir}/man?/%{name}.* +%{_mandir}/man?/lxsu*.* + +%files lang +%defattr(-,root,root) +%dir %{_datadir}/lxqt +%dir %{_datadir}/lxqt/translations +%dir %{_datadir}/lxqt/translations/%{name} +%{_datadir}/lxqt/translations/%{name} +