Change the installation path of system-server headers
[platform/framework/native/appfw.git] / packaging / osp-appfw.spec
index 197f23e..bcf5b08 100644 (file)
@@ -72,7 +72,6 @@ BuildRequires:  capi-security-privilege-manager-devel
 BuildRequires:  boost-devel
 BuildRequires:  gettext-tools
 BuildRequires:  pkgconfig(security-server)
-BuildRequires:  pkgconfig(badge)
 BuildRequires:  pkgconfig(appinfo) >= 0.1.0
 
 # runtime requires
@@ -99,7 +98,6 @@ The App Framework library of OSP
 
 %package devel
 Summary:    The App Framework library of OSP (Development)
-Group:      TO_BE/FILLED_IN
 Requires:   %{name} = %{version}-%{release}
 Requires: boost-devel
 Requires: pkgconfig(pkgmgr-info)
@@ -108,16 +106,15 @@ Requires: pkgconfig(pkgmgr-info)
 The  App Framework library of OSP (DEV)
 
 %package internal-devel
-Summary:    osp app framework internel (Internal)
-Group:      TO_BE/FILLED_IN
+Summary:    OSP app framework internal (Internal)
 Requires:   %{name} = %{version}-%{release}
+Requires:   %{name}-devel
 
 %description internal-devel
 The App Framework library of OSP (Internal-DEV)
 
 %package debug
 Summary:    The App Framework library of OSP (Development)
-Group:      TO_BE/FILLED_IN
 Requires:   %{name} = %{version}-%{release}
 
 %description debug
@@ -156,7 +153,7 @@ rm -rf %{buildroot}
 %install
 mkdir -p %{buildroot}/usr/share/license
 cp %{_builddir}/%{name}-%{version}/LICENSE.Flora  %{buildroot}/usr/share/license/%{name}
-cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2  %{buildroot}/usr/share/license/%{name}
+cat %{_builddir}/%{name}-%{version}/LICENSE.APLv2 >> %{buildroot}/usr/share/license/%{name}
 
 %make_install
 
@@ -200,7 +197,6 @@ chmod 444 /opt/usr/etc/clocale.list
 %files devel
 %{_includedir}/osp/*.h
 %{_includedir}/osp/*.hpp
-%{_libdir}/pkgconfig/osp-appfw.pc
 
 %files internal-devel
 %{_includedir}/osp/app/*
@@ -211,7 +207,7 @@ chmod 444 /opt/usr/etc/clocale.list
 %{_includedir}/osp/system/*
 %{_includedir}/osp/text/*
 %{_includedir}/osp/server/*
-%{_includedir}/osp/system-server/*
+%{_libdir}/pkgconfig/osp-appfw.pc
 %{_libdir}/pkgconfig/osp-appfw-server.pc
 %{_libdir}/pkgconfig/osp-system-server.pc