2024-01-05 20:12:15 +01:00
|
|
|
%define gittag %(echo %version | cut -d. -f4)
|
2024-01-05 20:12:14 +01:00
|
|
|
Name: acpitool
|
2024-01-05 20:12:15 +01:00
|
|
|
Version: 0.5.2_20181026git.21bcbc5
|
2024-01-05 20:12:14 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A small, convenient command-line ACPI client with a lot of features for Linux
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 20:12:15 +01:00
|
|
|
URL: https://pagure.io/acpitool
|
|
|
|
Source: https://pagure.io/acpitool.git/master@%{gittag}/acpitool-%{version}.tar.bz2
|
|
|
|
#Source: http://downloads.sourceforge.net/project/acpitool/acpitool/%{version}/acpitool-%{version}.tar.bz2
|
2024-01-05 20:12:14 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
A small, convenient command-line ACPI client with a lot of features for Linux.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/acpitool
|
2024-01-05 20:12:15 +01:00
|
|
|
%{_mandir}/man1/acpitool.1*
|
2024-01-05 20:12:14 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:12:15 +01:00
|
|
|
* Wed Jan 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.2_20181026git.21bcbc5-1mamba
|
|
|
|
- update to 0.5.2_20181026git.21bcbc5
|
|
|
|
|
2024-01-05 20:12:14 +01:00
|
|
|
* Wed May 08 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|