SPECS: gnome-sensors.spec - rel.2, updated BR/R, added missing BR/...

freetz freetz at pld-linux.org
Fri Jul 21 21:15:32 CEST 2006


Author: freetz                       Date: Fri Jul 21 19:15:32 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel.2, updated BR/R, added missing BR/R, use HEAD deps, register omf
  files, updated descriptions, update icon cache

---- Files affected:
SPECS:
   gnome-sensors.spec (1.25 -> 1.26) 

---- Diffs:

================================================================
Index: SPECS/gnome-sensors.spec
diff -u SPECS/gnome-sensors.spec:1.25 SPECS/gnome-sensors.spec:1.26
--- SPECS/gnome-sensors.spec:1.25	Fri Jul 21 18:37:22 2006
+++ SPECS/gnome-sensors.spec	Fri Jul 21 21:15:27 2006
@@ -1,9 +1,12 @@
 # $Revision$, $Date$
+#
+%define		_orig_name	sensors-applet
+#
 Summary:	GNOME applet that monitors hardware sensors
-Summary(pl):	Aplet GNOME do monitorowania sprzętowych sensorów
+Summary(pl):	Aplet GNOME monitorujący czujniki sprzętowe
 Name:		gnome-sensors
 Version:	1.7.4
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		X11/Applications
 Source0:	http://dl.sourceforge.net/sensors-applet/sensors-applet-%{version}.tar.gz
@@ -12,29 +15,37 @@
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	gettext-devel
-BuildRequires:	gnome-panel-devel >= 2.0.0
-BuildRequires:	gtk+2-devel >= 2:2.6.0
+BuildRequires:	gnome-doc-utils >= 0.7.1
+BuildRequires:	gnome-panel-devel >= 2.14.2
+BuildRequires:	gtk+2-devel >= 2:2.10.0
+BuildRequires:	libnotify-devel >= 0.4.2
 BuildRequires:	libtool
-BuildRequires:	lm_sensors-devel
+BuildRequires:	libxslt-progs >= 1.1.17
+BuildRequires:	lm_sensors-devel >= 2.10.0
 BuildRequires:	pkgconfig
-Requires(post):	GConf2
+BuildRequires:	scrollkeeper
+Requires(post,postun):	gtk+2 >= 2:2.10.0
+Requires(post,postun):	scrollkeeper
+Requires:	hicolor-icon-theme
+Requires:	gnome-panel >= 2.14.2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-GnomeSensors is a simple GNOME Panel applet that displays the current
-readout of any hardware monitoring sensors that are present in your
+GNOME Sensors Applet is a simple applet that displays the current
+readout of any hardware monitoring sensors that are present in
 computer.
 
 %description -l pl
-GnomeSensors jest małym apletem GNOME wyświetlającym wyniki odczytane
-z sensorów monitorujących stan sprzętu.
+GNOME Sensors jest prostym apletem wyświetlającym aktualne odczyty
+dowolnych czujników monitorujących obecych w komputerze.
 
 %prep
-%setup -q -n sensors-applet-%{version}
+%setup -q -n %{_orig_name}-%{version}
 
 %build
-%configure --disable-scrollkeeper
-
+LDFLAGS="%{rpmldflags} -Wl,--as-needed"
+%configure \
+	--disable-scrollkeeper
 %{__make}
 
 %install
@@ -43,20 +54,25 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT 
 
-%find_lang sensors-applet --with-gnome --all-name
+%find_lang %{_orig_name} --with-gnome --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%gconf_schema_install
+%scrollkeeper_update_post
+gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
+
+%postun
+%scrollkeeper_update_post
+gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
 
 %files -f sensors-applet.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_libdir}/sensors-applet
 %{_libdir}/bonobo/servers/SensorsApplet.server
-%{_iconsdir}/*/*/*/sensors-*
+%{_iconsdir}/hicolor/*/*/sensors-*
 %{_pixmapsdir}/sensors-applet
 %{_datadir}/gnome-2.0/ui/SensorsApplet.xml
 %{_datadir}/omf/sensors-applet
@@ -67,6 +83,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26  2006/07/21 19:15:27  freetz
+- rel.2, updated BR/R, added missing BR/R, use HEAD deps, register omf
+  files, updated descriptions, update icon cache
+
 Revision 1.25  2006/07/21 16:37:22  havner
 - 1.7.4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gnome-sensors.spec?r1=1.25&r2=1.26&f=u



More information about the pld-cvs-commit mailing list