acpitool/acpitool.spec

51 lines
1.4 KiB
RPMSpec

%define gittag %(echo %version | cut -d. -f4)
Name: acpitool
Version: 0.5.2_20181026git.21bcbc5
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>
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
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
%{_mandir}/man1/acpitool.1*
%doc AUTHORS COPYING
%changelog
* Wed Jan 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.2_20181026git.21bcbc5-1mamba
- update to 0.5.2_20181026git.21bcbc5
* Wed May 08 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
- package created by silvan using the webbuild interface