%package devel
Summary: Launchpad for launching applications (devel)
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Requires: liblaunchpad = %{version}-%{release}
%description devel
Launchpad for launching applications (devel)
%description -n launchpad-loader
Launchpad-Loader for launching applications
+%package -n liblaunchpad
+Summary: Launchpad library
+Group: Development/Libraries
+
+%description -n liblaunchpad
+Launchpad library
+
+%package -n liblaunchpad-devel
+Summary: Launchpad library (devel)
+Group: Development/Libraries
+Requires: liblaunchpad = %{version}-%{release}
+
+%description -n liblaunchpad-devel
+Launchpad library (devel)
+
%prep
%setup -q
%{_unitdir_user}/sockets.target.wants/launchpad-process-pool.socket
%{_unitdir_user}/basic.target.wants/launchpad-process-pool.service
%{_bindir}/launchpad-process-pool
-%attr(0644,root,root) %{_libdir}/liblaunchpad.so.*
%files devel
%{_includedir}/launchpad/*.h
%{_libdir}/pkgconfig/*.pc
%files -n launchpad-loader
-%manifest %{name}.manifest
+%manifest launchpad-loader.manifest
%license LICENSE
%{_prefix}/share/aul/default.loader
%{_bindir}/launchpad-loader
+
+%files -n liblaunchpad
+%manifest liblaunchpad.manifest
+%license LICENSE
+%attr(0644,root,root) %{_libdir}/liblaunchpad.so.*
+
+%files -n liblaunchpad-devel
+%{_includedir}/launchpad/*.h
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+