usbview/usbview.spec

64 lines
1.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package usbview (Version 1.1)
#
# Copyright (c) 2009 SUSE LINUX Products 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/
#
# norootforbuild
Name: usbview
Version: 1.1
Release: 1
License: GPLv2+
Summary: USB Topology and Device Viewer
Url: http://www.kroah.com/linux-usb/
Group: Hardware/Other
Source: http://www.kroah.com/linux-usb/%{name}-%{version}.tar.bz2
Source1: %name.desktop
BuildRequires: gtk2-devel
BuildRequires: update-desktop-files
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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.
Authors:
--------
Greg Kroah-Hartman <greg@kroah.com>
%prep
%setup -q
%build
%configure
%install
%makeinstall
%suse_update_desktop_file -i %name System Monitor
%files
%defattr(-,root,root)
%doc ChangeLog COPYING* README TODO
%{_bindir}/usbview
%{_datadir}/applications/*.desktop
%doc %{_mandir}/man?/*.*
%changelog