Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37894931
en ru br
ALT Linux repos
S:2.0-alt1
5.0: 1.0-alt1_11deb.1
4.1: 1.0-alt1_11deb
4.0: 1.0-ipl3mdk
3.0: 1.0-ipl3mdk

Group :: System/Kernel and hardware
RPM: usbview

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: usbview
Version: 1.0
Release: ipl3mdk

Summary: USB topology and device viewer
Group: System/Kernel and hardware
License: GPL
Url: http://www.kroah.com/linux-usb

Source: %url/%name-%version.tar.bz2
Source1: %name-icons.tar.bz2

# Automatically added by buildreq on Sat Dec 16 2000

BuildRequires: XFree86-devel XFree86-libs glib glib-devel gtk+ gtk+-devel m4 texinfo

%description
USBView is a GTK program that displays the topography of the devices that are
plugged into the USB bus 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 or not.

%prep
%setup -q

%build
%configure
%make_build

%install
mkdir -p $RPM_BUILD_ROOT{%_menudir,%_iconsdir}
%makeinstall

bzcat %SOURCE1 |tar xf - -C $RPM_BUILD_ROOT%_iconsdir

cat << EOF >$RPM_BUILD_ROOT%_menudir/%name
?package(%name): \
needs="X11" \
icon="%name.xpm" \
section="Configuration/Hardware" \
title="UsbView" \
longtitle="USB viewver" \
command="%name"
EOF

%post
%update_menus

%postun
%clean_menus

%files
%_bindir/*
%_menudir/*
%_iconsdir/*.xpm
%_iconsdir/*/*.xpm
%doc AUTHORS ChangeLog NEWS README TODO

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin