%define _optdir /opt %define _usrdir /usr %define _appdir %{_usrdir}/apps %define _usr_datadir %{_usrdir}/share %define _project_name menu-screen %define _package_name org.tizen.%{_project_name} %define _packagedir %{_appdir}/%{_package_name} %define _bindir %{_packagedir}/bin %define _resdir %{_packagedir}/res %define _sharedir %{_packagedir}/share %define _localedir %{_resdir}/locale Name: org.tizen.menu-screen Summary: An utility library of the menu screen Version: 1.2.5 Release: 1.1 Group: TO_BE/FILLED_IN License: Apache-2.0 Source0: %{name}-%{version}.tar.gz BuildRequires: pkgconfig(appcore-efl) #BuildRequires: pkgconfig(appsvc) BuildRequires: pkgconfig(aul) BuildRequires: pkgconfig(badge) BuildRequires: pkgconfig(bundle) BuildRequires: pkgconfig(capi-appfw-application) BuildRequires: pkgconfig(capi-system-info) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(db-util) BuildRequires: pkgconfig(ecore) BuildRequires: pkgconfig(ecore-evas) BuildRequires: pkgconfig(ecore-file) BuildRequires: pkgconfig(ecore-imf) BuildRequires: pkgconfig(ecore-input) BuildRequires: pkgconfig(edje) BuildRequires: pkgconfig(eet) BuildRequires: pkgconfig(eina) BuildRequires: pkgconfig(elementary) BuildRequires: pkgconfig(evas) BuildRequires: pkgconfig(pkgmgr) BuildRequires: pkgconfig(pkgmgr-info) BuildRequires: pkgconfig(shortcut) BuildRequires: pkgconfig(syspopup-caller) BuildRequires: pkgconfig(capi-appfw-preference) BuildRequires: pkgconfig(capi-system-info) BuildRequires: pkgconfig(capi-system-system-settings) BuildRequires: pkgconfig(capi-appfw-package-manager) BuildRequires: pkgconfig(capi-appfw-app-manager) BuildRequires: cmake BuildRequires: edje-tools BuildRequires: gettext-tools BuildRequires: pkgconfig(libtzplatform-config) %description An utility library for developers of the menu screen. %package devel Summary: An utility library of the menu screen (devel) Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel An utility library for developers of the menu screen (devel) %prep %setup -q %build CFLAGS+=" -fPIC -fPIE ";export CFLAGS CXXFLAGS+=" -fPIC -fPIE -fvisibility=hidden -fvisibility-inlines-hidden ";export CXXFLAGS LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -pie ";export LDFLAGS cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DARCH=%{ARCH} make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install %define tizen_sign 1 %define tizen_sign_base /usr/apps/%{_package_name} %define tizen_sign_level platform %define tizen_author_sign 1 %define tizen_dist_sign 1 %post PRIVATE_OPTION="-s org.tizen.menu-screen" INHOUSE_ID="5000" %files %manifest %{_package_name}.manifest %defattr(-,root,root,-) /usr/apps/%{_package_name}/* /usr/share/icons/%{_package_name}.png /usr/share/packages/org.tizen.menu-screen.xml %license LICENSE