X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fxorg-x11-drv-gesture.spec;h=aac856c391c83c4eb835e6abf001b807413f4ac0;hb=25c0e3fce98a721f15914f66dd228a51f55f7d6b;hp=5d11fd20bcfeabfeebf600d6f4525465d059815d;hpb=91de92b11b25b81830c07c770f7a2309e111373a;p=adaptation%2Fxorg%2Fdriver%2Fxserver-xorg-input-gesture.git diff --git a/packaging/xorg-x11-drv-gesture.spec b/packaging/xorg-x11-drv-gesture.spec index 5d11fd2..aac856c 100644 --- a/packaging/xorg-x11-drv-gesture.spec +++ b/packaging/xorg-x11-drv-gesture.spec @@ -1,8 +1,9 @@ #sbs-git:slp/pkgs/xorg/driver/xserver-xorg-input-gesture xorg-x11-drv-gesture 0.1.0 fb1092a8ea453d658b38d5c28e67a58462d7c931 Name: xorg-x11-drv-gesture Summary: X.Org X server -- Xserver gesture driver -Version: 0.1.0 -Release: 4 +Version: 0.1.60 +Release: 1 +VCS: adaptation/xorg/driver/xserver-xorg-input-gesture#xorg-x11-drv-gesture-0.1.2-8-6-g7c67de9af10190753599a01144e865bf0a341604 Group: System/X Hardware Support License: MIT Source0: %{name}-%{version}.tar.gz @@ -12,6 +13,10 @@ BuildRequires: pkgconfig(xproto) BuildRequires: pkgconfig(inputproto) BuildRequires: pkgconfig(resourceproto) BuildRequires: pkgconfig(xorg-macros) +BuildRequires: pkgconfig(dlog) +%if "%{?tizen_profile_name}" == "mobile" +BuildRequires: pkgconfig(xdbg) +%endif %description This package provides the driver for recognizing gesture(s) using button @@ -26,27 +31,40 @@ Requires: %{name} = %{version}-%{release} %description devel xorg-x11-drv-gesture development files - %prep %setup -q %build -autoreconf -vfi -./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" -#./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info CFLAGS="$CFLAGS -D__DETAIL_DEBUG__ -D__DEBUG_EVENT_HANDLER__ " LDFLAGS="$LDFLAGS" +%if "%{?tizen_profile_name}" == "wearable" +cd wearable +%else +cd mobile +%endif + +#%autogen -ivf +%reconfigure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" make %{?jobs:-j%jobs} %install + +%if "%{?tizen_profile_name}" == "wearable" +cd wearable +%else +cd mobile +%endif + rm -rf %{buildroot} +mkdir -p %{buildroot}/usr/share/license +cp -af COPYING %{buildroot}/usr/share/license/%{name} %make_install %remove_docs %files %{_libdir}/xorg/modules/input/gesture_drv.so +/usr/share/license/%{name} %files devel %{_libdir}/pkgconfig/xorg-gesture.pc -