diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2017-04-25 07:33:59 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2017-04-25 07:33:59 +0900 |
commit | 35600cc0bd04c23ed8059da723a363ee5ac5db19 (patch) | |
tree | 7c37bcc38dc3eb49822d1f4e0efdf07406c72beb /packaging | |
parent | cf9f6148a4e16338e93fee5390552865316ffc12 (diff) | |
download | media-key-35600cc0bd04c23ed8059da723a363ee5ac5db19.tar.gz media-key-35600cc0bd04c23ed8059da723a363ee5ac5db19.tar.bz2 media-key-35600cc0bd04c23ed8059da723a363ee5ac5db19.zip |
Remove unnecessary build configuration
Tizen only supports wayland.
Change-Id: Iea93aef2de64e1224672d9e2a77820f011bbef4e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/capi-system-media-key.spec | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/packaging/capi-system-media-key.spec b/packaging/capi-system-media-key.spec index 16df96e..d59296d 100644 --- a/packaging/capi-system-media-key.spec +++ b/packaging/capi-system-media-key.spec @@ -1,6 +1,3 @@ -%bcond_with x -%bcond_with wayland - Name: capi-system-media-key Summary: A System Information library in SLP C API Version: 0.1.0 @@ -15,19 +12,11 @@ BuildRequires: pkgconfig(capi-base-common) BuildRequires: pkgconfig(ecore) BuildRequires: pkgconfig(ecore-input) BuildRequires: pkgconfig(evas) - -%if %{with x} -BuildRequires: pkgconfig(x11) -BuildRequires: pkgconfig(utilX) -%endif -%if %{with wayland} BuildRequires: pkgconfig(ecore-wayland) -%endif %description %{summary}. - %package devel Summary: A Media Key library in SLP C API (Development) Group: System/API @@ -42,13 +31,9 @@ cp %{SOURCE1001} . %build MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` -%cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \ -%if %{with wayland} --DWITH_WAYLAND=TRUE -%endif -%if %{with x} --DWITH_X11=TRUE -%endif +%cmake -DFULLVER=%{version} \ + -DMAJORVER=${MAJORVER} \ + . make %{?jobs:-j%jobs} @@ -61,7 +46,7 @@ make %{?jobs:-j%jobs} %files %manifest %{name}.manifest -%license LICENSE +%license LICENSE %{_libdir}/libcapi-system-media-key.so.* %manifest capi-system-media-key.manifest @@ -70,5 +55,3 @@ make %{?jobs:-j%jobs} %{_includedir}/system/media_key.h %{_libdir}/pkgconfig/*.pc %{_libdir}/libcapi-system-media-key.so - - |