Group: System/Libraries
License: Apache License, Version 2.0
Source0: syspopup-%{version}.tar.gz
-Source1001: syspopup.manifest
+Source1001: %{name}.manifest
+Source1002: %{name}-devel.manifest
+Source1003: %{name}-caller.manifest
+Source1004: %{name}-caller-devel.manifest
BuildRequires: cmake
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(bundle)
%prep
%setup -q
-cp %{SOURCE1001} .
+cp %{SOURCE1001} %{SOURCE1002} %{SOURCE1003} %{SOURCE1004} .
%build
%cmake . -DEXTRA_CFLAGS=-fPIC
%files devel
-%manifest %{name}.manifest
+%manifest %{name}-devel.manifest
%defattr(-,root,root,-)
%{_includedir}/SLP_SYSPOPUP_PG.h
%{_includedir}/syspopup.h
%{_libdir}/pkgconfig/syspopup.pc
%files caller
-%manifest %{name}.manifest
+%manifest %{name}-caller.manifest
%defattr(-,root,root,-)
%{_libdir}/libsyspopup_caller.so.0.1.0
%files caller-devel
-%manifest %{name}.manifest
+%manifest %{name}-caller-devel.manifest
%defattr(-,root,root,-)
%{_libdir}/libsyspopup_caller.so
%{_includedir}/syspopup_caller.h