~ubuntu-branches/ubuntu/karmic/usbutils/karmic

« back to all changes in this revision

Viewing changes to usbutils.spec

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2005-11-15 21:38:31 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20051115213831-v0iio2lsu9g8e01k
Tags: 0.71+cvs20051029-2ubuntu1
Resynchronise with Debian.  (Yes, really me!)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%define name    usbutils
 
2
%define version 0.12
 
3
%define release 1
 
4
Name:           %{name}
 
5
Version:        %{version}
 
6
Release:        %{release}
 
7
Source:         http://usb.cs.tum.edu/download/%{name}-%{version}.tar.gz
 
8
Copyright:      GNU GPL
 
9
Buildroot:      /tmp/%{name}-%{version}-root
 
10
ExclusiveOS:    Linux
 
11
Summary: Linux USB utilities.
 
12
Group: Applications/System
 
13
BuildPrereq: libusb-devel
 
14
 
 
15
%description
 
16
This package contains an utility for inspecting
 
17
devices connected to an USB bus.
 
18
 
 
19
It requires kernel version 2.3.99-pre7 or newer (supporting
 
20
the /proc/bus/usb interface).
 
21
 
 
22
%prep
 
23
%setup -q
 
24
 
 
25
%build
 
26
CFLAGS="$RPM_OPT_FLAGS -Wall" ./configure --prefix=/usr --datadir=/usr/share --sbindir=/sbin
 
27
make
 
28
 
 
29
%install
 
30
rm -rf $RPM_BUILD_ROOT
 
31
make DESTDIR=$RPM_BUILD_ROOT install
 
32
#install -d $RPM_BUILD_ROOT/{sbin,/usr/man/man8,/usr/share}
 
33
 
 
34
#install -s lsusb $RPM_BUILD_ROOT/sbin
 
35
#install lsusb.8 $RPM_BUILD_ROOT/usr/man/man8
 
36
#install usb.ids $RPM_BUILD_ROOT/usr/share
 
37
 
 
38
%files
 
39
%defattr(0644, root, root, 0755)
 
40
%attr(0644, root, man) /usr/man/man8/lsusb.8.*
 
41
%attr(0711, root, root) /sbin/lsusb
 
42
%config /usr/share/usb.ids
 
43
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
 
44
 
 
45
%clean
 
46
rm -rf $RPM_BUILD_ROOT
 
47
 
 
48
%changelog
 
49
* Mon Jun 17 2002 Thomas Sailer <t.sailer@alumni.ethz.ch>
 
50
- rev 0.10
 
51
- Patch from Ambrose Li <a.c.li@ieee.org>
 
52
 
 
53
* Fri Nov 23 2001 Thomas Sailer <t.sailer@alumni.ethz.ch>
 
54
- rev 0.9
 
55
- no longer package usbmodules, as it conflicts with hotplug from RedHat 7.2
 
56
 
 
57
* Tue Jun 12 2001 Thomas Sailer <t.sailer@alumni.ethz.ch>
 
58
- rev 0.8
 
59
 
 
60
* Tue Sep 14 1999 Thomas Sailer <sailer@ife.ee.ethz.ch>
 
61
- Initial build