1 |
%define name smeserver-manager-AdminLTE |
2 |
%define version 0.1.0 |
3 |
%define release 5 |
4 |
Summary: AdminLTE is an html framework for admin consoles - this rpm adds it to smeserver manager2 |
5 |
Name: %{name} |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
Distribution: SME Server |
9 |
License: GNU GPL version 2 |
10 |
URL: https://adminlte.io/ |
11 |
Group: SMEserver/addon |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0: smeserver-manager-AdminLTE-0.1.0-add-adminlte-version-to-footer.patch |
14 |
Patch1: smeserver-manager-AdminLTE-0.1.0-widen-top-band.patch |
15 |
Patch2: smeserver-manager-AdminLTE-0.1.0-Update-for-Apache-Mod-Proxy.patch |
16 |
|
17 |
Packager: Brian Read <brianr@bjsystems.co.uk> |
18 |
BuildArchitectures: noarch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildRequires: e-smith-devtools |
21 |
Requires: e-smith-release >= 10.0 |
22 |
Requires: smeserver-manager >= 0.1.0-11 |
23 |
AutoReqProv: no |
24 |
|
25 |
%description |
26 |
https://adminlte.io/ |
27 |
AdminLTE is an html framework for admin consoles |
28 |
wget https://github.com/ColorlibHQ/AdminLTE/archive/master.zip |
29 |
|
30 |
%changelog |
31 |
* Sat Jun 13 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-5.sme |
32 |
- Update for Apache Mod Proxy version of server mananger2 [SME:10906 ] |
33 |
|
34 |
* Wed Mar 25 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-4 |
35 |
- widen-top-band |
36 |
|
37 |
* Tue Mar 24 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-2 |
38 |
- Add AdminLTE version number to footer |
39 |
|
40 |
* Fri Mar 20 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-1 |
41 |
- initial release bugzilla:10906 |
42 |
|
43 |
|
44 |
%prep |
45 |
%setup |
46 |
%patch0 -p1 |
47 |
%patch1 -p1 |
48 |
%patch2 -p1 |
49 |
|
50 |
%build |
51 |
#perl createlinks |
52 |
|
53 |
%install |
54 |
rm -rf $RPM_BUILD_ROOT |
55 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
56 |
rm -f %{name}-%{version}-filelist |
57 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
58 |
|
59 |
%clean |
60 |
cd .. |
61 |
rm -rf %{name} |
62 |
|
63 |
%files -f %{name}-%{version}-filelist |
64 |
%defattr(-,root,root) |
65 |
|
66 |
%post |
67 |
systemctl restart smanager |