Name: xfce4-sensors-plugin Version: 1.0.0 Release: 1%{?dist} Summary: Sensors plugin for the Xfce panel Group: User Interface/Desktops License: GPLv2+ URL: http://goodies.xfce.org/projects/panel-plugins/%{name} Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.0/%{name}-%{version}.tar.bz2 Patch0: xfce4-sensors-plugin-1.0.0-dso.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: xfce4-panel-devel >= 4.4.0, libxfcegui4-devel >= 4.4.0 BuildRequires: lm_sensors-devel >= 2.8, hddtemp, libnotify-devel >= 0.4 BuildRequires: gettext, perl(XML::Parser), intltool, desktop-file-utils Requires: xfce4-panel >= 4.4.1, lm_sensors >= 2.8, hddtemp ExcludeArch: s390 s390x %description This plugin displays various hardware sensor values in the Xfce panel. %package devel Summary: Development files for xfce4-sensors-plugin Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libxfce4util-devel %description devel Static libraries and header files for the xfce4-sensors-plugin. %prep %setup -q %patch0 -p1 -b .dsofix %build %configure --disable-static --with-pathhddtemp=%{_bindir}/hddtemp make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} %find_lang %{name} rm ${RPM_BUILD_ROOT}%{_libdir}/xfce4/modules/libxfce4sensors.la desktop-file-install --vendor "" \ --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ --delete-original \ ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-sensors.desktop %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_bindir}/xfce4-sensors %dir %{_libdir}/xfce4/modules/ %{_libdir}/xfce4/modules/libxfce4sensors.so.* %{_libexecdir}/xfce4/panel-plugins/%{name} %{_datadir}/applications/xfce4-sensors.desktop %{_datadir}/icons/hicolor/*/apps/xfce-sensors.png %{_datadir}/icons/hicolor/scalable/apps/xfce-sensors.svg %{_datadir}/xfce4/panel-plugins/*.desktop %files devel %defattr(-, root, root,-) %{_libdir}/pkgconfig/libxfce4sensors-1.0.pc %{_libdir}/xfce4/modules/libxfce4sensors.so %changelog * Fri Jun 04 2010 Christoph Wickert <cwickert@fedoraproject.org> - 1.0.0-1 - Update to 1.0.0 - Add patch by Robert Scheck to fix DSO linking (#564840) - Update gtk-icon-cache scriptlets * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.99.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Apr 01 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.10.99.6-4 - Own %%{_libdir}/xfce4/modules/ to fix unowned directory (#474587) * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.99.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Jan 18 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.10.99.6-2 - Rebuild for Xfce 4.6 (Beta 3) * Thu Nov 27 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.10.99.6-1 - Update to 0.10.99.6 - Remove obsolete lm_sensors patch - BuildRequire hddtemp and make sure it's path is detected correctly - Update gtk-update-icon-cache scriptlets * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.10.99.2-4 - Autorebuild for GCC 4.3 * Fri Dec 07 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.10.99.2-3 - Rebuild for Xfce 4.4.2 * Mon Nov 19 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.10.99.2-2 - Add Hans de Goede's patch for lm_sensors-3.0.0-RC1 * Wed Nov 07 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.10.99.2-1 - Update to 0.10.99.2 * Sat Oct 27 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.10.99.1-1 - Update to 0.10.99.1 - Require hddtemp because it is supported now * Sat Aug 25 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.10.0-6 - Rebuild for BuildID feature - Update license tag * Sat Jul 20 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.10.0-5 - Build for ppc(64) as lm_sensors is available on these architectures now. * Thu May 17 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.10.0-4 - ExcludeArch ppc64 * Sat Apr 28 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.10.0-3 - Rebuild for Xfce 4.4.1 * Sun Jan 28 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.10.0-2 - Rebuild for XFCE 4.4. - Update gtk-icon-cache scriptlets. * Thu Oct 05 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.10.0-1 - Update to 0.10.0. * Wed Sep 13 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.9.0-2 - Rebuild for XFCE 4.3.99.1. - BR perl(XML::Parser). * Mon Sep 04 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.9.0-1 - Update to 0.9.0 on XFCE 4.3.90.2. * Mon Sep 04 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.7.0-6 - Mass rebuild for Fedora Core 6. * Tue Apr 11 2006 Christoph Wickert <fedora wickert at arcor de> - 0.7.0-5 - Require xfce4-panel. * Sat Feb 18 2006 Christoph Wickert <fedora wickert at arcor de> - 0.7.0-4 - Rebuild for Fedora Extras 5. * Sun Jan 22 2006 Christoph Wickert <fedora wickert at arcor de> - 0.7.0-3 - ExcludeArch ppc. * Thu Dec 01 2005 Christoph Wickert <fedora wickert at arcor de> - 0.7.0-2 - Add libxfcegui4-devel BuildReqs. - Fix %%defattr. * Mon Nov 14 2005 Christoph Wickert <fedora wickert at arcor de> - 0.7.0-1 - Initial Fedora Extras version. - Update to 0.7.0. - disable-static instead of removing .a files. * Fri Sep 23 2005 Christoph Wickert <fedora wickert at arcor de> - 0.6.2-1.fc4.cw - Update to 0.6.2. - Add libxml2 BuildReqs. * Sat Jul 09 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.0-1.fc4.cw - Rebuild for Core 4. * Wed Apr 13 2005 Christoph Wickert <fedora wickert at arcor de> - 0.3.0-1.fc3.cw - Initial RPM release.