forked from pool/usbview
Accepting request 948385 from Base:System
- Drop polkit (Build)Requires: without a polkit pkexec file, we also do not have to rely on polkit. - Pass --disable-polkit to configure instead of letting make install copy a file which we later delete again. (forwarded request 948383 from dimstar) OBS-URL: https://build.opensuse.org/request/show/948385 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbview?expand=0&rev=17
This commit is contained in:
commit
c90f41596e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:42511e4d43ddc5805bab0dea8aeeea54cc00462d229e04066ed5fb7c065d1b6b
|
|
||||||
size 366337
|
|
@ -1,3 +1,46 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 24 11:30:54 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Drop polkit (Build)Requires: without a polkit pkexec file, we
|
||||||
|
also do not have to rely on polkit.
|
||||||
|
- Pass --disable-polkit to configure instead of letting make
|
||||||
|
install copy a file which we later delete again.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 24 10:48:34 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
- explicitly remove unneeded polkit pkexec file (bsc#1194300).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 22 19:49:27 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.0:
|
||||||
|
- remove need for debugfs/usbdevfs/usbfs file entirely, rely only on
|
||||||
|
sysfs now. This removes the need to run the program as root, which
|
||||||
|
should have never happened.
|
||||||
|
- added SPDX identifiers and .spdx file to make packaging easier for
|
||||||
|
others.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 21 14:20:01 UTC 2022 - Marcus Meissner <meissner@suse.com>
|
||||||
|
|
||||||
|
- update to 2.2:
|
||||||
|
- security issue fixed with polkit (CVE-2022-23220 bsc#1194300).
|
||||||
|
- copyright year fixups and updates
|
||||||
|
- tooltip added to explain red devices have no attached drivers
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 20 23:22:34 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.1:
|
||||||
|
- build warnings fixed
|
||||||
|
- increased max number of interfaces allowed, fixing problem with some
|
||||||
|
USB sound devices.
|
||||||
|
- autogen.sh added
|
||||||
|
- LICENSES directory added and license moved to it
|
||||||
|
- SPDX license headers added
|
||||||
|
- policykit support added
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 29 09:00:30 UTC 2013 - meissner@suse.com
|
Sat Jun 29 09:00:30 UTC 2013 - meissner@suse.com
|
||||||
|
|
||||||
|
37
usbview.spec
37
usbview.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package usbview
|
# spec file for package usbview
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,22 +12,23 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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: usbview
|
Name: usbview
|
||||||
Version: 2.0
|
Version: 3.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: USB Topology and Device Viewer
|
Summary: USB Topology and Device Viewer
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-only
|
||||||
Group: Hardware/Other
|
Group: Hardware/Other
|
||||||
Url: http://www.kroah.com/linux-usb/
|
URL: https://github.com/gregkh/usbview
|
||||||
Source: http://www.kroah.com/linux-usb/%{name}-%{version}.tar.gz
|
Source: https://github.com/gregkh/usbview/archive/refs/tags/v%{version}.tar.gz
|
||||||
Source1: %name.desktop
|
Source1: %{name}.desktop
|
||||||
|
BuildRequires: ImageMagick
|
||||||
|
BuildRequires: automake
|
||||||
BuildRequires: gtk3-devel
|
BuildRequires: gtk3-devel
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
USBView is a GTK program that displays the topography of the devices
|
USBView is a GTK program that displays the topography of the devices
|
||||||
@ -35,27 +36,23 @@ that are plugged into the USB on a Linux machine. It also displays
|
|||||||
information on each of the devices. This can be useful to determine if
|
information on each of the devices. This can be useful to determine if
|
||||||
a device is working properly.
|
a device is working properly.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Greg Kroah-Hartman <greg@kroah.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
sh autogen.sh
|
||||||
|
%configure --disable-polkit
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
%suse_update_desktop_file -i %name System Monitor
|
%suse_update_desktop_file -i %{name} System Monitor
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license LICENSES/GPL-2.0-only.txt
|
||||||
%doc ChangeLog COPYING* README TODO
|
%doc ChangeLog README
|
||||||
%{_bindir}/usbview
|
%{_bindir}/usbview
|
||||||
%{_datadir}/applications/*.desktop
|
%{_datadir}/applications/*.desktop
|
||||||
%doc %{_mandir}/man?/*.*
|
%{_datadir}/icons/hicolor/*/apps/usbview.*
|
||||||
|
%{_mandir}/man?/*.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
3
v3.0.tar.gz
Normal file
3
v3.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:77b163b84b41b040e6713388e89619ae3d146001515771c6bbf44e8a0807deb9
|
||||||
|
size 287791
|
Loading…
Reference in New Issue
Block a user