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.@LIB_MAJOR_VERSION@ %{_libdir}/libCommonAPI.so.@LIB_MAJOR_VERSION@.@LIB_MINOR_VERSION@.@LIB_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/Attribute.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/AttributeExtension.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/ByteBuffer.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/CommonAPI.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Configuration.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/ContainerUtils.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Event.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Factory.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Factory.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/InputStream.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/MainLoopContext.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/MiddlewareInfo.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/OutputStream.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Proxy.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/ProxyManager.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Runtime.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/SelectiveEvent.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/SerializableStruct.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/SerializableVariant.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/SerializableVariant.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/ServicePublisher.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/ServicePublisher.hpp %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/Stub.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/types.h %{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/utils.h %{_libdir}/cmake/CommonAPI-@COMPONENT_VERSION@/CommonAPIConfig.cmake %{_libdir}/cmake/CommonAPI-@COMPONENT_VERSION@/CommonAPIConfigVersion.cmake %{_libdir}/cmake/CommonAPI-@COMPONENT_VERSION@/CommonAPITargets.cmake %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