BuildRequires: boost-devel
BuildRequires: gettext-tools
BuildRequires: pkgconfig(security-server)
-BuildRequires: pkgconfig(badge)
BuildRequires: pkgconfig(appinfo) >= 0.1.0
# runtime requires
%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)
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
%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
%files devel
%{_includedir}/osp/*.h
%{_includedir}/osp/*.hpp
-%{_libdir}/pkgconfig/osp-appfw.pc
%files internal-devel
%{_includedir}/osp/app/*
%{_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