Name: @PROJECT_NAME@ Version: @COMPONENT_VERSION@ Release: @RPM_PACKAGE_VERSION@ Summary: CommonAPI Group: libs License: @LICENSE@ Vendor: BMW Group URL: http://www.bmw.de Source: @PROJECT_NAME@-@COMPONENT_VERSION@.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root #Requires: libcommonapi %description CAPI middleware for IPC %package dev Summary: CommonAPI header files Group: Development/Libraries Requires: libcommonapi3 %package staticdev Summary: CommonAPI header files Group: Development/Libraries Requires: libcommonapi3 %description dev CAPI middleware headers for IPC development %prep mkdir -p %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI %setup %build mkdir -p build cd build cmake .. make %install rm -rf $RPM_BUILD_ROOT cd build cmake .. make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_libdir}/libCommonAPI.so.@LIBCOMMONAPI_MAJOR_VERSION@ %{_libdir}/libCommonAPI.so.@LIBCOMMONAPI_MAJOR_VERSION@.@LIBCOMMONAPI_MINOR_VERSION@.@LIBCOMMONAPI_PATCH_VERSION@ %{_libdir}/libCommonAPI.so %files staticdev #%{_libdir}/libCommonAPI.la %files dev %defattr(-,root,root,-) %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Address.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Attribute.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/AttributeExtension.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/ByteBuffer.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/CommonAPI.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/ContainerUtils.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Deployable.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Deployment.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Enumeration.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Event.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Factory.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/IniFileReader.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/InputStream.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Logger.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/MainLoopContext.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/OutputStream.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Proxy.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/ProxyManager.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Runtime.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/SelectiveEvent.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/SerializableArguments.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Struct.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Stub.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/TypeOutputStream.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Types.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Utils.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Variant.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Version.hpp %{_libdir}/cmake/CommonAPI-@COMPONENT_VERSION@/CommonAPIConfig.cmake %{_libdir}/cmake/CommonAPI-@COMPONENT_VERSION@/CommonAPIConfigVersion.cmake %{_libdir}/cmake/CommonAPI-@COMPONENT_VERSION@/CommonAPITargets.cmake %{_libdir}/cmake/CommonAPI-@COMPONENT_VERSION@/CommonAPITargets-@CMAKE_BUILD_TYPE_FOR_SPEC_IN@.cmake %changelog dev * Fri Mar 20 2015 Markus Freutsmiedl @GENIVI_PROJECT_VERSION@ - LIB_MAJOR_VERSION changed to LIBCOMMONAPI_MAJOR_VERSION - LIB_MINOR_VERSION changed to LIBCOMMONAPI_MINOR_VERSION - LIB_PATCH_VERSION changed to LIBCOMMONAPI_PATCH_VERSION - files dev reworked %changelog dev * Tue Sep 2 2014 Markus Freutsmiedl @GENIVI_PROJECT_VERSION@ - files dev reworked %changelog dev * Tue July 1 2014 Markus Freutsmiedl @GENIVI_PROJECT_VERSION@ - LIB_MAJOR_VERSION, LIB_MINOR_VERSION and LIB_PATCH_VERSION introduced %changelog dev * Wed Jan 29 2014 Gernot Wirschal @GENIVI_PROJECT_VERSION@ - Add dev packet configuration %changelog * Wed Jan 29 2014 Gernot Wirschal @GENIVI_PROJECT_VERSION@ - Add dev packet configuration * Mon Jan 27 2014 Gernot Wirschal @GENIVI_PROJECT_VERSION@ - Initial packaging for GPT