Separate launchpad libary from launchpad package 33/192933/2
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 13 Nov 2018 05:01:01 +0000 (14:01 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 13 Nov 2018 05:02:42 +0000 (14:02 +0900)
Adds packages:
 - liblaunchpad
 - liblaunchpad-devel

Change-Id: Id83f2dd87dffa16990d7654ad2ea2f12d27985a8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
launchpad-loader.manifest [new file with mode: 0644]
launchpad.manifest
liblaunchpad.manifest [new file with mode: 0644]
packaging/launchpad.spec

diff --git a/launchpad-loader.manifest b/launchpad-loader.manifest
new file mode 100644 (file)
index 0000000..e1e0a45
--- /dev/null
@@ -0,0 +1,8 @@
+<manifest>
+       <request>
+               <domain name="_"/>
+       </request>
+       <assign>
+               <filesystem path="/usr/bin/launchpad-loader" label="User" exec_label="User" />
+       </assign>
+</manifest>
index ca22179..c3dd1a2 100644 (file)
@@ -4,7 +4,5 @@
        </request>
        <assign>
                <filesystem path="/usr/bin/launchpad-process-pool" exec_label="System::Privileged" />
-               <filesystem path="/usr/bin/launchpad-loader" label="User" exec_label="User" />
        </assign>
-
 </manifest>
diff --git a/liblaunchpad.manifest b/liblaunchpad.manifest
new file mode 100644 (file)
index 0000000..97e8c31
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+       <request>
+               <domain name="_"/>
+       </request>
+</manifest>
index 7c0fb14..1f25fa9 100644 (file)
@@ -49,7 +49,7 @@ Launchpad for launching applications
 %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)
@@ -61,6 +61,21 @@ Group:      Application Framework/Application Launcher
 %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
 
@@ -111,7 +126,6 @@ ln -sf ../launchpad-process-pool.service %{buildroot}%{_unitdir_user}/basic.targ
 %{_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
@@ -119,7 +133,18 @@ ln -sf ../launchpad-process-pool.service %{buildroot}%{_unitdir_user}/basic.targ
 %{_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
+