summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Ulrich Niedermann <hun@n-dimensional.de>2009-12-11 23:46:12 +0100
committerHans Ulrich Niedermann <hun@n-dimensional.de>2009-12-11 23:46:12 +0100
commite843c27ec6935834eb0b3141f5e16211e4eccb9e (patch)
tree827f7f78974b5f653825de568c64a08ab51a153d
parent110489d7a9f607034aa299fe1684bea2098bc931 (diff)
downloadusbview-package-e843c27ec6935834eb0b3141f5e16211e4eccb9e.zip
usbview-package-e843c27ec6935834eb0b3141f5e16211e4eccb9e.tar.gz
usbview-package-e843c27ec6935834eb0b3141f5e16211e4eccb9e.tar.xz
* Fri Dec 11 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1.1-3usbview-1.1-3.fc11
- increasy usage of macros, fix icon permission
-rw-r--r--usbview.spec15
1 files changed, 9 insertions, 6 deletions
diff --git a/usbview.spec b/usbview.spec
index ff22894..dbda162 100644
--- a/usbview.spec
+++ b/usbview.spec
@@ -1,6 +1,6 @@
Name: usbview
Version: 1.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: USB topology and device viewer
Group: Applications/System
@@ -11,8 +11,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel
-Source1: usbview_icon.png
-Source2: usbview.desktop
+Source1: %{name}_icon.png
+Source2: %{name}.desktop
BuildRequires: desktop-file-utils
@@ -42,7 +42,7 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
#install desktop icon
-install -Dp -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/usbview_icon.png
+install -Dp -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}_icon.png
#install desktop file
desktop-file-install \
@@ -59,10 +59,13 @@ rm -rf $RPM_BUILD_ROOT
%doc ChangeLog COPYING* README TODO
%{_bindir}/usbview
%{_mandir}/man8/usbview*
-%{_datadir}/pixmaps/usbview_icon.png
-%{_datadir}/applications/usbview.desktop
+%{_datadir}/pixmaps/%{name}_icon.png
+%{_datadir}/applications/%{name}.desktop
%changelog
+* Fri Dec 11 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1.1-3
+- increasy usage of macros, fix icon permission
+
* Fri Dec 11 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1.1-2
- install desktop icon