Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af03ca86c0 |
4 changed files with 119 additions and 1 deletions
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
hdapsd-20090401.tar.gz
|
||||
/hdapsd-20090401gita64b50c-a64b50c.tar.gz
|
||||
/hdapsd-20090401.20131204git401ca60-401ca60.tar.gz
|
||||
/hdapsd-20141024.tar.gz
|
||||
/hdapsd-20141203.tar.gz
|
||||
|
|
@ -1 +0,0 @@
|
|||
Orphaned for 6+ weeks
|
||||
113
hdapsd.spec
Normal file
113
hdapsd.spec
Normal file
|
|
@ -0,0 +1,113 @@
|
|||
Name: hdapsd
|
||||
Version: 20141203
|
||||
Release: 1%{?dist}
|
||||
Summary: Protects hard drives by parking head when fall is detected
|
||||
|
||||
Group: Applications/System
|
||||
License: GPLv2+
|
||||
URL: http://hdaps.sourceforge.net/
|
||||
Source0: https://github.com/evgeni/hdapsd/releases/download/%{version}/%{name}-%{version}.tar.gz
|
||||
Requires: systemd-units
|
||||
BuildRequires: systemd-units
|
||||
BuildRequires: libconfig-devel
|
||||
|
||||
%description
|
||||
|
||||
This is a disk protection user-space daemon. It monitors the acceleration
|
||||
values through the HDAPS/AMS interfaces and automatically initiates disk head
|
||||
parking if a fall or sliding of the laptop is detected.
|
||||
|
||||
HDAPS is typically found in ThinkPad laptops and AMS in Apple laptops.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
install -m 644 misc/%{name}.service %{buildroot}%{_unitdir}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_sbindir}/*
|
||||
%{_udevrulesdir}/%{name}.rules
|
||||
%{_unitdir}/%{name}.service
|
||||
%{_unitdir}/%{name}@.service
|
||||
%{_mandir}/man8/hdapsd.8.gz
|
||||
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||
%doc AUTHORS
|
||||
%license COPYING
|
||||
%doc ChangeLog
|
||||
%doc README
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed May 06 2015 Tomasz Torcz <ttorcz@fedoraproject.org> - 20141203-1
|
||||
- new upstream version
|
||||
|
||||
* Tue Oct 28 2014 Tomasz Torcz <ttorcz@fedoraproject.org> - 20141024-1
|
||||
- new upstream version
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090401.20131204git401ca60-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090401.20131204git401ca60-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Wed Dec 04 2013 Tomasz Torcz <ttorcz@fedoraproject.org> - 20090401.20131204git401ca60c75-1
|
||||
- latest upstream snapshot, fixes rhbz#1037119
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090401gita64b50c-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue May 28 2013 Tomasz Torcz <ttorcz@fedoraproject.org> - 20090401gita64b50c-1
|
||||
- package upstream snapshot:
|
||||
- use upstream systemd units and udev rules
|
||||
- drop sysconfig file
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090401-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090401-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Fri Feb 03 2012 Tomasz Torcz <ttorcz@fedoraproject.org> - 20090401-10
|
||||
- spec cleanup:
|
||||
- remove BuildRoot define and it's removal from clean
|
||||
- use _unitdir macro introduced in the meantime
|
||||
- drop upstart event files
|
||||
- remove StandardOutput=syslog from unit file
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090401-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090401-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Sun Jan 9 2011 Tomasz Torcz <ttorcz@fedoraproject.org> 20090401-7
|
||||
- remove bad parentheses in ExecStart= line of systemd unit def
|
||||
(thanks Alexandre Silva Lopes, #667073)
|
||||
|
||||
* Sat Jul 17 2010 Tomasz Torcz <ttorcz@fedoraproject.org> 20090401-6
|
||||
- provide systemd service definition
|
||||
- resurrect udev rule for systemd interaction
|
||||
|
||||
* Mon Dec 07 2009 Tomasz Torcz <ttorcz@fedoraproject.org> 20090401-5
|
||||
- port initscript file to upstart 0.6, removing custom udev rule
|
||||
|
||||
* Fri Sep 04 2009 Tomasz Torcz <ttorcz@fedoraproject.org> 20090401-4
|
||||
- use version macro in in Source0, as per review suggestion (#505928 #9)
|
||||
|
||||
* Sun Jun 21 2009 Tomasz Torcz <ttorcz@fedoraproject.org> 20090401-3
|
||||
- fixes from review: URL source, proper build root macro
|
||||
- minor cleanup of event file
|
||||
|
||||
* Wed Jun 17 2009 Tomasz Torcz <ttorcz@fedoraproject.org> 20090401-2
|
||||
- mark upstart event file and udev rule as config files
|
||||
|
||||
* Sun Jun 14 2009 Tomasz Torcz <ttorcz@fedoraproject.org> 20090401-1
|
||||
- initial version
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
6fd7926272ab4de36d794c57237e2192 hdapsd-20141203.tar.gz
|
||||
Reference in a new issue