diff --git a/README.md b/README.md index 5ef34fc..71d9b0d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # acpi_tables_patch +A script to create patched ACPI DSDT tables (dsdt.aml) at runtime. + diff --git a/acpi_tables_patch.spec b/acpi_tables_patch.spec new file mode 100644 index 0000000..7008df4 --- /dev/null +++ b/acpi_tables_patch.spec @@ -0,0 +1,43 @@ +Name: acpi_tables_patch +Version: 0.1 +Release: 1mamba +Summary: A script to create patched ACPI DSDT tables (dsdt.aml) at runtime +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://openmamba.org +Source: http://openmamba.org/acpi_tables_patch-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +Requires: acpica +%systemd_requires +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A script to create patched ACPI DSDT tables (dsdt.aml) at runtime. + +%prep +%setup -q + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_sbindir}/%{name} +%{_unitdir}/acpi_tables_patch@.service +%dir %{_datadir}/acpi_tables_patch +%dir %{_datadir}/acpi_tables_patch/patches +%{_datadir}/acpi_tables_patch/patches/*.patch + +%changelog +* Mon Apr 10 2017 Silvan Calarco 0.1-1mamba +- package created by autospec