rpms/gnome-applet-sensors/devel .cvsignore, 1.6, 1.7 gnome-applet-sensors.spec, 1.10, 1.11 sources, 1.6, 1.7

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Mon Jul 16 11:04:33 UTC 2007


Author: jwrdegoede

Update of /cvs/extras/rpms/gnome-applet-sensors/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30243

Modified Files:
	.cvsignore gnome-applet-sensors.spec sources 
Log Message:
* Sun Jul 15 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.8.1-1
- New upstream release 1.8.1 (fixes bz 235655, 190509)
- Add gtk-icon-update-cache to post scripts (fixes bz 206529)
- Pass proper directory for omf files to scrollkeeper-update in post script
- Initialize sensors low and high tresholds from libsensors settings
- Various specfile cleanups



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gnome-applet-sensors/devel/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore	31 Aug 2006 23:54:52 -0000	1.6
+++ .cvsignore	16 Jul 2007 11:04:01 -0000	1.7
@@ -1 +1 @@
-sensors-applet-1.7.8.tar.gz
+sensors-applet-1.8.1.tar.gz


Index: gnome-applet-sensors.spec
===================================================================
RCS file: /cvs/extras/rpms/gnome-applet-sensors/devel/gnome-applet-sensors.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- gnome-applet-sensors.spec	2 Sep 2006 06:58:35 -0000	1.10
+++ gnome-applet-sensors.spec	16 Jul 2007 11:04:01 -0000	1.11
@@ -1,20 +1,16 @@
 Name:           gnome-applet-sensors
-Version:        1.7.8
-Release:        3%{?dist}
+Version:        1.8.1
+Release:        1%{?dist}
 Summary:        Gnome panel applet for hardware sensors
-
 Group:          User Interface/Desktops
 License:        GPL
 URL:            http://sensors-applet.sourceforge.net/
-Source0:        http://dl.sourceforge.net/sourceforge/sensors-applet/sensors-applet-%{version}.tar.gz
-
+Source0:        http://downloads.sourceforge.net/sensors-applet/sensors-applet-%{version}.tar.gz
+Patch0:         sensors-applet-1.8.1-get-min-max-from-libsensors.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires: gettext, gnome-doc-utils
-BuildRequires: gnome-panel-devel >= 2.8
-BuildRequires: lm_sensors-devel, libnotify-devel
-BuildRequires: intltool, perl-XML-Parser
-BuildRequires:  scrollkeeper
+BuildRequires:  gnome-panel-devel >= 2.8
+BuildRequires:  gettext gnome-doc-utils lm_sensors-devel libnotify-devel
+BuildRequires:  intltool perl-XML-Parser scrollkeeper
 Requires(post): scrollkeeper
 Requires(postun): scrollkeeper
 
@@ -37,30 +33,39 @@
 
 %prep
 %setup -q -n sensors-applet-%{version}
+%patch0 -p1 -z .minmax
 chmod -x %{_builddir}/sensors-applet-%{version}/AUTHORS
 chmod -x %{_builddir}/sensors-applet-%{version}/NEWS
 chmod -x %{_builddir}/sensors-applet-%{version}/TODO
 chmod -x %{_builddir}/sensors-applet-%{version}/ChangeLog
 
-%build
 
+%build
+# add --with-nvidia once libXNVCtrl has been approved, also add a BR on
+# libXNVCtrl-devel then.   
 %configure --disable-scrollkeeper --enable-libnotify
 make %{?_smp_mflags}
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%makeinstall
-rm $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/icon-theme.cache
-
-# Note: the find_lang macro requires gettext
+make install DESTDIR=$RPM_BUILD_ROOT
 %find_lang sensors-applet
 
+
 %post
-scrollkeeper-update -q -o %{_datadir}/omf/%{name} || :
+scrollkeeper-update -q -o %{_datadir}/omf/sensors-applet || :
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
 
 %postun
 scrollkeeper-update -q || :
+touch --no-create %{_datadir}/icons/hicolor || :
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
 
 
 %clean
@@ -72,13 +77,21 @@
 %doc AUTHORS COPYING ChangeLog NEWS README TODO
 %{_datadir}/gnome-2.0/ui/*.xml
 %{_libdir}/bonobo/servers/*.server
-%{_libexecdir}/*
+%{_libexecdir}/sensors-applet
 %{_datadir}/omf/sensors-applet/
 %{_datadir}/gnome/help/sensors-applet/
 %{_datadir}/pixmaps/sensors-applet/
-%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/icons/hicolor/*/*/*.png
+
 
 %changelog
+* Sun Jul 15 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 1.8.1-1
+- New upstream release 1.8.1 (fixes bz 235655, 190509)
+- Add gtk-icon-update-cache to post scripts (fixes bz 206529)
+- Pass proper directory for omf files to scrollkeeper-update in post script
+- Initialize sensors low and high tresholds from libsensors settings
+- Various specfile cleanups
+
 * Fri Sep 01 2006 Aaron Kurtz <a.kurtz at hardsun.net> - 1.7.8-3
 - Fix broken upgrade path
 
@@ -120,4 +133,3 @@
 
 * Sat Feb 26 2005 Gianluca Sforna <giallu[AT]gmail.com> - 0.6.2-0.1
 - Initial RPM release.
-


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gnome-applet-sensors/devel/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	31 Aug 2006 23:54:52 -0000	1.6
+++ sources	16 Jul 2007 11:04:01 -0000	1.7
@@ -1 +1 @@
-0d71eaae6f4bad3c1b6d44d71929d954  sensors-applet-1.7.8.tar.gz
+929d7106d81d9add78b80514ad848403  sensors-applet-1.8.1.tar.gz




More information about the fedora-extras-commits mailing list