3 %define AppInstallPath /usr/apps/org.tizen.lockscreen
4 %define Exec lockscreen
6 Name: org.tizen.lockscreen
7 Summary: Lockscreen app
11 Source0: %{name}-%{version}.tar.gz
13 %if "%{?tizen_profile_name}" == "wearable"
14 ExcludeArch: %{arm} %ix86 x86_64
17 %if "%{?tizen_profile_name}"=="tv"
18 ExcludeArch: %{arm} %ix86 x86_64
21 BuildRequires: pkgconfig(appcore-efl)
22 BuildRequires: pkgconfig(ecore)
23 BuildRequires: pkgconfig(eina)
24 BuildRequires: pkgconfig(evas)
25 BuildRequires: pkgconfig(bundle)
26 BuildRequires: pkgconfig(capi-system-sensor)
27 BuildRequires: pkgconfig(capi-system-info)
28 BuildRequires: pkgconfig(capi-system-runtime-info)
29 BuildRequires: pkgconfig(capi-system-system-settings)
30 BuildRequires: pkgconfig(capi-system-device)
31 BuildRequires: pkgconfig(capi-appfw-application)
32 BuildRequires: pkgconfig(capi-appfw-preference)
33 BuildRequires: pkgconfig(capi-appfw-app-manager)
34 BuildRequires: pkgconfig(deviced)
35 BuildRequires: pkgconfig(edje)
36 BuildRequires: pkgconfig(aul)
37 BuildRequires: pkgconfig(ail)
38 BuildRequires: pkgconfig(dlog)
39 BuildRequires: pkgconfig(glib-2.0)
40 BuildRequires: pkgconfig(dbus-1)
41 BuildRequires: pkgconfig(dbus-glib-1)
42 BuildRequires: pkgconfig(elementary)
43 BuildRequires: pkgconfig(notification)
44 BuildRequires: pkgconfig(minicontrol-viewer)
45 BuildRequires: pkgconfig(contacts-service2)
46 BuildRequires: pkgconfig(security-server)
47 BuildRequires: pkgconfig(minicontrol-monitor)
48 BuildRequires: pkgconfig(ui-gadget-1)
49 BuildRequires: pkgconfig(feedback)
50 BuildRequires: pkgconfig(msg-service)
51 BuildRequires: pkgconfig(tapi)
52 BuildRequires: pkgconfig(efl-extension)
53 BuildRequires: pkgconfig(key-manager)
54 BuildRequires: pkgconfig(accounts-svc)
56 BuildRequires: edje-tools
57 BuildRequires: gettext-tools
58 #BuildRequires: model-build-features
61 BuildRequires: pkgconfig(ecore-wayland)
63 BuildRequires: pkgconfig(ecore-x)
64 BuildRequires: pkgconfig(utilX)
68 Lockscreen application for Tizen.
74 %if 0%{?tizen_build_binary_release_type_eng}
75 export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
76 export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
77 export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
81 export CFLAGS="$CFLAGS -DTIZEN_BUILD_TARGET"
82 export CXXFLAGS="$CXXFLAGS -DTIZEN_BUILD_TARGET"
83 export FFLAGS="$FFLAGS -DTIZEN_BUILD_TARGET"
85 export CFLAGS="$CFLAGS -DTIZEN_BUILD_EMULATOR"
86 export CXXFLAGS="$CXXFLAGS -DTIZEN_BUILD_EMULATOR"
87 export FFLAGS="$FFLAGS -DTIZEN_BUILD_EMULATOR"
91 export WAYLAND_SUPPORT=On
92 export X11_SUPPORT=Off
94 export WAYLAND_SUPPORT=Off
98 cmake . -DCMAKE_INSTALL_PREFIX="%{AppInstallPath}" -DCMAKE_TARGET="%{Exec}" -DCMAKE_PACKAGE="%{name}" -DWAYLAND_SUPPORT=${WAYLAND_SUPPORT} -DX11_SUPPORT=${X11_SUPPORT}
108 %postun -p /sbin/ldconfig
111 %manifest org.tizen.lockscreen.manifest
112 %defattr(-,root,root,-)
113 %{AppInstallPath}/bin/lockscreen
114 %{AppInstallPath}/res/images/*.png
115 %{AppInstallPath}/res/edje/*.edj
116 %{AppInstallPath}/res/locale/*/LC_MESSAGES/*
117 /usr/share/packages/org.tizen.lockscreen.xml