-
Notifications
You must be signed in to change notification settings - Fork 0
/
nautilos-repo-setup.spec
52 lines (47 loc) · 1.44 KB
/
nautilos-repo-setup.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
44
45
46
47
48
49
50
51
52
Name: nautilos-repo-setup
Version: 1.0.2
Release: 0
Summary: Initialize System with NautilOS repositories
Group: Application/Misc
License: MIT
%if "%{_vendor}" == "debbuild"
Packager: Marcus Schaefer <marcus.schaefer@elektrobit.com>
%endif
Source0: %{name}-%{version}.tar.gz
Requires: whiptail
Requires: curl
Requires: wget
Requires: libxml2-utils
BuildArch: noarch
%description
Provides ebcl-repo-setup and ebcl-sync tools to initialize credentials
protected NautilOS debian repositories from Artifactory. An environment
file ~/.ebcl is created such that other ebcl tools can also
make use of it
%prep
%setup -q
%install
install -D -m 600 nautilos-repo-setup/ebcl.production \
%{buildroot}/root/.ebcl.production
install -D -m 600 nautilos-repo-setup/ebcl.test \
%{buildroot}/root/.ebcl.test
install -D -m 600 nautilos-repo-setup/ebcl.local \
%{buildroot}/root/.ebcl.local
install -D -m 755 nautilos-repo-setup/ebcl-repo-setup \
%{buildroot}/usr/bin/ebcl-repo-setup
install -D -m 755 nautilos-repo-setup/ebcl-releases \
%{buildroot}/usr/bin/ebcl-releases
install -D -m 755 nautilos-repo-setup/ebcl-sync \
%{buildroot}/usr/bin/ebcl-sync
install -D -m 755 nautilos-repo-setup/ebcl-ui \
%{buildroot}/usr/bin/ebcl-ui
%files
%defattr(-,root,root,-)
/root/.ebcl.production
/root/.ebcl.test
/root/.ebcl.local
%{_usr}/bin/ebcl-repo-setup
%{_usr}/bin/ebcl-releases
%{_usr}/bin/ebcl-sync
%{_usr}/bin/ebcl-ui
%changelog