代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/acpid 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: acpid
Version: 2.0.34
Release: 2
Summary: Advanced Configuration and Power Interface event daemon
License: GPLv2+
URL: http://sourceforge.net/projects/acpid2/
Source0: http://downloads.sourceforge.net/acpid2/%{name}-%{version}.tar.xz
Source1: acpid.power.conf
Source2: acpid.power.sh
Source3: acpid.service
Source4: acpid.sysconfig
Source5: acpid.socket
Patch1: acpid-2.0.32-kacpimon-dynamic-connections.patch
ExclusiveArch: aarch64 x86_64 %{ix86} riscv64 sw_64 loongarch64
BuildRequires: systemd, gcc
Requires: systemd
%description
acpid is designed to notify user-space programs of ACPI events.
%package help
Summary: Development documents for ACPI library
Requires: %{name} = %{version}-%{release}
%description help
Development document for ACPI library.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
%make_build CFLAGS="%{optflags} -pie -Wl,-z,relro,-z,now"
%install
rm -rf %{buildroot}/*
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/acpi/events
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/acpi/actions
mkdir -p -m 755 %{buildroot}%{_unitdir}
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/sysconfig
%make_install docdir=%{_docdir}/%{name}
install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/acpi/events/powerconf
install -p -m 755 %{SOURCE2} %{buildroot}%{_sysconfdir}/acpi/actions/power.sh
install -p -m 644 %{SOURCE3} %{SOURCE5} %{buildroot}%{_unitdir}
install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/acpid
%files
%{_unitdir}/%{name}.service
%{_unitdir}/%{name}.socket
%dir %{_sysconfdir}/acpi
%dir %{_sysconfdir}/acpi/events
%dir %{_sysconfdir}/acpi/actions
%config %attr(0644,root,root) %{_sysconfdir}/acpi/events/powerconf
%config %attr(0755,root,root) %{_sysconfdir}/acpi/actions/power.sh
%config %attr(0644,root,root) %{_sysconfdir}/sysconfig/acpid
%{_bindir}/acpi_listen
%{_sbindir}/acpid
%{_sbindir}/kacpimon
%files help
%doc %{_docdir}/%{name}
%{_mandir}/man8/acpid.8.gz
%{_mandir}/man8/acpi_listen.8.gz
%{_mandir}/man8/kacpimon.8.gz
%post
%systemd_post %{name}.socket %{name}.service
%preun
%systemd_preun %{name}.socket %{name}.service
%postun
%systemd_postun_with_restart %{name}.socket %{name}.service
%changelog
* Thu Feb 16 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 2.0.34-2
- Add loongarch64 support
* Fri Feb 10 2023 Ni Cunshu<nicunshu@huawei.com> - 2.0.34-1
- update to 2.0.34
* Thu Nov 3 2022 wuzx<wuzx1226@qq.com> - 2.0.33-3
- Add sw64 architecture
* Tue Oct 25 2022 fanrui <fary.fanrui@huawei.com> -2.0.33-2
- rebuild package
* Mon Nov 29 2021 zhouwenpei <zhouwenpei1@huawei.com> -2.0.33-1
- update version to 2.0.33
* Sun Sep 26 2021 xinminst <xuzhiling19991120@163.com> -2.0.32-2
- edit spec to adapt riscv64
* Thu Jul 23 2020 jinzhimin <jinzhimin2@huawei.com> - 2.0.32-1
- update version to 2.0.32
* Tue Jan 21 2020 luochunsheng <luochunsheng@huawei.com> - 2.0.30-4
- fix acpid.service start failed: Mishandling the acpid sysconfig file
as a directory
* Fri Jan 10 2020 wuxu_wu <wuxu.wu@huawei.com> - 2.0.30-3
- delete useless configuration file
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.30-2
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。