-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathcommonapi-dbus.spec.in
127 lines (109 loc) · 6.3 KB
/
commonapi-dbus.spec.in
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
Name: @PROJECT_NAME@
Version: @COMPONENT_VERSION@
Release: @RPM_PACKAGE_VERSION@
Summary: CommonAPI-DBus
Group: libs
License: @LICENSE@
Vendor: BMW Group
URL: http://www.bmw.de
Source: @PROJECT_NAME@-@[email protected]
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
#Requires: libcommonapi
%description
CAPI-DBus for IPC
%package dev
Summary: CommonAPI-DBus header files
Group: Development/Libraries
Requires: libcommonapi-dbus3
%package staticdev
Summary: CommonAPI-DBus header files
Group: Development/Libraries
Requires: libcommonapi-dbus3
%description dev
CAPI-DBus 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-DBus.so.@LIBCOMMONAPI_DBUS_MAJOR_VERSION@
%{_libdir}/libCommonAPI-DBus.so.@LIBCOMMONAPI_DBUS_MAJOR_VERSION@.@LIBCOMMONAPI_DBUS_MINOR_VERSION@.@LIBCOMMONAPI_DBUS_PATCH_VERSION@
%{_libdir}/libCommonAPI-DBus.so
%files staticdev
#%{_libdir}/libCommonAPI-DBus.la
%files dev
%defattr(-,root,root,-)
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusAddress.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusAddressTranslator.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusAttribute.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusClientId.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusConfig.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusConnection.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusDaemonProxy.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusDeployment.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusError.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusEvent.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusFactory.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusFreedesktopAttribute.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusFreedesktopPropertiesStub.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusFreedesktopStubAdapterHelper.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusFreedesktopVariant.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusFunctionalHash.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusHelper.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusInputStream.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusInstanceAvailabilityStatusChangedEvent.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusInterfaceHandler.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusMainLoopContext.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusMessage.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusMultiEvent.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusObjectManager.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusObjectManagerStub.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusOutputStream.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusProxy.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusProxyAsyncCallbackHandler.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusProxyBase.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusProxyConnection.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusProxyHelper.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusProxyManager.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusSelectiveEvent.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusSerializableArguments.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusServiceRegistry.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusStubAdapter.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusStubAdapterHelper.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusTypeOutputStream.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusTypes.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/CommonAPI/DBus/DBusUtils.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/pugixml
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/pugixml/pugiconfig.hpp
%{_includedir}/CommonAPI-@COMMONAPI_API_HEADER_VERSION@/pugixml/pugixml.hpp
%{_libdir}/cmake/CommonAPI-@COMPONENT_VERSION@/CommonAPI-DBusConfig.cmake
%{_libdir}/cmake/CommonAPI-@COMPONENT_VERSION@/CommonAPI-DBusConfigVersion.cmake
%{_libdir}/cmake/CommonAPI-@COMPONENT_VERSION@/CommonAPI-DBusTargets.cmake
%{_libdir}/cmake/CommonAPI-@COMPONENT_VERSION@/CommonAPI-DBusTargets-@[email protected]
%changelog dev
* Mon Mar 23 2015 Markus Freutsmiedl <[email protected]> @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
* Wed Sep 3 2014 Markus Freutsmiedl <[email protected]> @GENIVI_PROJECT_VERSION@
- files dev reworked
%changelog dev
* Tue Jun 03 2014 Markus Freutsmiedl <[email protected]> @GENIVI_PROJECT_VERSION@
- Initial version