diff options
-rw-r--r-- | .gitmodules | 3 | ||||
l--------- | GNUmakefile | 1 | ||||
m--------- | git-rpm | 0 | ||||
-rw-r--r-- | usbview.spec | 52 |
4 files changed, 56 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..0ccfef1 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "git-rpm"] + path = git-rpm + url = git://fedorapeople.org/~ndim/git-rpm.git diff --git a/GNUmakefile b/GNUmakefile new file mode 120000 index 0000000..9acf7e6 --- /dev/null +++ b/GNUmakefile @@ -0,0 +1 @@ +git-rpm/GNUmakefile
\ No newline at end of file diff --git a/git-rpm b/git-rpm new file mode 160000 +Subproject a70c3714c371745087f65732bb9130dc36e6076 diff --git a/usbview.spec b/usbview.spec new file mode 100644 index 0000000..b4ffdc9 --- /dev/null +++ b/usbview.spec @@ -0,0 +1,52 @@ +Name: usbview +Version: 1.1 +Release: 1%{?dist} +Summary: USB topology and device viewer + +Group: Applications/System +License: GPLv2 +URL: http://www.kroah.com/linux-usb/ +Source0: http://www.kroah.com/linux-usb/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gtk2-devel + +%description +Display information about the topology of the devices connected to the USB bus +on a Linux machine. It also displays detailed information on the individual +devices. + +%prep +%setup -q +# Convert to utf-8 +for file in ChangeLog; do + iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \ + touch -r $file $file.new && \ + mv $file.new $file +done + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +#make prefix=$RPM_BUILD_ROOT%{prefix} install + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc ChangeLog COPYING* README TODO +%{_bindir}/usbview +%{_mandir}/man8/usbview* + + +%changelog +* Sun Nov 29 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1.1-1 +- Initial RPM for fedora + |