Accepting request 333895 from home:pluskalm:branches:Base:System
- Update to 2.0.25 * Remove release process from README. * Fix missing libc_compat.h in release tarball. - Changes for 2.0.24 * Avoid using SW_VIDEOOUT_INSERT if it isn't available. * Add support for Copy and Restart keys. * Add support for non-glibc libc's. * Fix compiler warnings. * Add systemd info to documentation. - Update project url - Cleanup spec file with spec-cleaner - Obey default CFLAGS OBS-URL: https://build.opensuse.org/request/show/333895 OBS-URL: https://build.opensuse.org/package/show/Base:System/acpid?expand=0&rev=76
This commit is contained in:
committed by
Git OBS Bridge
parent
c5c9a91b2c
commit
b42dd8d6f3
16
acpid.spec
16
acpid.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package acpid
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,12 +17,12 @@
|
||||
|
||||
|
||||
Name: acpid
|
||||
Version: 2.0.23
|
||||
Version: 2.0.25
|
||||
Release: 0
|
||||
Summary: Executes Actions at ACPI Events
|
||||
License: GPL-2.0+
|
||||
Group: System/Daemons
|
||||
Url: http://tedfelix.com/linux/acpid-netlink.html
|
||||
Url: http://sourceforge.net/projects/acpid2/
|
||||
Source: http://downloads.sourceforge.net/project/acpid2/%{name}-%{version}.tar.xz
|
||||
Source3: README.SUSE
|
||||
Source5: events.power_button
|
||||
@@ -32,7 +32,6 @@ Source8: acpid.service
|
||||
Source9: events.thinkpad
|
||||
Source10: events.sleep_button
|
||||
Source11: sleep_button
|
||||
|
||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||
Patch1: acpid-makefile.patch
|
||||
BuildRequires: systemd-rpm-macros
|
||||
@@ -54,13 +53,14 @@ script loads all needed modules.
|
||||
cp %{SOURCE3} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} %{SOURCE10} %{SOURCE11} .
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
export LDFLAGS="-Wl,-z,relro,-z,now"
|
||||
%configure
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir}
|
||||
install -Dm 744 thinkpad_handler %{buildroot}%{_prefix}/lib/acpid/thinkpad_handler
|
||||
install -Dm 744 thinkpad_handler %{buildroot}%{_libexecdir}/acpid/thinkpad_handler
|
||||
install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad
|
||||
mkdir -p %{buildroot}/%{_unitdir}
|
||||
install -m 644 %{SOURCE8} %{buildroot}/%{_unitdir}
|
||||
@@ -91,8 +91,8 @@ touch %{buildroot}%{_localstatedir}/log/acpid
|
||||
%dir %{_sysconfdir}/acpi
|
||||
%dir %{_sysconfdir}/acpi/events
|
||||
%{_sysconfdir}/acpi/events/thinkpad
|
||||
%{_prefix}/lib/acpid
|
||||
%_unitdir/%{name}.service
|
||||
%{_libexecdir}/acpid
|
||||
%{_unitdir}/%{name}.service
|
||||
%{_sbindir}/rcacpid
|
||||
%{_sbindir}/acpid
|
||||
%{_sbindir}/kacpimon
|
||||
|
Reference in New Issue
Block a user