[Tizen-submit] 6025: Changes to Tizen/libdevice-node

noreply at tizen.org noreply at tizen.org
Mon May 20 11:34:51 GMT 2013


Hi,
Prajwal Mohan have made the following changes to libdevice-node in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #6025

  submit:       Tizen:build/libdevice-node(cleanup) -> Tizen


Message:
Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.045152
Git project: platform/core/system/libdevice-node
Tag: submit/tizen/20130517.045152
Commit: 03de040 add smack labels regarding dialout, printer, nfc and hall

State:   accepted   2013-05-16T22:35:36 pkarurmo
Comment: Reviewed Ok

History: new        2013-05-16T21:49:10 tizenrobot
new:
----
  libdevice-node-0.1.0.tar.gz
  libdevice-node.manifest
  libdevice-node.spec
  smack-device-labeling.service

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

++++++ new spec file:
--- libdevice-node.spec
+++ libdevice-node.spec
@@ -0,0 +1,69 @@
+Name:       libdevice-node
+Summary:    Library to control OAL APIs
+Version:    0.1.0
+Release:    1
+VCS:        platform/core/system/libdevice-node#submit/tizen/20130517.045152-0-g03de040
+Group:      System/Libraries
+License:    Apache License, Version 2.0
+Source0:    %{name}-%{version}.tar.gz
+Source1:    %{name}.manifest
+Source2:    smack-device-labeling.service
+BuildRequires:  cmake
+BuildRequires:  pkgconfig(vconf)
+BuildRequires:  pkgconfig(dlog)
+
+%description
+development package of library to control OAL APIs
+
+%package devel
+Summary:	Control OAL APIs (devel)
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Library to control OAL APIs (devel)
+
+
+%prep
+%setup -q
+
+%build
+CFLAGS="$CFLAGS" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/device-node
+%make_install
+cp -a %{SOURCE1} %{buildroot}%{_datadir}/
+install -D -d %{buildroot}/etc/rc.d/rc3.d/
+install -D -d %{buildroot}/etc/rc.d/rc4.d/
+ln -sf ../init.d/smack_device_labeling %{buildroot}/etc/rc.d/rc3.d/S44smack_device_labeling
+ln -sf ../init.d/smack_device_labeling %{buildroot}/etc/rc.d/rc4.d/S44smack_device_labeling
+
+mkdir -p %{buildroot}%{_libdir}/systemd/system/basic.target.wants
+install -m 644 %{SOURCE2} %{buildroot}%{_libdir}/systemd/system/
+ln -s ../smack-device-labeling.service %{buildroot}%{_libdir}/systemd/system/basic.target.wants/
+
+%post
+if [ ! -e "/lib/firmware/mdnie" ]
+then
+	mkdir -p /lib/firmware/mdnie
+fi
+
+%postun
+
+%files
+%{_libdir}/*.so.*
+%{_libdir}/udev/rules.d/*
+%{_datadir}/license/device-node
+%attr(755,root,root) %{_sysconfdir}/rc.d/*
+%{_libdir}/systemd/system/smack-device-labeling.service
+%{_libdir}/systemd/system/basic.target.wants/smack-device-labeling.service
+%manifest %{_datadir}/%{name}.manifest
+
+%files devel
+%{_includedir}/device-node/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc


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


More information about the Tizen-submit mailing list