From fce1a668c6b85ead8992e2a14b67f9c4c952c513 Mon Sep 17 00:00:00 2001 From: Jinkun Jang Date: Wed, 13 Mar 2013 01:36:22 +0900 Subject: Tizen 2.1 base --- packaging/device-manager-plugin-pinetrail.changes | 5 +++ packaging/device-manager-plugin-pinetrail.spec | 55 +++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 packaging/device-manager-plugin-pinetrail.changes create mode 100644 packaging/device-manager-plugin-pinetrail.spec (limited to 'packaging') diff --git a/packaging/device-manager-plugin-pinetrail.changes b/packaging/device-manager-plugin-pinetrail.changes new file mode 100644 index 0000000..0f22b25 --- /dev/null +++ b/packaging/device-manager-plugin-pinetrail.changes @@ -0,0 +1,5 @@ +* Thu Aug 02 2012 Yan Yin build/2012-07-24.074803@797e50a +- fix potential buffer overflow + +* Tue Jul 24 2012 Yan Yin 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 -- cgit v1.2.3