diff options
author | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-06-10 15:59:59 +0200 |
---|---|---|
committer | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-06-10 16:01:07 +0200 |
commit | b772c8ca27263c3f2d5f23340000bb79081123ec (patch) | |
tree | 154151fb1bbe98b6b3bb573aad2a7a386d5754b4 | |
parent | 5f1787bb00aeec0926b50780d7aeae081895c7cb (diff) | |
download | app-core-b772c8ca27263c3f2d5f23340000bb79081123ec.tar.gz app-core-b772c8ca27263c3f2d5f23340000bb79081123ec.tar.bz2 app-core-b772c8ca27263c3f2d5f23340000bb79081123ec.zip |
Clean spec filetizen_3.0.m14.2_ivi_releasesubmit/tizen_ivi/20140626.144348submit/tizen_ivi/20140626.130032submit/tizen_ivi/20140626.125712submit/tizen_ivi/20140624.064036submit/tizen_common/20140618.103325tizen_3.0.m14.2_ivi
Also: add a valid license tag.
Change-Id: I9eaa863e293f84d6d814939e085a345e09c60453
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
-rw-r--r-- | packaging/app-core.spec | 53 |
1 files changed, 23 insertions, 30 deletions
diff --git a/packaging/app-core.spec b/packaging/app-core.spec index 8a2403f..4dcd3a7 100644 --- a/packaging/app-core.spec +++ b/packaging/app-core.spec @@ -1,21 +1,21 @@ %bcond_with x %bcond_with wayland -Name: app-core -Summary: Application basic -Version: 1.2 -Release: 48 -Group: Application Framework -License: Apache-2.0 -Source0: app-core-%{version}.tar.gz +Name: app-core +Summary: Application basic +Version: 1.2 +Release: 0 +Group: Application Framework/Libraries +License: Apache-2.0 +Source0: app-core-%{version}.tar.gz %if %{with wayland} && !%{with x} -Source101: packaging/core-efl-wayland.target +Source101: packaging/core-efl-wayland.target %else -Source101: packaging/core-efl-x.target +Source101: packaging/core-efl-x.target BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(ecore-x) %endif -Source1001: app-core.manifest +Source1001: app-core.manifest BuildRequires: pkgconfig(sensor) BuildRequires: pkgconfig(vconf) BuildRequires: pkgconfig(aul) @@ -28,12 +28,10 @@ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libtzplatform-config) BuildRequires: cmake - %description SLP common application basic - %package efl Summary: App basic EFL Group: Development/Libraries @@ -43,6 +41,7 @@ Requires(postun): /sbin/ldconfig %description efl Application basic EFL + %package efl-devel Summary: App basic EFL (devel) Group: Development/Libraries @@ -52,6 +51,7 @@ Requires: %{name}-common-devel = %{version}-%{release} %description efl-devel Application basic EFL (devel) + %package common Summary: App basics common Group: Development/Libraries @@ -61,6 +61,7 @@ Requires(postun): /sbin/ldconfig %description common Application basics common + %package common-devel Summary: App basics common (devel) Group: Development/Libraries @@ -73,10 +74,10 @@ Requires: pkgconfig(aul) Requires: pkgconfig(x11) %endif - %description common-devel Application basics common (devel) + %package template Summary: App basics template Group: Development/Libraries @@ -89,7 +90,9 @@ Application basics template %setup -q cp %{SOURCE1001} . + %build + %cmake . \ %if %{with wayland} && !%{with x} -Dwith_wayland=TRUE\ @@ -98,35 +101,28 @@ cp %{SOURCE1001} . make %{?jobs:-j%jobs} + %install rm -rf %{buildroot} %make_install install -d %{buildroot}%{_unitdir_user}/core-efl.target.wants install -m0644 %{SOURCE101} %{buildroot}%{_unitdir_user}/core-efl.target -mkdir -p %{buildroot}/usr/share/license -cp LICENSE %{buildroot}/usr/share/license/%{name}-efl -cp LICENSE %{buildroot}/usr/share/license/%{name}-efl-devel -cp LICENSE %{buildroot}/usr/share/license/%{name}-common -cp LICENSE %{buildroot}/usr/share/license/%{name}-common-devel - -%post efl -p /sbin/ldconfig -%postun efl -p /sbin/ldconfig - -%post common -p /sbin/ldconfig - -%postun common -p /sbin/ldconfig +%post -n app-core-efl -p /sbin/ldconfig +%postun -n app-core-efl -p /sbin/ldconfig +%post -n app-core-common -p /sbin/ldconfig +%postun -n app-core-common -p /sbin/ldconfig %files efl %manifest %{name}.manifest %defattr(-,root,root,-) %{_libdir}/libappcore-efl.so.* -/usr/share/license/%{name}-efl +%license LICENSE %files efl-devel %manifest %{name}.manifest @@ -134,7 +130,6 @@ cp LICENSE %{buildroot}/usr/share/license/%{name}-common-devel %{_includedir}/appcore/appcore-efl.h %{_libdir}/libappcore-efl.so %{_libdir}/pkgconfig/appcore-efl.pc -/usr/share/license/%{name}-efl-devel %files common %manifest %{name}.manifest @@ -142,7 +137,7 @@ cp LICENSE %{buildroot}/usr/share/license/%{name}-common-devel %{_libdir}/libappcore-common.so.* %{_prefix}/lib/systemd/user/core-efl.target %{_prefix}/lib/systemd/user/core-efl.target.wants/ -/usr/share/license/%{name}-common +%license LICENSE %files common-devel %manifest %{name}.manifest @@ -151,5 +146,3 @@ cp LICENSE %{buildroot}/usr/share/license/%{name}-common-devel %{_libdir}/pkgconfig/appcore-common.pc %{_includedir}/appcore/appcore-common.h %{_includedir}/SLP_Appcore_PG.h -/usr/share/license/%{name}-common-devel - |