Пакет smartmontools: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 | Name: smartmontools Version: 6.6 Release: alt1 Summary: Control and monitor storage systems using S.M.A.R.T. License: GPLv2+ Group: Monitoring Url: http://smartmontools.sourceforge.net # http://download.sourceforge.net/smartmontools/smartmontools-%version.tar.gz Source0: smartmontools-%version.tar Source1: smartd.init Source2: smartd.sysconfig Patch1: smartmontools-alt-conf.patch Patch2: smartmontools-alt-service.patch Obsoletes: smartctl Obsoletes: smartd Obsoletes: ucsc-smartsuite Obsoletes: smartsuite # Automatically added by buildreq on Thu Mar 13 2008 BuildRequires: gcc-c++ %description This package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (S.M.A.R.T.) built into most modern ATA and SCSI hard disks. It is derived from the smartsuite package, and includes support for ATA/ATAPI-5 disks. %prep %setup %patch1 -p1 %patch2 -p1 fgrep -lZ /usr/local/bin/mail *.in | xargs -r0 sed -i 's,/usr/local/bin/mail,/bin/mail,g' -- fgrep -lZ /usr/local/etc/sysconfig *.am *.in | xargs -r0 sed -i 's,/usr/local/etc/sysconfig,/etc/sysconfig,g' -- %build %define docdir %_docdir/%name-%version %configure --docdir=%docdir \ --with-systemdsystemunitdir=%systemd_unitdir %make_build \ BUILD_INFO='"(%distribution %version-%release)"' %install %makeinstall_std chmod 600 %buildroot%_sysconfdir/smartd.conf install -pD -m755 %_sourcedir/smartd.init \ %buildroot%_initdir/smartd install -pD -m644 %_sourcedir/smartd.sysconfig \ %buildroot%_sysconfdir/sysconfig/smartd rm %buildroot%docdir/{ChangeLog,COPYING,INSTALL} %post %post_service smartd %preun %preun_service smartd %files %_sbindir/smartd %_sbindir/smartctl %_initdir/smartd %systemd_unitdir/smartd.service %_man8dir/smartctl.* %_man8dir/smartd.* %_man5dir/smartd.conf.* %config(noreplace) %_sysconfdir/smartd.conf %config(noreplace) %_sysconfdir/sysconfig/smartd %config(noreplace) %_sysconfdir/smartd_warning.sh %exclude %_sbindir/update-smart-drivedb %exclude %_datadir/%name %docdir %changelog * Mon Nov 06 2017 Michael Shigorin <mike@altlinux.org> 6.6-alt1 - Updated to 6.6. * Tue May 10 2016 Michael Shigorin <mike@altlinux.org> 6.5-alt1 - Updated to 6.5. * Fri Jun 05 2015 Michael Shigorin <mike@altlinux.org> 6.4-alt1 - Updated to 6.4. * Mon Jul 28 2014 Michael Shigorin <mike@altlinux.org> 6.3-alt1 - Updated to 6.3. * Sun Jul 28 2013 Michael Shigorin <mike@altlinux.org> 6.2-alt1 - Updated to 6.2. * Wed Mar 20 2013 Michael Shigorin <mike@altlinux.org> 6.1-alt2 - Packaged %_sysconfdir/smartd_warning.sh. * Tue Mar 19 2013 Michael Shigorin <mike@altlinux.org> 6.1-alt1 - Updated to 6.1. * Mon Oct 15 2012 Dmitry V. Levin <ldv@altlinux.org> 6.0-alt1 - Updated to 6.0. * Fri Sep 28 2012 Dmitry V. Levin <ldv@altlinux.org> 5.43-alt1 - Updated to 5.43. * Wed May 09 2012 Dmitry V. Levin <ldv@altlinux.org> 5.42-alt4 - Fixed smartd.service. * Sat May 05 2012 Dmitry V. Levin <ldv@altlinux.org> 5.42-alt3 - Fixed smartd.service. * Fri May 04 2012 Dmitry V. Levin <ldv@altlinux.org> 5.42-alt2 - smartd.conf: Added some options to DEVICESCAN directive. - Packaged systemd unit file. * Fri Nov 25 2011 Dmitry V. Levin <ldv@altlinux.org> 5.42-alt1 - Updated to 5.42. * Tue Sep 27 2011 Dmitry V. Levin <ldv@altlinux.org> 5.41-alt1 - Updated to 5.41 (closes: #26355). * Sun Jan 31 2010 Sergey Vlasov <vsu@altlinux.ru> 5.39.1-alt1 - Version 5.39.1. - Dropped alt-cciss-warnings patch (fixed upstream). - Dropped rh-cloexec patch (fixed upstream for Linux). * Sat Mar 15 2008 Sergey Vlasov <vsu@altlinux.ru> 5.38-alt1 - Version 5.38. - Dropped obsolete cvs-* patches. - Dropped deb-cciss patch (already upstream). - Updated FC cloexec patch from smartmontools-5.38-1.fc9. - Updated BuildRequires. - Add alt-cciss-warnings patch: remove unused variable and fix 64bit printf format mismatch in cciss support code. * Mon Apr 16 2007 Dmitry V. Levin <ldv@altlinux.org> 5.36-alt3 - Imported FC cloexec patch. * Sun Jun 11 2006 Sergey Vlasov <vsu@altlinux.ru> 5.36-alt2 - Added patches from smartmontools CVS: + cvs-wd-attr-190: identify Attribute 190 for Western Digital disks (temperature in Celsius, like Attribute 190, but with failure threshold set to maximum design operating temperature of the disk) + cvs-vpd-page-0x83-size: increase VPD page 0x83 request size from 96 to 252 bytes for Linux + cvs-libata-2.6.17-id: change libata detection by VPD page 0x83 to accept the new variant used by kernels >= 2.6.17 + cvs-seagate-momentus: add more Seagate Momentus 5400.2 drives to database * Sat Jun 10 2006 Dmitry V. Levin <ldv@altlinux.org> 5.36-alt1 - Updated to 5.36. - Dropped ALM22 startup script. - Dropped old patch from Debian package. - Applied patch with support for CCISS controllers. * Mon Apr 11 2005 Dmitry V. Levin <ldv@altlinux.org> 5.32-alt1 - Updated to 5.32. - Applied patch from Debian package (smartmontools-5.32-3). - startup script: added recheck, reload and condreload targets. * Tue Apr 20 2004 Sergey Vlasov <vsu@altlinux.ru> 5.30-alt1 - Version 5.30. * Tue Dec 02 2003 Sergey Vlasov <vsu@altlinux.ru> 5.26-alt1 - Version 5.26. - Added backward-compatible initscript (use --with m22 to build package compatible with Master 2.2). * Tue Jun 17 2003 Sergey Vlasov <vsu@altlinux.ru> 5.1.14-alt1 - Version 5.1-14. - Init script completely rewritten for new conventions. * Wed Apr 30 2003 Sergey Vlasov <vsu@altlinux.ru> 5.1.10-alt1 - First build for ALT Linux. - Removed pre-ALT %%changelog (it was just a duplicate of CHANGELOG inside the package and described main code changes, not packaging changes). - Added ALT-specific init script. |