pm-utils/pm-utils.spec

101 lines
3.0 KiB
RPMSpec

Name: pm-utils
Version: 1.4.1
Release: 5mamba
Summary: A small collection of scripts that handle suspend and resume on behalf of HAL
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pm-utils.freedesktop.org/wiki/
Source: http://pm-utils.freedesktop.org/releases/pm-utils-%{version}.tar.gz
Source1: %{name}-20ehci_hcd
License: GPL
BuildRequires: xmlto
Obsoletes: suspend
%description
pm-utils is a small collection of scripts that handle suspend and resume on behalf of HAL.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
pm-utils is a small collection of scripts that handle suspend and resume on behalf of HAL.
This package contains static libraries and header files need for development.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#install -m0755 %{SOURCE1} %{buildroot}%{_libdir}/pm-utils/sleep.d/20ehci_hcd
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_sysconfdir}/pm
%{_sysconfdir}/pm
%{_bindir}/on_ac_power
%{_bindir}/pm-is-supported
#%{_bindir}/import-fdi-quirkdb
%{_libdir}/pm-utils/*
%{_sbindir}/pm-hibernate
%{_sbindir}/pm-powersave
%{_sbindir}/pm-suspend
%{_sbindir}/pm-suspend-hybrid
%{_docdir}/pm-utils/*
%{_mandir}/man1/on_ac_power.1.gz
%{_mandir}/man1/pm-is-supported.1.gz
%{_mandir}/man8/pm-action.8.gz
%{_mandir}/man8/pm-pmu.8.gz
%{_mandir}/man8/pm-powersave.8.gz
%{_mandir}/man8/pm-hibernate.8.gz
%{_mandir}/man8/pm-suspend-hybrid.8.gz
%{_mandir}/man8/pm-suspend.8.gz
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README README.debugging README.distributions
%doc TODO
%changelog
* Thu Mar 28 2024 Automatic Build System <autodist@openmamba.org> 1.4.1-5mamba
- automatic rebuild by autodist
* Wed Jul 25 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-4mamba
- remove ehci_hcd workaround to restore full usb functionality (needs a new test on Asus A52J)
* Fri Sep 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-3mamba
- obsolete suspend
* Wed Mar 23 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.1-2mamba
- added 20ehci_hcd sleep.d script to fix suspend on Asus A52J
* Mon Jul 12 2010 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic update by autodist
* Tue Jun 29 2010 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic update by autodist
* Fri Jun 04 2010 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic update by autodist
* Thu Dec 24 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.6.1-1mamba
- update to 1.2.6.1
* Thu May 14 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.5-1mamba
- package created by autospec