CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
-PROJECT(component-based-widget-application CXX)
+PROJECT(component-based-efl-widget CXX)
SET(PREFIX "${CMAKE_INSTALL_PREFIX}")
SET(EXEC_PREFIX "\${prefix}")
INCLUDE(FindPkgConfig)
SET(requires "glib-2.0 bundle dlog ecore-wl2 elementary capi-appfw-app-control")
SET(pc_requires "elementary component-based-core-widget-base")
-pkg_check_modules(component-based-widget-application REQUIRED ${requires})
+pkg_check_modules(component-based-efl-widget REQUIRED ${requires})
-FOREACH(flag ${component-based-widget-application_CFLAGS})
+FOREACH(flag ${component-based-efl-widget_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
ENDFOREACH(flag)
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} -fvisibility=hidden -Wall -Werror -Winline -std=c++11")
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES SOVERSION ${MAJORVER})
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES VERSION ${FULLVER})
-TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${component-based-widget-application_LDFLAGS} component-based-core-widget-base)
+TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${component-based-efl-widget_LDFLAGS} component-based-core-widget-base)
-SET(PC_NAME component-based-widget-application)
+SET(PC_NAME component-based-efl-widget)
SET(PC_REQUIRED ${pc_requires})
CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY)
Source1001: %{name}.manifest
Source1002: %{name}-application.manifest
Source1003: %{name}-widget.manifest
-Source1004: %{name}-widget-application.manifest
+Source1004: %{name}-efl-widget.manifest
Source1005: %{name}-port.manifest
Requires(post): /sbin/ldconfig
# component-based-widget
#################################################
%package -n %{name}-widget
-Summary: Library for developing the component-based widget application
+Summary: Library for developing the component-based widget component
Group: Application Framework/Core
License: Apache-2.0
%description -n %{name}-widget
-Provider APIs to develop the component-based widget application
+Provider APIs to develop the component-based widget component
%package -n %{name}-widget-devel
-Summary: Component-based widget application development library (dev)
+Summary: Component-based widget component development library (dev)
Group: Development/Libraries
Requires: %{name}-widget = %{version}-%{release}
Header & package configuration files to support development of the component-based widget
#################################################
-# component-based-widget-application
+# component-based-efl-widget
#################################################
-%package -n %{name}-widget-application
-Summary: Library for developing the component-based efl widget application
+%package -n %{name}-efl-widget
+Summary: Library for developing the component-based efl widget component
Group: Application Framework/Core
License: Apache-2.0
-%description -n %{name}-widget-application
-Provider APIs to develop the component-based efl widget application
+%description -n %{name}-efl-widget
+Provider APIs to develop the component-based efl widget component
-%package -n %{name}-widget-application-devel
-Summary: Component-based efl widget application development library (dev)
+%package -n %{name}-efl-widget-devel
+Summary: Component-based efl widget component development library (dev)
Group: Development/Libraries
-Requires: %{name}-widget-application = %{version}-%{release}
+Requires: %{name}-efl-widget = %{version}-%{release}
-%description -n %{name}-widget-application-devel
-Header & package configuration files to support development of the component-based efl widget application.
+%description -n %{name}-efl-widget-devel
+Header & package configuration files to support development of the component-based efl widget component.
#################################################
# component-based-port
%preun
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
-
-%post -n %{name}-application
-/sbin/ldconfig
-
-%postun -n %{name}-application
-/sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+%post -n %{name}-application -p /sbin/ldconfig
+%postun -n %{name}-application -p/sbin/ldconfig
%post -n %{name}-widget -p /sbin/ldconfig
%postun -n %{name}-widget -p /sbin/ldconfig
-%post -n %{name}-widget-application -p /sbin/ldconfig
-%postun -n %{name}-widget-application -p /sbin/ldconfig
+%post -n %{name}-efl-widget -p /sbin/ldconfig
+%postun -n %{name}-efl-widget -p /sbin/ldconfig
+%post -n %{name}-port -p /sbin/ldconfig
+%postun -n %{name}-port -p /sbin/ldconfig
%post unittests
%if 0%{?gcov:1}
%{_bindir}/component-based_unittests
%endif
-
%files -n %{name}
%manifest %{name}.manifest
%license LICENSE
%{_libdir}/libcomponent-based-core-widget-base.so
#################################################
-# component-based-widget-application
+# component-based-efl-widget
#################################################
-%files -n %{name}-widget-application
+%files -n %{name}-efl-widget
%license LICENSE
-%manifest %{name}-widget-application.manifest
-%attr(0644,root,root) %{_libdir}/libcomponent-based-widget-application.so.*
+%manifest %{name}-efl-widget.manifest
+%attr(0644,root,root) %{_libdir}/libcomponent-based-efl-widget.so.*
-%files -n %{name}-widget-application-devel
+%files -n %{name}-efl-widget-devel
%{_includedir}/component_based/efl_widget_base/*.h
%{_includedir}/component_based/efl_widget_base/api/*.h
-%{_libdir}/pkgconfig/component-based-widget-application.pc
-%{_libdir}/libcomponent-based-widget-application.so
+%{_libdir}/pkgconfig/component-based-efl-widget.pc
+%{_libdir}/libcomponent-based-efl-widget.so
#################################################
# component-based-port