summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/device-manager-plugin-odroid.changes2
-rw-r--r--packaging/device-manager-plugin-odroid.manifest5
-rw-r--r--packaging/device-manager-plugin-odroid.spec19
3 files changed, 21 insertions, 5 deletions
diff --git a/packaging/device-manager-plugin-odroid.changes b/packaging/device-manager-plugin-odroid.changes
deleted file mode 100644
index 2223d47..0000000
--- a/packaging/device-manager-plugin-odroid.changes
+++ /dev/null
@@ -1,2 +0,0 @@
-* Fri Jun 27 2014 Ɓukasz Stelmach <l.stelmach@samsung.com> 6373e7e1
-- Initial release
diff --git a/packaging/device-manager-plugin-odroid.manifest b/packaging/device-manager-plugin-odroid.manifest
new file mode 100644
index 0000000..a76fdba
--- /dev/null
+++ b/packaging/device-manager-plugin-odroid.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_" />
+ </request>
+</manifest>
diff --git a/packaging/device-manager-plugin-odroid.spec b/packaging/device-manager-plugin-odroid.spec
index b824f1e..7a220c7 100644
--- a/packaging/device-manager-plugin-odroid.spec
+++ b/packaging/device-manager-plugin-odroid.spec
@@ -5,23 +5,36 @@ Release: 0
Group: System/Hardware Adaptation
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
+Source1: %{name}.manifest
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
BuildRequires: cmake
BuildRequires: pkgconfig(devman_plugin)
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(hwcommon)
+BuildRequires: pkgconfig(glib-2.0)
%description
-Tizen OEM Adaptation Layer library for ODROID development board.
+Device manager plugin for ODROID development board.
%prep
%setup -q
+cp %{SOURCE1} .
%build
-%cmake .
+%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+
make %{?jobs:-j%jobs}
%install
%make_install
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
%files
+%{_libdir}/hw/*.so
+%manifest %{name}.manifest
%license LICENSE
-%manifest device-manager-plugin-odroid.manifest
%{_libdir}/libslp_devman_plugin.so