-
Notifications
You must be signed in to change notification settings - Fork 1
/
kafka-ai-demo-installer-offline.spec
executable file
·43 lines (34 loc) · 1.48 KB
/
kafka-ai-demo-installer-offline.spec
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
%undefine _disable_source_fetch
Name: kafka-ai-demo-installer-offline
Version: 0.0.1
Release: 0
License: Apache-2.0
Summary: Installer for the Kafka AI Demo
Url: https://github.com/ThePrez/Kafka-DayTrader-AI-example
BuildRequires: kafka-ai-demo-installer
Requires: kafka-ai-demo-installer
Source0: install-offline.sh
%description
Offline installation for the Kafka AI Demo at
https://github.com/ThePrez/Kafka-DayTrader-AI-example
Script will download, build, and install all necessary components,
including OpenLiberty, Zookeeper, Kafka, Camel, and DayTrader. It will
also create a database schema, database tables, a user profile, and
service definitions for Service Commander.
%prep
%build
mkdir -p %{buildroot}/QOpenSys/QIBM/UserData/Kafka-AI-Demo/
%install
INSTALLDIR=%{buildroot}/QOpenSys/QIBM/UserData/Kafka-AI-Demo/ /QOpenSys/QIBM/UserData/Kafka-AI-Demo-installer/install.sh
rm -fr %{buildroot}/QOpenSys/QIBM/UserData/Kafka-AI-Demo/jmeter-websocket-master
rm -fr %{buildroot}/QOpenSys/QIBM/UserData/Kafka-AI-Demo/dt7_build
rm -fr %{buildroot}/QOpenSys/QIBM/UserData/Kafka-AI-Demo/*.tgz
rm -fr %{buildroot}/QOpenSys/QIBM/UserData/Kafka-AI-Demo/*.zip
%files
%defattr(-, qsys, *none)
%exclude /QOpenSys/QIBM/UserData/Kafka-AI-Demo/wlp/usr/servers/dt7server/server.xml
/QOpenSys/QIBM/UserData/Kafka-AI-Demo/
%config(noreplace) /QOpenSys/QIBM/UserData/Kafka-AI-Demo/wlp/usr/servers/dt7server/server.xml
%changelog
* Wed Aug 18 2021 Jesse Gorzinski <[email protected]> - 0.0.1
- initial RPM release