forked from pool/usbview
84 lines
2.4 KiB
RPMSpec
84 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package usbview (Version 1.0)
|
|
#
|
|
# 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
|
|
BuildRequires: gtk-devel update-desktop-files
|
|
License: GPL v2 or later
|
|
Group: Hardware/Other
|
|
AutoReqProv: on
|
|
Version: 1.0
|
|
Release: 1043
|
|
Source: http://www.kroah.com/linux-usb/%{name}-%{version}.tar.gz
|
|
Source1: %name.desktop
|
|
Url: http://www.kroah.com/linux-usb/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Summary: USB Topology and Device Viewer
|
|
|
|
%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
|
|
CFLAGS="$RPM_OPT_FLAGS" \
|
|
./configure --mandir=%{_mandir} \
|
|
--prefix=%{_prefix} \
|
|
--infodir=%{_infodir} \
|
|
--sysconfdir=%{_sysconfdir}
|
|
|
|
%install
|
|
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
|
|
make prefix=$RPM_BUILD_ROOT%{_prefix} install
|
|
%suse_update_desktop_file -i %name System Monitor
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc ChangeLog COPYING* README TODO
|
|
/usr/share/applications/*
|
|
%{_prefix}/bin/usbview
|
|
|
|
%changelog
|
|
* Wed Jan 25 2006 mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Thu Jun 30 2005 meissner@suse.de
|
|
- use RPM_OPT_FLAGS correctly (missing \)
|
|
* Sun Jan 11 2004 adrian@suse.de
|
|
- build as user
|
|
* Fri Aug 15 2003 adrian@suse.de
|
|
- add desktop file
|
|
* Tue Sep 17 2002 ro@suse.de
|
|
- removed bogus self-provides
|
|
* Wed Jan 10 2001 grimmer@suse.de
|
|
- Update to 1.0 (bugfix release)
|
|
* Mon Nov 06 2000 ro@suse.de
|
|
- fixed neededforbuild
|
|
* Thu Oct 05 2000 grimmer@suse.de
|
|
- initial package created (version 0.9.0)
|