summaryrefslogtreecommitdiffstats
path: root/redhat/applications/ksensors/ksensors-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-07-25 14:08:32 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-07-25 14:08:32 +0200
commit86cd0dafafa50d8551e4b62e983fef06db50cf4a (patch)
tree2d80fed9e00e7b6ea1c6130e2cb16da9e6421772 /redhat/applications/ksensors/ksensors-14.0.0.spec
parenta39456d7ca821b26b564c357de656097653f8352 (diff)
downloadtde-packaging-86cd0dafafa50d8551e4b62e983fef06db50cf4a.tar.gz
tde-packaging-86cd0dafafa50d8551e4b62e983fef06db50cf4a.zip
RPM Packaging: add ksensors
Diffstat (limited to 'redhat/applications/ksensors/ksensors-14.0.0.spec')
-rw-r--r--redhat/applications/ksensors/ksensors-14.0.0.spec124
1 files changed, 10 insertions, 114 deletions
diff --git a/redhat/applications/ksensors/ksensors-14.0.0.spec b/redhat/applications/ksensors/ksensors-14.0.0.spec
index f694b3a94..4c95539eb 100644
--- a/redhat/applications/ksensors/ksensors-14.0.0.spec
+++ b/redhat/applications/ksensors/ksensors-14.0.0.spec
@@ -24,7 +24,7 @@
Name: trinity-ksensors
Version: 0.7.3
-Release: 21%{?dist}%{?_variant}
+Release: %{?!preversion:21}%{?preversion:20_%{preversion}}%{?dist}%{?_variant}
Summary: Trinity Frontend to lm_sensors
Group: Applications/System
@@ -34,9 +34,13 @@ URL: http://ksensors.sourceforge.net/
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: trinity-tdelibs-devel >= 14.0.0
-BuildRequires: gettext
+
BuildRequires: desktop-file-utils
+BuildRequires: trinity-tqt3-devel >= 3.5.0
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-arts-devel >= %{tde_version}
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: gettext
%if 0%{?suse_version}
BuildRequires: libsensors4-devel
@@ -76,14 +80,13 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--exec-prefix=%{tde_prefix} \
--disable-dependency-tracking \
--disable-rpath \
- --with-extra-includes=%{tde_includedir}/tqt \
- --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \
--bindir=%{tde_bindir} \
--libdir=%{tde_libdir} \
--datadir=%{tde_datadir} \
--includedir=%{tde_tdeincludedir} \
--enable-closure
+%__make clean
%__make %{?_smp_mflags}
@@ -96,7 +99,7 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
%__ln_s ../applnk/Utilities/ksensors.desktop \
$RPM_BUILD_ROOT%{tde_datadir}/autostart
-%find_lang ksensors
+%find_lang %{tde_pkg}
%clean
@@ -116,7 +119,7 @@ for f in locolor hicolor ; do
done
-%files -f ksensors.lang
+%files -f %{tde_pkg}.lang
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING FAQ README TODO
%lang(es) %doc LEEME
@@ -141,110 +144,3 @@ done
* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.7.3-19p3
- Initial release for TDE 3.5.13.1
-
-* Thu Dec 22 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-19p2
-- Update Debian patch to -18 release
-
-* Mon Nov 07 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-19p1
-- Rebuilt for RHEL 6, RHEL 5, Fedora 15 with TDE 3.5.13
-
-* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-19
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-18
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
-
-* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-17
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-
-* Fri Feb 15 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.3-16
-- Update Debian patch to -15 release
-
-* Thu Jan 3 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.3-15
-- Change BuildRequires: kdelibs-devel into kdelibs3-devel
-
-* Sun Nov 11 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.3-14
-- Patch for and Rebuild against lm_sensors-3.0.0
-
-* Sun Nov 11 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.3-13
-- Fix reading of min and max tresholds from libsensors
-
-* Mon Aug 13 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.3-12
-- Update License tag for new Licensing Guidelines compliance
-
-* Fri Jul 27 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.3-11
-- Remove OnlyShowIn=KDE; from .desktop file (I like using ksensors under GNOME,
- works fine grumbel)
-
-* Fri Jul 27 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.7.3-10
-- Add icon-cache update scriptlets
-- Add Requires: hicolor-icon-theme for dir ownership
-
-* Fri Jul 20 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-9
-- Sync Exclu(de|sive)Arch with new lm_sensors (#249060).
-
-* Tue Jun 26 2007 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-8
-- Update Debian patchset to -14 for additional fixes and translations;
- drop our hddtemp detection patch in favour of the one included in it.
-- Drop Application and X-Fedora categories from .desktop file, add GenericName.
-- Make autostart checkbox effective again (#242570).
-- Convert docs to UTF-8.
-
-* Sat Sep 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-7
-- Apply Debian -11 patchset for upstream radio button state fix,
- support for hddtemp with SCSI disks and more translations.
-
-* Wed Aug 30 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-6
-- Rebuild.
-
-* Wed Feb 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-5
-- Rebuild.
-
-* Thu Nov 3 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-4
-- Clean up build dependencies.
-
-* Thu May 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.7.3-3
-- Sync arch availability with FC4 lm_sensors (%%{ix86}, x86_64, alpha).
-- Reduce directory ownership bloat.
-
-* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.7.3-2
-- rebuilt
-
-* Sat Aug 21 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.3-0.fdr.1
-- Update to 0.7.3, most patches applied upstream.
-- Disable dependency tracking to speed up the build.
-
-* Tue Jul 20 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.fdr.4
-- Force use of multithreaded Qt with --enable-mt to fix build on FC2.
-- Sync Debian patch to 0.7.2-16 to get a fix for freeze with hddtemp.
-- Apply upstream patches #913569 and #915725.
-- Disable RPATH.
-- Don't ship the "handbook", it's just a template.
-- Other minor improvements here and there.
-
-* Sat Aug 2 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.fdr.3
-- Own dirs under %%{_datadir}/icons and %%{_docdir}/HTML (bug 21).
-- Don't tweak path to hddtemp.
-- Patch to fix hddtemp detection.
-- s/--enable-xinerama/--with-xinerama/
-- Borrow man page from Debian.
-
-* Sat May 31 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.fdr.2
-- Spec cleanups.
-
-* Fri Apr 4 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.2-0.fdr.1
-- Update to current Fedora guidelines.
-- Move desktop entry to %%{_datadir}/applications using desktop-file-install.
-
-* Sun Feb 23 2003 Warren Togami <warren@togami.com> - 0.7.2-1.fedora.2
-- BuildRequires libart_lgpl-devel needed for Red Hat 8.1
-
-* Sun Feb 23 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.7.2-1.fedora.1
-- Update to 0.7.2.
-- Don't apply startup crash patch, but keep it around for now.
-
-* Sat Feb 15 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.7-1.fedora.2
-- Include startup crash patch from upstream SRPM.
-
-* Sun Feb 9 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.7-1.fedora.1
-- First Fedora release.