diff options
author | Yan Yin <yan.yin@intel.com> | 2012-07-24 13:27:50 +0800 |
---|---|---|
committer | Yan Yin <yan.yin@intel.com> | 2012-07-24 15:46:26 +0800 |
commit | de78d32eb0ebbcd55ec7c8cc9eb6fc972d9616e0 (patch) | |
tree | 6c72efa18756636e72b68e4f27868be680f50897 /packaging | |
parent | 00f71eef3d3088225eb93640c6462d2e6a7f82a2 (diff) | |
download | device-manager-plugin-pinetrail-de78d32eb0ebbcd55ec7c8cc9eb6fc972d9616e0.tar.gz device-manager-plugin-pinetrail-de78d32eb0ebbcd55ec7c8cc9eb6fc972d9616e0.tar.bz2 device-manager-plugin-pinetrail-de78d32eb0ebbcd55ec7c8cc9eb6fc972d9616e0.zip |
Initial device manager plugin for Pinetrail platform
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/device-manager-plugin-pinetrail.changes | 2 | ||||
-rw-r--r-- | packaging/device-manager-plugin-pinetrail.spec | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/packaging/device-manager-plugin-pinetrail.changes b/packaging/device-manager-plugin-pinetrail.changes new file mode 100644 index 0000000..40fbdc2 --- /dev/null +++ b/packaging/device-manager-plugin-pinetrail.changes @@ -0,0 +1,2 @@ +* Tue Jul 24 2012 Yan Yin <yan.yin@intel.com> e2ab75d +- Initial device manager plugin for Pinetrail platform diff --git a/packaging/device-manager-plugin-pinetrail.spec b/packaging/device-manager-plugin-pinetrail.spec new file mode 100644 index 0000000..c1b867f --- /dev/null +++ b/packaging/device-manager-plugin-pinetrail.spec @@ -0,0 +1,55 @@ +Name: device-manager-plugin-pinetrail +Summary: Device manager library for pinetrail +Version: 0.2.4 +Release: 1 +Group: TO_BE/FILLED_IN +License: LGPL 2.1 +Source0: %{name}-%{version}.tar.bz2 +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: cmake +BuildRequires: pkgconfig(vconf) +BuildRequires: pkgconfig(dlog) +BuildRequires: pkgconfig(heynoti) +BuildRequires: pkgconfig(devman) +BuildRequires: pkgconfig(devman_plugin) + +%description +Device manager library for pinetrail device control + + +%package devel +Summary: Device manager library for pinetrail (devel) +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Device manager library for pinetrail device control (devel) + +%prep +%setup -q -n %{name}-%{version} + +%build +cmake . -DCMAKE_INSTALL_PREFIX=/usr + +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + +ln -s /usr/lib/libdevice-manager-plugin-pinetrail.so.%{version} %{buildroot}/usr/lib/libslp_devman_plugin.so.%{version} +ln -s /usr/lib/libdevice-manager-plugin-pinetrail.so %{buildroot}/usr/lib/libslp_devman_plugin.so + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%{_libdir}/*.so* + +%files devel +%{_includedir}/device-manager-plugin-pinetrail/*.h +%{_libdir}/pkgconfig/*.pc |