6 Group: Development
/Tools
8 URL: http
://www.auto.tuwien.ac.at
/~mkoegler
/index.php
/bcusdk
9 Source0: bcusdk_
%{version}.tar.gz
10 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n
)
12 BuildRequires
: libxml2
-devel
, gcc
-c
++, make, flex
, bison
, pthsem
-devel
, m68hc05
-gcc
, gcc
-java
, indent
13 %if 0%{?suse_version} > 910
14 BuildRequires
: fastjar
16 Requires: eibd
-server
, eibd
-clients
, eibd
-client
-sources
, libeibclient
-devel
, bcusdk
-build
19 A SDK to develop application
for EIB BCU
1 and
2.
21 %package -n eibd
-server
23 Group: Development
/Tools
25 %description -n eibd
-server
26 eibd is a daemon
, which supports connection to an EIB bus over various
27 access devices and provide its services over TCP
/IP or Unix domain sockets.
28 Note
: Some backends may crash Linux
2.6 kernels before
2.6.11.
30 %package -n eibd
-clients
32 Group: Development
/Tools
34 %description -n eibd
-clients
35 provides simple example programs to perform some management task on a EIB system.
37 %package -n libeibclient
-devel
38 Summary: eibd client library
39 Group: Development
/Tools
41 %description -n libeibclient
-devel
42 provides a simple client library written
in C to access the EIB bus over eibd.
44 %package -n eibd
-client
-sources
45 Summary: sources of the eibd client programs
46 Group: Development
/Tools
48 %description -n eibd
-client
-sources
49 provides the
source of the eibd client programs as examples how to use
50 the eibd client library.
52 %package -n bcusdk
-build
53 Requires: m68hc05
-gcc
, libxslt
54 Summary: BCU SDK image building programs
55 Group: Development
/Tools
57 %description -n bcusdk
-build
58 contains all files and programs to build BCU images
60 # no debug package + strip
61 %define __spec_install_post
%{nil}
62 %define debug_package
%{nil}
66 %setup -q
-n bcusdk
-%{version}
70 %configure --enable-ft12
--enable-pei16
--enable-tpuart
--enable-pei16s
--enable-tpuarts \
71 --enable-eibnetip
--enable-eibnetipserver
--enable-eibnetiptunnel
--enable-usb
--enable-groupcache
--enable-java
76 rm -rf $RPM_BUILD_ROOT
77 make install DESTDIR
=$RPM_BUILD_ROOT
81 rm -rf $RPM_BUILD_ROOT
85 %defattr(-,root
,root
,-)
88 %files -n bcusdk
-build
89 %defattr(-,root
,root
,-)
90 /usr
/share
/bcusdk
/include
91 /usr
/share
/bcusdk
/ldscripts
101 /usr
/bin
/extractprogid
102 /usr
/bin
/gencitemplate
106 /usr
/share
/bcusdk
/examples
/*.xml
108 %files -n eibd
-server
109 %defattr(-,root
,root
,-)
113 /usr
/bin
/eibnetdescribe
114 /usr
/bin
/eibnetsearch
117 %files -n eibd
-clients
118 %defattr(-,root
,root
,-)
121 /usr
/bin
/vbusmonitor1
122 /usr
/bin
/vbusmonitor1poll
123 /usr
/bin
/vbusmonitor2
127 /usr
/bin
/groupsresponse
128 /usr
/bin
/groupresponse
136 /usr
/bin
/mprogmodeoff
137 /usr
/bin
/mprogmodestatus
138 /usr
/bin
/mprogmodetoggle
141 /usr
/bin
/progmodestatus
142 /usr
/bin
/progmodetoggle
147 /usr
/bin
/mpropscanpoll
148 /usr
/bin
/readindividual
149 /usr
/bin
/writeaddress
152 /usr
/bin
/groupsocketlisten
153 /usr
/bin
/groupsocketread
154 /usr
/bin
/groupsocketwrite
155 /usr
/bin
/groupsocketswrite
156 /usr
/bin
/groupreadresponse
157 /usr
/bin
/groupcacheenable
158 /usr
/bin
/groupcachedisable
159 /usr
/bin
/groupcacheclear
160 /usr
/bin
/groupcacheremove
161 /usr
/bin
/groupcachereadsync
162 /usr
/bin
/groupcacheread
169 %files -n libeibclient
-devel
170 %defattr(-,root
,root
,-)
172 %{_libdir}/libeibclient.a
173 /usr
/share
/bcusdk
/eibclient.php
174 /usr
/share
/bcusdk
/EIBConnection.cs
175 /usr
/share
/java
/eibclient.jar
177 %files -n eibd
-client
-sources
178 %defattr(-,root
,root
,-)
179 /usr
/share
/bcusdk
/examples
/*.c
180 /usr
/share
/bcusdk
/examples
/*.h
184 * Sat Jul
30 2005 Martin Koegler
<mkoegler@auto.tuwien.ac.at
> - 0:0.0.0-3