diff --git a/usbview-2.0.tar.gz b/usbview-2.0.tar.gz deleted file mode 100644 index cdf4c4e..0000000 --- a/usbview-2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:42511e4d43ddc5805bab0dea8aeeea54cc00462d229e04066ed5fb7c065d1b6b -size 366337 diff --git a/usbview.changes b/usbview.changes index 43355a2..f859d2a 100644 --- a/usbview.changes +++ b/usbview.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Dec 20 23:22:34 UTC 2021 - Dirk Müller + +- 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 diff --git a/usbview.spec b/usbview.spec index f70fb18..4a78e0b 100644 --- a/usbview.spec +++ b/usbview.spec @@ -1,7 +1,7 @@ # # spec file for package usbview # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,22 +12,25 @@ # 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: usbview -Version: 2.0 +Version: 2.1 Release: 0 Summary: USB Topology and Device Viewer -License: GPL-2.0+ +License: GPL-2.0-only Group: Hardware/Other -Url: http://www.kroah.com/linux-usb/ -Source: http://www.kroah.com/linux-usb/%{name}-%{version}.tar.gz -Source1: %name.desktop +URL: https://github.com/gregkh/usbview +Source: https://github.com/gregkh/usbview/archive/refs/tags/v%{version}.tar.gz +Source1: %{name}.desktop +BuildRequires: ImageMagick +BuildRequires: automake BuildRequires: gtk3-devel +BuildRequires: polkit BuildRequires: update-desktop-files -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: polkit %description USBView is a GTK program that displays the topography of the devices @@ -35,27 +38,24 @@ 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 a device is working properly. - - -Authors: --------- - Greg Kroah-Hartman - %prep %setup -q %build +sh autogen.sh %configure %install -%makeinstall -%suse_update_desktop_file -i %name System Monitor +%make_install +%suse_update_desktop_file -i %{name} System Monitor %files -%defattr(-,root,root) -%doc ChangeLog COPYING* README TODO +%license LICENSES/GPL-2.0-only.txt +%doc ChangeLog README TODO %{_bindir}/usbview %{_datadir}/applications/*.desktop -%doc %{_mandir}/man?/*.* +%{_datadir}/icons/hicolor/*/apps/usbview.* +%{_datadir}/polkit-1/actions/org.freedesktop.pkexec.usbview.policy +%{_mandir}/man?/*.* %changelog diff --git a/v2.1.tar.gz b/v2.1.tar.gz new file mode 100644 index 0000000..fa41015 --- /dev/null +++ b/v2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:781cdba9c22ebbe5e1f9c1033ce9d837aac93b06af68724710ed19b26122cbcc +size 283199