Group: System/API
License: Apache-2.0 and PD
Source0: %{name}-%{version}.tar.gz
-Source1: capi-system-sensor.manifest
BuildRequires: cmake
BuildRequires: pkgconfig(dlog)
%setup -q
%build
-cp %{SOURCE1} .
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
%__make %{?_smp_mflags}
%postun -p /sbin/ldconfig
%files
-%manifest capi-system-sensor.manifest
+%manifest packaging/capi-system-sensor.manifest
%{_libdir}/libcapi-system-sensor.so.*
%license LICENSE.APLv2
%files devel
-%manifest capi-system-sensor.manifest
-%license LICENSE.APLv2
+%manifest packaging/capi-system-sensor.manifest
%{_libdir}/libcapi-system-sensor.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/sensor/*.h
-
+%license LICENSE.APLv2