summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2014-07-11 09:07:13 (GMT)
committerRonan Le Martret <ronan@fridu.net>2014-07-11 09:07:13 (GMT)
commit2ee02d3b0050b1a0d37fc0d2d3990d9823916c61 (patch)
treeae1a2d2afe869f23b28c873d03f694f406e2ed53
parentb3344528f667ed4b7a53034597e9ac550a1dcad3 (diff)
downloadlibslp-pm-tizen.zip
libslp-pm-tizen.tar.gz
libslp-pm-tizen.tar.bz2
Change-Id: Id3ff9053772de28a35a5e31e5fa86c97451070c3 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
-rwxr-xr-xpackaging/libslp-pm.spec24
1 files changed, 5 insertions, 19 deletions
diff --git a/packaging/libslp-pm.spec b/packaging/libslp-pm.spec
index bf0575b..6cbded5 100755
--- a/packaging/libslp-pm.spec
+++ b/packaging/libslp-pm.spec
@@ -1,58 +1,45 @@
Name: libslp-pm
Summary: Power manager library
Version: 1.2.4
-Release: 2.1
-Group: TO_BE/FILLED_IN
-License: TO BE FILLED IN
+Release: 0
+Group: System/Libraries
+License: Apache-2.0
Source0: libslp-pm-%{version}.tar.bz2
-Source1001: libslp-pm.manifest
+Source1001: libslp-pm.manifest
BuildRequires: cmake
-
%description
Samsung Linux platform power manager client library
-
-
%package devel
Summary: SLP power manager client (devel)
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: libslp-pm
%description devel
SLP power manager client library (devel)
-
%prep
%setup -q
cp %{SOURCE1001} .
-
%build
%cmake .
-
-
-make %{?jobs:-j%jobs}
+%__make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
-
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-
-
%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
-%manifest libslp-pm.manifest
%{_libdir}/libpmapi.so.1.2
-
%files devel
%manifest %{name}.manifest
%defattr(-,root,root,-)
@@ -61,4 +48,3 @@ rm -rf %{buildroot}
%{_includedir}/SLP_pm_PG.h
%{_libdir}/pkgconfig/pmapi.pc
%{_libdir}/libpmapi.so
-