56 lines
1.8 KiB
RPMSpec
56 lines
1.8 KiB
RPMSpec
Name: usbmon
|
|
Version: 5.4
|
|
Release: 4%{dist}
|
|
Summary: A basic front-end to usbmon
|
|
|
|
Group: System Environment/Base
|
|
License: GPLv2
|
|
URL: http://people.redhat.com/zaitcev/linux/
|
|
Source: http://people.redhat.com/zaitcev/linux/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
%description
|
|
The usbmon program collects and prints a trace of USB transactions as they
|
|
occur between the USB core and HCDs. Analyzing the trace helps to debug the
|
|
kernel USB stack, device firmware, and applications.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
|
# Builds outside of the Koji/Brew fail unless we mkdir. How do other RPMs work?
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8
|
|
install -p -m 644 -t $RPM_BUILD_ROOT/%{_mandir}/man8 usbmon.8
|
|
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
|
|
install -p -m 755 -t $RPM_BUILD_ROOT/%{_sbindir} usbmon
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
#files -f %{name}.lang
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc README COPYING
|
|
%{_sbindir}/usbmon
|
|
%{_mandir}/man8/usbmon.8*
|
|
|
|
%changelog
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Wed Feb 18 2009 Pete Zaitcev <zaitcev@redhat.com> 5.4-1
|
|
- Pull 5.4: Really prevent overflows when printing _and_ rework the size
|
|
calculation. Hopefully fix corruption reported by Paul Bolle.
|
|
|
|
* Thu Dec 18 2008 Pete Zaitcev <zaitcev@redhat.com> 5.3-1
|
|
- Pull 5.3 in: license made explicit in usbmon.c per Fedora review feedback.
|
|
Also, change parse_params to protect print_48 from overflows.
|
|
|
|
* Sun Dec 7 2008 Pete Zaitcev <zaitcev@redhat.com> 5.2-1
|
|
- Initial revision (5.2)
|