diff options
Diffstat (limited to 'packaging/device-manager-plugin-pinetrail.spec')
-rw-r--r-- | packaging/device-manager-plugin-pinetrail.spec | 55 |
1 files changed, 55 insertions, 0 deletions
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 |