blob: 4956ffda3abe9cc903bc6423e56c07f3d25dbabe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
Name: @PROJECT_NAME@
Version: @PACKAGE_VERSION@
Release: @PACKAGE_VERSION@
Summary: CommonAPI
Group: Applications/BMW
License: @LICENSE@
Vendor: BMW Group
URL: http://www.bmw.de
Source: @PROJECT_NAME@-@GENIVI_RPM_RELEASE@.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
#Requires:
%description
CAPI middleware for IPC
%package dev
Summary: CommonAPI header files
#Requires: libcommonapi we have in comment as we first have to align packet names
%description dev
CAPI middleware headers for IPC development
%prep
%setup
%build
mkdir -p build
cd build
#../configure --host=@HOST_TYPE@ --prefix=%{_usr}
../configure --host=@GENIVI_HOST_ARCHITECTURE@ --prefix=%{_usr}
make
%install
rm -rf $RPM_BUILD_ROOT
cd build
cmake ..
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
#/usr/bin/install -c -m 755 ../src/shm-daemon $RPM_BUILD_ROOT%{_bindir}
#/usr/bin/install -c -m 755 ../Config/shm.conf $RPM_BUILD_ROOT%{_sysconfdir}
#/usr/bin/install -c -m 755 ../CommonAPI.pc $RPM_BUILD_ROOT/usr/lib/pkgconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_libdir}/libCommonAPI.so.3
%{_libdir}/libCommonAPI.so.3.0.0
%{_libdir}/libCommonAPI.so
%files dev
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/CommonAPI.pc
%{_libdir}/libCommonAPI.so
#%{_libdir}/libCommonAPI.la
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/Attribute.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/AttributeExtension.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/ByteBuffer.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/CommonAPI.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/Configuration.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/ContainerUtils.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/Event.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/Factory.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/Factory.hpp
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/InputStream.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/MainLoopContext.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/MiddlewareInfo.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/OutputStream.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/Proxy.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/ProxyManager.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/Runtime.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/SelectiveEvent.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/SerializableStruct.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/SerializableVariant.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/SerializableVariant.hpp
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/ServicePublisher.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/ServicePublisher.hpp
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/Stub.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/types.h
%{_includedir}/CommonAPI-@PACKAGE_VERSION@/CommonAPI/utils.h
%changelog
* Wed Jan 29 2014 Gernot Wirschal <Gernot.Wirschal@bmw.de> @GENIVI_PROJECT_VERSION@
- Add dev packet configuration
* Mon Jan 27 2014 Gernot Wirschal <Gernot.Wirschal@bmw.de> @GENIVI_PROJECT_VERSION@
- Initial packaging for GPT
|