commit suseprime-appindicator for openSUSE:Factory

2020-01-07 Thread root
Hello community,

here is the log from the commit of package suseprime-appindicator for 
openSUSE:Factory checked in at 2020-01-07 23:54:51

Comparing /work/SRC/openSUSE:Factory/suseprime-appindicator (Old)
 and  /work/SRC/openSUSE:Factory/.suseprime-appindicator.new.6675 (New)


Package is "suseprime-appindicator"

Tue Jan  7 23:54:51 2020 rev:2 rq:761509 version:0.1.0

Changes:

--- 
/work/SRC/openSUSE:Factory/suseprime-appindicator/suseprime-appindicator.changes
2019-05-24 11:29:46.201431425 +0200
+++ 
/work/SRC/openSUSE:Factory/.suseprime-appindicator.new.6675/suseprime-appindicator.changes
  2020-01-07 23:55:18.420092154 +0100
@@ -1,0 +2,6 @@
+Tue Jan  7 10:12:40 UTC 2020 - Tomáš Chvátal 
+
+- Format with spec-cleaner
+- Do not pull in any python2 based code
+
+---



Other differences:
--
++ suseprime-appindicator.spec ++
--- /var/tmp/diff_new_pack.W5MVEm/_old  2020-01-07 23:55:19.244092582 +0100
+++ /var/tmp/diff_new_pack.W5MVEm/_new  2020-01-07 23:55:19.244092582 +0100
@@ -1,6 +1,7 @@
 #
 # spec file for package suseprime-appindicator
 #
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2019 Stasiek Michalski .
 #
 # All modifications and additions to the file contributed by third parties
@@ -12,25 +13,24 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 Name:   suseprime-appindicator
 Version:0.1.0
 Release:0
 Summary:SUSE Prime appindicator for switching between GPUs
+License:GPL-2.0-only
 Group:  System/GUI/Other
-License:GPL-2.0
-Url:https://github.com/openSUSE/%{name}
+URL:https://github.com/openSUSE/%{name}
 Source0:%{url}/archive/%{version}/%{name}-%{version}.tar.gz
-
+BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
-BuildRequires:  python-setuptools
-BuildRequires:  python3
-
-Requires:   suse-prime
+BuildRequires:  python-rpm-macros
+BuildRequires:  python3-base
 Requires:   python3-gobject
-
+Requires:   suse-prime
 Supplements:(xfce4-indicator-plugin and suse-prime)
 BuildArch:  noarch
 
@@ -41,10 +41,11 @@
 %setup -q
 
 %build
-# Skip build
+%python3_build
 
 %install
-python3 setup.py install --root=%{buildroot}
+%python3_install
+%fdupes %{buildroot}%{python3_sitelib}
 
 %files
 %{_datadir}/icons/hicolor/symbolic/apps/*




commit suseprime-appindicator for openSUSE:Factory

2019-05-24 Thread root
Hello community,

here is the log from the commit of package suseprime-appindicator for 
openSUSE:Factory checked in at 2019-05-24 11:29:39

Comparing /work/SRC/openSUSE:Factory/suseprime-appindicator (Old)
 and  /work/SRC/openSUSE:Factory/.suseprime-appindicator.new.5148 (New)


Package is "suseprime-appindicator"

Fri May 24 11:29:39 2019 rev:1 rq:704719 version:0.1.0

Changes:

New Changes file:

--- /dev/null   2019-05-02 15:18:01.516169518 +0200
+++ 
/work/SRC/openSUSE:Factory/.suseprime-appindicator.new.5148/suseprime-appindicator.changes
  2019-05-24 11:29:46.201431425 +0200
@@ -0,0 +1,5 @@
+---
+Sat May 11 20:12:04 UTC 2019 - Stasiek Michalski 
+
+- Initial release
+

New:

  suseprime-appindicator-0.1.0.tar.gz
  suseprime-appindicator.changes
  suseprime-appindicator.spec



Other differences:
--
++ suseprime-appindicator.spec ++
#
# spec file for package suseprime-appindicator
#
# Copyright (c) 2019 Stasiek Michalski .
#
# 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:   suseprime-appindicator
Version:0.1.0
Release:0
Summary:SUSE Prime appindicator for switching between GPUs
Group:  System/GUI/Other
License:GPL-2.0
Url:https://github.com/openSUSE/%{name}
Source0:%{url}/archive/%{version}/%{name}-%{version}.tar.gz

BuildRequires:  hicolor-icon-theme
BuildRequires:  python-setuptools
BuildRequires:  python3

Requires:   suse-prime
Requires:   python3-gobject

Supplements:(xfce4-indicator-plugin and suse-prime)
BuildArch:  noarch

%description
SUSE Prime appindicator for switching between Nvidia/Intel GPUs.

%prep
%setup -q

%build
# Skip build

%install
python3 setup.py install --root=%{buildroot}

%files
%{_datadir}/icons/hicolor/symbolic/apps/*
%dir %{_datadir}/%{name}/
%{_datadir}/%{name}/scripts
%{_sysconfdir}/xdg/autostart/%{name}.desktop
%{_bindir}/%{name}
%{python3_sitelib}/suseprimeindicator*

%changelog