SPECS: gnome-sensors.spec - updated to 2.2.1 - removed obsolete -lm_sensors...
megabajt
megabajt at pld-linux.org
Mon Jul 21 15:09:41 CEST 2008
Author: megabajt Date: Mon Jul 21 13:09:41 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 2.2.1
- removed obsolete -lm_sensors_3.patch
- added libs, devel and static subpackages
---- Files affected:
SPECS:
gnome-sensors.spec (1.37 -> 1.38)
---- Diffs:
================================================================
Index: SPECS/gnome-sensors.spec
diff -u SPECS/gnome-sensors.spec:1.37 SPECS/gnome-sensors.spec:1.38
--- SPECS/gnome-sensors.spec:1.37 Sun May 4 00:26:12 2008
+++ SPECS/gnome-sensors.spec Mon Jul 21 15:09:36 2008
@@ -5,33 +5,37 @@
Summary: GNOME applet that monitors hardware sensors
Summary(pl.UTF-8): Aplet GNOME monitorujący czujniki sprzętowe
Name: gnome-sensors
-Version: 1.8.2
-Release: 3
+Version: 2.2.1
+Release: 1
License: GPL v2+
Group: X11/Applications
Source0: http://dl.sourceforge.net/sensors-applet/sensors-applet-%{version}.tar.gz
-# Source0-md5: db8e923ebbea9f58bba96a88e3c4c27e
-Patch0: %{name}-lm_sensors_3.patch
+# Source0-md5: 4ba94415125db147efcc1ae76f9703ee
URL: http://sensors-applet.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
-BuildRequires: gnome-doc-utils >= 0.7.2
-BuildRequires: gnome-panel-devel >= 2.15.92
+BuildRequires: gnome-doc-utils >= 0.12.0
+BuildRequires: gnome-panel-devel >= 2.22.0
BuildRequires: gtk+2-devel >= 2:2.10.2
+BuildRequires: intltool >= 0.40.0
+BuildRequires: libgnomeui-devel >= 2.22.0
BuildRequires: libnotify-devel >= 0.4.2
BuildRequires: libtool
BuildRequires: libxslt-progs >= 1.1.17
-BuildRequires: lm_sensors-devel >= 2.10.0
+BuildRequires: lm_sensors-devel >= 3.0.0
BuildRequires: pkgconfig
+BuildRequires: rpmbuild(find_lang) >= 1.23
BuildRequires: rpmbuild(macros) >= 1.311
BuildRequires: scrollkeeper
Requires(post,postun): gtk+2 >= 2:2.10.2
Requires(post,postun): scrollkeeper
+Requires: %{name}-libs = %{version}-%{release}
Requires: hicolor-icon-theme
-Requires: gnome-panel >= 2.15.92
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _libexecdir %{_libdir}/%{name}
+
%description
GNOME Sensors Applet is a simple applet that displays the current
readout of any hardware monitoring sensors that are present in
@@ -41,11 +45,51 @@
GNOME Sensors jest prostym apletem wyświetlającym aktualne odczyty
dowolnych czujników monitorujących obecnych w komputerze.
+%package libs
+Summary: GNOME Sensors Applet library
+Summary(pl.UTF-8): Biblioteka apletu GNOME Sensors
+Group: X11/Libraries
+
+%description libs
+GNOME Sensors Applet library.
+
+%description libs -l pl.UTF-8
+Biblioteka apletu GNOME Sensors.
+
+%package devel
+Summary: Header files for GNOME Sensors Applet library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki apletu GNOME Sensors
+Group: X11/Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+
+%description devel
+Header files for GNOME Sensors Applet library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki apletu GNOME Sensors.
+
+%package static
+Summary: Static GNOME Sensors Applet library
+Summary(pl.UTF-8): Statyczna biblioteka apletu GNOME Sensors
+Group: X11/Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static GNOME Sensors Applet library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka apletu GNOME Sensors.
+
%prep
%setup -q -n %{_orig_name}-%{version}
-%patch0 -p1
%build
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
--disable-scrollkeeper
%{__make}
@@ -54,9 +98,11 @@
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT
-%find_lang %{_orig_name} --with-gnome --all-name
+rm -f $RPM_BUILD_ROOT%{_libdir}/sensors-applet/plugins/*.{a,la}
+
+%find_lang %{_orig_name} --with-gnome --with-omf
%clean
rm -rf $RPM_BUILD_ROOT
@@ -66,19 +112,39 @@
%update_icon_cache hicolor
%postun
-%scrollkeeper_update_post
+%scrollkeeper_update_postun
%update_icon_cache hicolor
+%post libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
+
%files -f sensors-applet.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_libdir}/sensors-applet
+%dir %{_libexecdir}
+%attr(755,root,root) %{_libexecdir}/sensors-applet
+%dir %{_libdir}/sensors-applet
+%dir %{_libdir}/sensors-applet/plugins
+%attr(755,root,root) %{_libdir}/sensors-applet/plugins/*.so
%{_libdir}/bonobo/servers/SensorsApplet.server
%{_iconsdir}/hicolor/*/*/sensors-*
%{_pixmapsdir}/sensors-applet
%{_datadir}/gnome-2.0/ui/SensorsApplet.xml
-%dir %{_omf_dest_dir}/%{_orig_name}
-%{_omf_dest_dir}/%{_orig_name}/*-C.omf
+
+%files libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libsensors-applet-plugin.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libsensors-applet-plugin.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libsensors-applet-plugin.so
+%{_libdir}/libsensors-applet-plugin.la
+%{_includedir}/sensors-applet
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libsensors-applet-plugin.a
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -86,6 +152,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.38 2008/07/21 13:09:36 megabajt
+- updated to 2.2.1
+- removed obsolete -lm_sensors_3.patch
+- added libs, devel and static subpackages
+
Revision 1.37 2008/05/03 22:26:12 hawk
- allow building with lm_sensors 3.x, release 3
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gnome-sensors.spec?r1=1.37&r2=1.38&f=u
More information about the pld-cvs-commit
mailing list