|
@@ -1,6 +1,6 @@
|
|
|
Name: cpu-g
|
|
|
Version: 0.9.0
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
Summary: shows useful information about your hardware
|
|
|
Summary(ja): お使いのハードウェアに関する有用な情報を表示します
|
|
|
|
|
@@ -15,6 +15,8 @@ Requires: pygtk2 >= 2.10.0
|
|
|
Requires: pygtk2-libglade
|
|
|
Requires: gtk2 >= 2.10.0
|
|
|
|
|
|
+BuildArch: noarch
|
|
|
+
|
|
|
%description
|
|
|
CPU-G is an application that shows useful information
|
|
|
about your hardware. It collects and displays information
|
|
@@ -69,13 +71,9 @@ install -m 644 doc/%{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%post
|
|
|
-touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
update-desktop-database > /dev/null 2>&1 || :
|
|
|
|
|
|
%postun
|
|
|
-touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
-%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
update-desktop-database > /dev/null 2>&1 || :
|
|
|
|
|
|
%files
|
|
@@ -89,5 +87,9 @@ update-desktop-database > /dev/null 2>&1 || :
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Jun 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.0-2
|
|
|
+- changed BuildArch to noarch
|
|
|
+- deleted gtk-update-icon-cache in %%post, %%postun
|
|
|
+
|
|
|
* Sat Jan 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.0-1
|
|
|
- initial build for VineLinux
|