Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
smartmontools
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 9
[-]
[+]
Changed
smartmontools.spec
@@ -1,11 +1,5 @@ # -# spec file for package smartmontools (Version 5.37.0.20070914) -# -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. -# -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# spec file for package smartmontools (Version 5.38) # # norootforbuild @@ -13,23 +7,21 @@ Name: smartmontools License: GPL v2 or later Group: Hardware/Other -Version: 5.37.0.20070914 +Version: 5.38 Release: 1 #Source: %{name}-%{version}.tar.bz2 Source: sm5-cvs20070914.tar.bz2 Source1: README.SATA Patch: smartmontools-powersave-notify.patch -Patch1: smartmontools-default-enabled.patch -Patch2: smartmontools-lsb-init-script.patch PreReq: %insserv_prereq %fillup_prereq coreutils -%if %suse_version > 1000 +%if 0%{?suse_version} > 1000 Requires: powersave %endif -%if %suse_version > 1020 +%if 0%{?suse_version} > 1020 Requires: licenses BuildRequires: licenses %endif -%if %suse_version < 1000 +%if 0%{?suse_version} < 1000 BuildRequires: kernel-source %endif Url: http://smartmontools.sourceforge.net/ @@ -60,17 +52,13 @@ %prep %setup -q -n sm5 cp -a %{S:1} . -%if %suse_version > 1000 +%if 0%{?suse_version} > 1000 %patch %endif -%if %suse_version >= 1010 -%patch1 -%endif -%patch2 %build ./autogen.sh -%if %suse_version >= 1000 +%if 0%{?suse_version} >= 1000 export CFLAGS="$RPM_OPT_FLAGS -fPIE" export CXXFLAGS="$RPM_OPT_FLAGS -fPIE" export LDFLAGS="-pie" @@ -88,19 +76,19 @@ cp smartd.initd $RPM_BUILD_ROOT%{_sysconfdir}/init.d/smartd chmod +x $RPM_BUILD_ROOT%{_sysconfdir}/init.d/smartd ln -s ../..%{_sysconfdir}/init.d/smartd $RPM_BUILD_ROOT%{_sbindir}/rcsmartd -%if %suse_version > 1000 +%if 0%{?suse_version} > 1000 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/smartmontools cp examplescripts/Example4 $RPM_BUILD_ROOT%{_prefix}/lib/smartmontools/smart-notify chmod +x $RPM_BUILD_ROOT%{_prefix}/lib/smartmontools/smart-notify %endif mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/default echo '#smartd_opts=""' >$RPM_BUILD_ROOT%{_sysconfdir}/default/smartmontools -%if %suse_version < 1010 +%if 0%{?suse_version} < 1010 cp README.SATA $RPM_BUILD_ROOT%{_datadir}/doc/packages/%{name}/ %endif #remove installed files we don't want to package rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/ -%if %suse_version > 1020 +%if 0%{?suse_version} > 1020 ln -sf %{_datadir}/doc/licenses/md5/$(md5sum COPYING | sed 's/ .*//') $RPM_BUILD_ROOT%{_docdir}/%{name}/COPYING %endif @@ -115,7 +103,7 @@ fi %post -%if %suse_version < 1010 +%if 0%{?suse_version} < 1010 # With some broken drivers in older kernels, smartd can hang the system. # Don't start it by default. %{fillup_and_insserv -f smartd} @@ -140,113 +128,15 @@ %defattr(-, root, root) %doc %{_docdir}/%{name} %doc %{_mandir}/man*/* -%if %suse_version > 1000 +%if 0%{?suse_version} > 1000 %{_prefix}/lib/smartmontools %endif %{_sbindir}/* %config(noreplace) %{_sysconfdir}/default/* %{_sysconfdir}/init.d/* %config(noreplace) %{_sysconfdir}/*.conf + %changelog -* Tue Oct 09 2007 - sbrabec@suse.cz -- Updated to the CVS version (#326738): - * Supports SAS discs behind CCISS RAID. -- Removed bogus patch breaking HighPoint RAID (#225639). -* Wed Aug 22 2007 - sbrabec@suse.cz -- Worked around missing %%restart_on_update in older versions. -- Build correctly in older SuSE versions. -* Tue Jul 24 2007 - sbrabec@suse.cz -- Updated to version 5.37: - * Rely on general SAT code instead of Linux specific. - * Increased max line length 128 to 256 characters. - * Added new items into drive database. - * Fixed inclusion of PRI?64 macros from inttypes.h. - * Fix selective self test log revision number. - * Compile fix for SuSE. -- Really start smartd by default on new enough kernels (#201715). -- Fixed behavior for SATA discs (#225639). -* Mon Mar 05 2007 - pgajdos@suse.cz -- fixed 'array subscript is above array bounds' (#239956) -* Mon Jan 22 2007 - ssommer@suse.de -- fix build for automake-0.9b -* Thu Jan 18 2007 - ssommer@suse.de -- support building with automake-1.10 -* Wed Oct 25 2006 - sbrabec@suse.cz -- Updated to the today CVS version: - * Supports SATA devices scanning out of the box (#201715#c9). - * Supports SATA devices behind SCSI ATA Translation layer. - * Supports SATA drives behind HighPoint Raid controllers. - * Supports HP SmartArray RAID controller (cciss) (#186013). -- Updated SATA support stuff. -- Start smartd by default on new enough kernels (#201715). -* Wed Sep 13 2006 - sbrabec@suse.cz -- Integrated with powersave. -- Use upstream init script. -* Thu Sep 07 2006 - sbrabec@suse.cz -- Updated to version 5.36: - * Additions to the table of known drives. - * Works 'out of the box' with Linux SATA libata. - * smartd option added to list test schedules. - * smartctl option added to list part of drive database. - * Various improvements for SCSI disks and logs. - * Printing of drive family info. - * SCSI disks: output size of grown defect list. - * Added info about drive family to 'smartctl -i' output. - * Added option ',q' for smartd '-n' directive to suppress - 'skipping checks' message which may spin up laptop disk. - * Added message if smartd '-n' check power mode spins up disk. -* Wed Jan 25 2006 - mls@suse.de -- converted neededforbuild to BuildRequires -* Tue Jun 21 2005 - ro@suse.de -- use RPM_OPT_FLAGS -- build with fPIE/pie -* Fri Mar 18 2005 - sbrabec@suse.cz -- Additional information on SATA support. -* Tue Feb 22 2005 - sbrabec@suse.cz -- Added comments on temperature data in smartd.conf (#50156). -* Mon Jan 24 2005 - sbrabec@suse.cz -- Updated to version 5.33. -* Mon Jan 03 2005 - sbrabec@suse.cz -- Fixed missing pid reference in init script (#49546). -- Updated README.SATA. -* Fri Aug 27 2004 - sbrabec@suse.cz -- Updated to version 5.32. -* Sun Jun 06 2004 - lmuelle@suse.de -- Update to version 5.31. -- Add stop_on_removal to preun and restart_on_update to postun. -* Sun Apr 25 2004 - lmuelle@suse.de -- Add reload and condrestart to init script; [#39425]. -* Mon Mar 08 2004 - sbrabec@suse.cz -- Updated to version 5.30. -* Fri Mar 05 2004 - sbrabec@suse.cz -- Added README.SATA. -- Added %%build section. -* Tue Mar 02 2004 - sbrabec@suse.cz -- Updated to version 5.29. -* Mon Jan 12 2004 - adrian@suse.de -- build as user -* Fri Jan 09 2004 - mmj@suse.de -- Updated to version 5.26 -* Fri Aug 22 2003 - sbrabec@suse.cz -- Updated to version 5.1-18. -* Thu Aug 21 2003 - sbrabec@suse.cz -- Updated to version 5.1-17. -* Mon Aug 11 2003 - sbrabec@suse.cz -- Added $sendmail to X-UnitedLinux-Should-Start. -* Thu Aug 07 2003 - sbrabec@suse.cz -- Updated to version 5.1.16. -* Wed May 21 2003 - sbrabec@suse.cz -- Updated to version 5.1.9. -- Fixed RPM file attributes. -* Wed Mar 26 2003 - sbrabec@suse.cz -- Updated to version 5.1.9. -* Mon Jan 27 2003 - sbrabec@suse.cz
Added
smartmontools-5.38.tar.gz
^