License: Apache-2.0
Group: System/Libraries
Source: %{name}-%{version}.tar.gz
-%if 0%{?_with_tizen}
Source1001: %{name}.manifest
-%endif
BuildRequires: pkgconfig(glib-2.0) >= 2.44
BuildRequires: pkgconfig(gio-2.0) >= 2.44
%prep
%setup -q
-%if 0%{?_with_tizen}
cp %{SOURCE1001} .
-%endif
%build
%cmake .
%files
%defattr(-,root,root,-)
-%if 0%{?_with_tizen}
%manifest %{name}.manifest
-%endif
%license LICENSE.Apache-2.0
%{_libdir}/libsyscommon.so.*
%files -n libsyscommon-devel
%defattr(-,root,root,-)
-%if 0%{?_with_tizen}
%manifest %{name}.manifest
-%endif
%license LICENSE.Apache-2.0
%{_libdir}/libsyscommon.so
%{_includedir}/libsyscommon/*.h