2007-01-16 00:40:20 +01:00
|
|
|
#
|
2013-06-29 14:52:11 +02:00
|
|
|
# spec file for package usbview
|
2007-01-16 00:40:20 +01:00
|
|
|
#
|
2022-01-21 15:35:34 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-01-16 00:40:20 +01:00
|
|
|
#
|
2009-06-18 00:32:47 +02:00
|
|
|
# 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.
|
|
|
|
|
2022-01-02 16:43:05 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:40:20 +01:00
|
|
|
#
|
|
|
|
|
2009-06-18 00:32:47 +02:00
|
|
|
|
|
|
|
Name: usbview
|
2022-01-23 14:53:42 +01:00
|
|
|
Version: 3.0
|
2013-06-29 14:52:11 +02:00
|
|
|
Release: 0
|
2009-12-30 00:31:32 +01:00
|
|
|
Summary: USB Topology and Device Viewer
|
2022-01-02 16:43:05 +01:00
|
|
|
License: GPL-2.0-only
|
2009-06-18 00:32:47 +02:00
|
|
|
Group: Hardware/Other
|
2022-01-02 16:43:05 +01:00
|
|
|
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
|
2013-06-29 14:52:11 +02:00
|
|
|
BuildRequires: gtk3-devel
|
2009-12-30 00:31:32 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2007-01-16 00:40:20 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
USBView is a GTK program that displays the topography of the devices
|
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2022-01-02 16:43:05 +01:00
|
|
|
sh autogen.sh
|
2022-01-24 12:40:14 +01:00
|
|
|
%configure --disable-polkit
|
2007-01-16 00:40:20 +01:00
|
|
|
|
|
|
|
%install
|
2022-01-02 16:43:05 +01:00
|
|
|
%make_install
|
|
|
|
%suse_update_desktop_file -i %{name} System Monitor
|
2007-01-16 00:40:20 +01:00
|
|
|
|
|
|
|
%files
|
2022-01-02 16:43:05 +01:00
|
|
|
%license LICENSES/GPL-2.0-only.txt
|
2022-01-23 14:53:42 +01:00
|
|
|
%doc ChangeLog README
|
2009-12-30 00:31:32 +01:00
|
|
|
%{_bindir}/usbview
|
|
|
|
%{_datadir}/applications/*.desktop
|
2022-01-02 16:43:05 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/usbview.*
|
|
|
|
%{_mandir}/man?/*.*
|
2007-01-16 00:40:20 +01:00
|
|
|
|
2009-06-18 00:32:47 +02:00
|
|
|
%changelog
|