Package hddtemp: 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 183 184 185 186 187 188 189 190 191 192 193 | Name: hddtemp Version: 0.4.3 Release: alt1 Epoch: 20110629 Summary: Hard Drive Temperature Monitoring License: GPLv2+ Group: Monitoring Url: https://github.com/vitlav/hddtemp # Source-url: https://github.com/vitlav/hddtemp/archive/v%version.tar.gz Source: %name-%version.tar Source2: hddtemp.control Source3: hddtemp.init Source4: hddtemp.sysconfig Source6: hddtemp.service %description hddtemp is a tool that gives you the temperature of your IDE, NVME, SATA or SCSI hard drive by reading S.M.A.R.T. information. %prep %setup %build %autoreconf %configure %make_build %install install -pDm644 data/hddtemp.db %buildroot%_datadir/misc/hddtemp.db install -pDm755 %SOURCE2 %buildroot%_controldir/hddtemp install -pDm755 %SOURCE3 %buildroot%_initdir/hddtemp install -pDm755 %SOURCE4 %buildroot%_sysconfdir/sysconfig/hddtemp install -pDm644 %SOURCE6 %buildroot%_unitdir/hddtemp.service install -d %buildroot%_man8dir %makeinstall_std %find_lang %name %pre %pre_control %name %post %post_service %name %post_control -s wheelonly %name %preun %preun_service %name %files -f %name.lang %doc README TODO contribs %_sbindir/hddtemp %_initdir/hddtemp %_unitdir/hddtemp.service %_man8dir/* %_datadir/misc/hddtemp.db %config(noreplace) %_sysconfdir/control.d/facilities/hddtemp %config(noreplace) %_sysconfdir/sysconfig/hddtemp # TODO: # - find someone to do privsep/chroot on hddtemp? %changelog * Sun Mar 21 2021 Vitaly Lipatov <lav@altlinux.ru> 20110629:0.4.3-alt1 - new version 0.4.3 (with rpmrb script) + fix segfault if there is no bus * Sun Feb 28 2021 Vitaly Lipatov <lav@altlinux.ru> 20110629:0.4.2-alt1 - new version 0.4.2 (with rpmrb script) * Sun Feb 28 2021 Vitaly Lipatov <lav@altlinux.ru> 20110629:0.4.1-alt1 - new version 0.4.1 (with rpmrb script) * Sun Feb 28 2021 Vitaly Lipatov <lav@altlinux.ru> 20110629:0.4-alt1 - cleanup spec, build 0.4 from the new upstream (closes: #28054) + use minimal database for drives not covered by defaults + first try S.M.A.R.T. attribute 194, otherwise try attribute 190 + add support for NVME bus + allow binding to a listen address that doesn't exist yet + implement drives auto-detection * Tue Jun 16 2020 Vitaly Chikunov <vt@altlinux.org> 20110629:0.3-alt15.beta15 - fix crash on numeric output if disk is not in db (closes: #38616) * Mon Sep 16 2019 Sergey Bolshakov <sbolshakov@altlinux.ru> 20110629:0.3-alt14.beta15 - systemd service file added * Tue Feb 19 2019 Aleksei Nikiforov <darktemplar@altlinux.org> 20110629:0.3-alt13.beta15 - NMU: fixed build on i586. * Sun Feb 10 2013 Sergey Kurakin <kurakin@altlinux.org> 20110629:0.3-alt12.beta15 - i586 build fixed * Thu Aug 02 2012 Michael Shigorin <mike@altlinux.org> 20110629:0.3-alt11.beta15 - added several WD/Hitachi drives (closes: #27586, #27587, #27588) * Mon Apr 09 2012 Michael Shigorin <mike@altlinux.org> 20110629:0.3-alt10.beta15 - added WDC WD1003FBYX-01Y7B0 (closes: #27186) and KINGSTON SNVP325S2128GB (just in case) * Wed Jun 29 2011 Michael Shigorin <mike@altlinux.org> 20110629:0.3-alt9.beta15 - added Samsung HD204UI (closes: #25832) * Tue Jul 13 2010 Victor Forsiuk <force@altlinux.org> 20100712:0.3-alt8.beta15 - Use guessed value (i.e. read from the de-facto standard temperature field) by default. This allows us to automatically support all modern drives without need to add them to database first. Suggestion and patch by Vitaly Lipatov (lav@altlinux). * Mon Jun 15 2009 Michael Shigorin <mike@altlinux.org> 20090615:0.3-alt7.15 - merged hddtemp.db additions (closes: #14864, #14924, #15077, #16198, #20444) - moved in-spec here document content into a separate source - moved in-spec subst into another addition * Tue Mar 11 2008 Victor Forsyuk <force@altlinux.org> 20080311:0.3-alt6.15 - Build with updated hddtemp.db (from 2007-09-14). - Added new disks suggested in ALT bugzilla. * Wed Apr 18 2007 Victor Forsyuk <force@altlinux.org> 20070418:0.3-alt5.15 - Added drives from ALT#11037. * Tue Dec 26 2006 Victor Forsyuk <force@altlinux.org> 20061226:0.3-alt4.15 - Do not start service by default (closes bug#6097). - Added bunch of drives (closes bugs#9355,9690,10515). * Wed Jun 07 2006 Victor Forsyuk <force@altlinux.ru> 20060607:0.3-alt3.15 - 0.3.beta15 + fresh hddtemp.db. * Wed Jan 18 2006 Victor Forsyuk <force@altlinux.ru> 20060118:0.3-alt2.14 - Update with fresh hddtemp.db. * Thu Sep 29 2005 Victor Forsyuk <force@altlinux.ru> 20050929:0.3-alt1.14 - 0.3.beta14 - Updated hddtemp.db. * Fri Aug 26 2005 Victor Forsyuk <force@altlinux.ru> 20050826:0.3-alt2.13 - Updated hddtemp.db. * Fri Apr 22 2005 Victor Forsyuk <force@altlinux.ru> 20050422:0.3-alt1.13 - beta13, updated hddtemp.db. - Fix URL. * Sun Jan 04 2004 Michael Shigorin <mike@altlinux.ru> 20040104:0.3-alt1.11 - beta11 - moved to control(8) rpm macros - removed superfluous groupadd netadmin %%) - implemented initscript (based on debian's) (127.0.0.1:7634) - spec cleanup * Sun Nov 02 2003 Michael Shigorin <mike@altlinux.ru> 20031102:0.3-alt0.84 - added WD1600JB-00DUA3 info (thanks vvzhy@ again) * Tue Oct 28 2003 Michael Shigorin <mike@altlinux.ru> 20031028:0.3-alt0.83 - *do* apply patch for WD1600JB-00EVA0 support; thanks Vadim V. Zhytnikov (vvzhy@) * Sat Oct 25 2003 Michael Shigorin <mike@altlinux.ru> 0.3-alt0.82 - added WD1600JB-00EVA0; thanks to Mikhail Yakshin (greycat@) * Mon Sep 22 2003 Michael Shigorin <mike@altlinux.ru> 0.3-alt0.81 - added ST3120026A to hddtemp.db; thanks to Vitaly Lipatov (lav@) * Wed Aug 13 2003 Michael Shigorin <mike@altlinux.ru> 0.3-alt0.8 - 0.3beta8 - po files included as i18n support got fixed - tiny spec cleanup * Thu Jul 03 2003 Michael Shigorin <mike@altlinux.ru> 0.3-alt0.7 - 0.3beta7 - updated %%url - patches merged into upstream - spec change due to upstream autoconf'izing (+cleanup) * Thu Apr 17 2003 Michael Shigorin <mike@altlinux.ru> 0.3-alt0.6 - 0.3beta6 * Fri Mar 14 2003 Michael Shigorin <mike@altlinux.ru> 0.3-alt0.31 - hddtemp.db entry for "Maxtor DiamondMax 16" from Andrey Brindeew <abr> * Sat Mar 08 2003 Michael Shigorin <mike@altlinux.ru> 0.3-alt0.3 - built for ALT Linux (0.3-beta3) - moved hddtemp.db to %_datadir/misc - control support instead of plain suid binary * Fri Jan 24 2003 Vincent Danen <vdanen@mandrakesoft.com> 0.3-0.beta3.1mdk - initial contrib from Ben Reser * Fri Jan 24 2003 Ben Reser <ben@reser.org> 0.3-0.beta3.1brs - 0.3-beta3 |