Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37517192
en ru br
Репозитории ALT
S:2.0-alt1
5.1: 1.0-alt1_11deb.1
4.1: 1.0-alt1_11deb
4.0: 1.0-ipl3mdk
3.0: 1.0-ipl3mdk
www.altlinux.org/Changes

Группа :: Система/Ядро и оборудование
Пакет: usbview

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: usbview
Version: 1.0
Release: alt2_11deb
Epoch: 1

Summary: USB topology and device viewer
Group: System/Kernel and hardware
License: GPL
Url: http://www.kroah.com/linux-usb
Packager: Igor Vlasenko <viy at altlinux.ru>

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

Patch0: usbview_1.0-11.diff.gz

# Automatically added by buildreq on Mon Apr 28 2008 (-bi)

BuildRequires: libgtk+2-devel
# packagereq: optimized out:
BuildRequires: fontconfig fontconfig-devel glib2-devel libatk-devel libcairo-devel libfreetype-devel libgtk+2-common libgtk+2-common-devel libpango-devel pkg-config zlib-devel


%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
%patch0 -p1

%build
autoreconf -fisv
%configure
%make_build

%install
mkdir -p $RPM_BUILD_ROOT{%_liconsdir,%_miconsdir,%_niconsdir}
%makeinstall

tar xjf %SOURCE1
install -m 644 usbview.xpm $RPM_BUILD_ROOT%_niconsdir/
install -m 644 mini/usbview.xpm $RPM_BUILD_ROOT%_miconsdir/
install -m 644 large/usbview.xpm $RPM_BUILD_ROOT%_liconsdir/

mkdir -p $RPM_BUILD_ROOT%_desktopdir
cat > $RPM_BUILD_ROOT%_desktopdir/%{name}.desktop <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=UsbView
GenericName=USB viewver
Comment=%{summary}
Icon=%{name}
Exec=%{name}
Terminal=false
Categories=Settings;HardwareSettings;
EOF

# installing debian man pages

install -d ${RPM_BUILD_ROOT}%_man8dir
install -m644 usbview.8 ${RPM_BUILD_ROOT}%_man8dir/

%files
%doc AUTHORS ChangeLog NEWS README TODO
%_bindir/*
%_desktopdir/*
%_liconsdir/*.xpm
%_miconsdir/*.xpm
%_niconsdir/*.xpm
%_man8dir/usbview.8*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin