ALT Linux repos
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
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