rpms/usbview/F-11 import.log, NONE, 1.1 usbview.desktop, NONE, 1.1 usbview.spec, NONE, 1.1 usbview_icon.png, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Itamar Reis Peixoto
itamarjp at fedoraproject.org
Mon Dec 14 21:01:56 UTC 2009
Author: itamarjp
Update of /cvs/pkgs/rpms/usbview/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10371/F-11
Modified Files:
.cvsignore sources
Added Files:
import.log usbview.desktop usbview.spec usbview_icon.png
Log Message:
initial import
--- NEW FILE import.log ---
usbview-1_1-3_fc13:F-11:usbview-1.1-3.fc13.src.rpm:1260824304
--- NEW FILE usbview.desktop ---
[Desktop Entry]
Name=USB Viewer
GenericName=USB Viewer
Comment=USB topology and device viewer
Exec=usbview
Icon=usbview_icon
Terminal=false
Type=Application
Categories=System;
--- NEW FILE usbview.spec ---
Name: usbview
Version: 1.1
Release: 3%{?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
Source1: %{name}_icon.png
Source2: %{name}.desktop
BuildRequires: desktop-file-utils
%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
#install desktop icon
install -Dp -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}_icon.png
#install desktop file
desktop-file-install \
--add-category="System" \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
%{SOURCE2}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING* README TODO
%{_bindir}/usbview
%{_mandir}/man8/usbview*
%{_datadir}/pixmaps/%{name}_icon.png
%{_datadir}/applications/%{name}.desktop
%changelog
* Fri Dec 11 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> - 1.1-3
- increasy usage of macros, fix icon permission
* Fri Dec 11 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> - 1.1-2
- install desktop icon
* Sun Nov 29 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> - 1.1-1
- Initial RPM for fedora
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/usbview/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 14 Dec 2009 17:40:18 -0000 1.1
+++ .cvsignore 14 Dec 2009 21:01:55 -0000 1.2
@@ -0,0 +1 @@
+usbview-1.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/usbview/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 14 Dec 2009 17:40:18 -0000 1.1
+++ sources 14 Dec 2009 21:01:55 -0000 1.2
@@ -0,0 +1 @@
+8bf5e66351156356f3ad07454123affa usbview-1.1.tar.gz
More information about the scm-commits
mailing list