[Tizen-submit] 19984: New package Tizen:IVI:Genivi/acpid

noreply at tizen.org noreply at tizen.org
Fri Jan 31 00:41:41 GMT 2014


Hi,
Adding new package acpid in project Tizen:IVI:Genivi. Please review and accept ASAP.

Justification for this new package:

Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.004727
Git project: platform/upstream/acpid
Tag: submit/tizen_ivi_genivi/20140131.004727
Commit: f80becc6f62d4d273077367ae6ee89cf98758853 resetting manifest requested domain to floor

Thank You,
Graydon, Tracy

[This message was auto-generated]

---

Request: #19984

  submit:       Tizen:IVI:Genivi:build/acpid(cleanup) -> Tizen:IVI:Genivi


Message:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.004727
Git project: platform/upstream/acpid
Tag: submit/tizen_ivi_genivi/20140131.004727
Commit: f80becc6f62d4d273077367ae6ee89cf98758853 resetting manifest requested domain to floor

State:   new        2014-01-31T00:43:37 tizenrobot
Comment: <no comment>
new:
----
  0001-fixed-docDATA-location.patch
  0002-wrong-memset.patch
  acpid-2.0.16.tar.gz
  acpid.manifest
  acpid.service
  acpid.spec
  events.power_button
  events.thinkpad
  power_button
  thinkpad_acpi.modprobe
  thinkpad_handler

spec files:
-----------

++++++ new spec file:
--- acpid.spec
+++ acpid.spec
@@ -0,0 +1,79 @@
+Name:           acpid
+VCS:            platform/upstream/acpid#f80becc6f62d4d273077367ae6ee89cf98758853
+Version:        2.0.16
+Release:        0
+License:        GPL-2.0+
+Summary:        Executes Actions at ACPI Events
+Url:            http://tedfelix.com/linux/acpid-netlink.html
+Group:          System/Daemons
+Source:         http://tedfelix.com/linux/%{name}-%{version}.tar.gz
+Source4:        thinkpad_acpi.modprobe
+Source5:        events.power_button
+Source9:        events.thinkpad
+Source6:        thinkpad_handler
+Source7:        power_button
+Source8:        acpid.service
+Source1001: 	acpid.manifest
+# Patches auto-generated by git-buildpackage:
+Patch0:         0001-fixed-docDATA-location.patch
+Patch1:         0002-wrong-memset.patch
+BuildRequires:  systemd
+ExclusiveArch:  %ix86 x86_64 ia64
+
+%description
+ACPID is a completely flexible, totally extensible daemon for
+delivering ACPI events. It listens to a file (/proc/acpi/event) and,
+when an event occurs, executes programs to handle the event. The start
+script loads all needed modules.
+
+Configure it in /etc/sysconfig/powermanagement.
+
+%prep
+%setup -q
+# 0001-fixed-docDATA-location.patch
+%patch0 -p1
+# 0002-wrong-memset.patch
+%patch1 -p1
+cp %{SOURCE1001} .
+
+cp %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE9} .
+
+%build
+export LDFLAGS="-Wl,-z,relro,-z,now"
+%configure 
+make OPT="%{optflags}" %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot} SBINDIR=%{_sbindir}
+install -Dm 644 thinkpad_acpi.modprobe %{buildroot}%{_sysconfdir}/modprobe.d/50-thinkpad_acpi.conf
+install -Dm 744 thinkpad_handler %{buildroot}%{_prefix}/lib/acpid/thinkpad_handler
+install -Dm 744 power_button %{buildroot}%{_prefix}/lib/acpid/power_button
+install -Dm 644 events.power_button %{buildroot}%{_sysconfdir}/acpi/events/power_button
+install -Dm 644 events.thinkpad %{buildroot}%{_sysconfdir}/acpi/events/thinkpad
+mkdir -p %{buildroot}/%{_unitdir}
+install -m 644 %{SOURCE8} %{buildroot}/%{_unitdir}
+
+# keep the logfile
+install -dm 755 %{buildroot}%{_localstatedir}/log
+touch %{buildroot}%{_localstatedir}/log/acpid
+
+
+%docs_package
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list