-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlx.spec
35 lines (27 loc) · 769 Bytes
/
lx.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
Summary: TrustedExtensions for the Application Services Gateway
Name: TrustedExtensions
Version: 1.0.1
Release: 0004
BuildArch: noarch
Group: Development/Libraries
License: Apache-2.0
Packager: F5 DevCentral Community <[email protected]>
%description
iControl LX extension to handle extension lifecycle management on trusted TMOS devices
%define APP_DIR /var/config/rest/iapps/%{name}
%prep
cp -r %{main}/src %{_builddir}/%{name}-%{version}
%build
npm prune --production
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{APP_DIR}
cp -r $RPM_BUILD_DIR/%{name}-%{version}/* $RPM_BUILD_ROOT/%{APP_DIR}
%clean
rm -rf ${buildroot}
%files
%defattr(-,root,root)
%{APP_DIR}
%changelog
* Mon Oct 01 2018 iApp Dev <[email protected]>
- auto-generated this spec file