1 |
jcrisp |
1.1 |
%define name smeserver-manager-AdminLTE |
2 |
brianr |
1.10 |
%define version 0.1.1 |
3 |
|
|
%define release 1 |
4 |
jcrisp |
1.1 |
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 |
brianr |
1.10 |
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 |
|
|
#Patch3: smeserver-manager-AdminLTE-0.1.0-Add-Font-Size-Adjuster.patch |
17 |
|
|
#Patch4: smeserver-manager-AdminLTE-0.1.0-More-AdminLTE-Integration.patch |
18 |
brianr |
1.7 |
|
19 |
jcrisp |
1.1 |
Packager: Brian Read <brianr@bjsystems.co.uk> |
20 |
|
|
BuildArchitectures: noarch |
21 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
|
|
BuildRequires: e-smith-devtools |
23 |
|
|
Requires: e-smith-release >= 10.0 |
24 |
|
|
Requires: smeserver-manager >= 0.1.0-11 |
25 |
|
|
AutoReqProv: no |
26 |
|
|
|
27 |
|
|
%description |
28 |
|
|
https://adminlte.io/ |
29 |
|
|
AdminLTE is an html framework for admin consoles |
30 |
|
|
wget https://github.com/ColorlibHQ/AdminLTE/archive/master.zip |
31 |
|
|
|
32 |
|
|
%changelog |
33 |
brianr |
1.10 |
* Sun Jun 21 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.1-1.sme |
34 |
|
|
- Roll up all patches and Add in missing AdminLTE img directory [SME:10906 ] |
35 |
|
|
|
36 |
brianr |
1.9 |
* Thu Jun 18 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-7.sme |
37 |
|
|
- More AdminLTE integrations [SME:10906] |
38 |
|
|
|
39 |
brianr |
1.8 |
* Wed Jun 17 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-6.sme |
40 |
|
|
- Add drop down to adjust font size [SME:10906 ] |
41 |
|
|
|
42 |
brianr |
1.7 |
* Sat Jun 13 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-5.sme |
43 |
|
|
- Update for Apache Mod Proxy version of server mananger2 [SME:10906 ] |
44 |
|
|
|
45 |
jpp |
1.6 |
* Wed Mar 25 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-4 |
46 |
brianr |
1.4 |
- widen-top-band |
47 |
|
|
|
48 |
brianr |
1.3 |
* Tue Mar 24 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-2 |
49 |
|
|
- Add AdminLTE version number to footer |
50 |
|
|
|
51 |
jcrisp |
1.2 |
* Fri Mar 20 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-1 |
52 |
brianr |
1.3 |
- initial release bugzilla:10906 |
53 |
|
|
|
54 |
jcrisp |
1.1 |
|
55 |
|
|
%prep |
56 |
|
|
%setup |
57 |
brianr |
1.10 |
#%patch0 -p1 |
58 |
|
|
#%patch1 -p1 |
59 |
|
|
#%patch2 -p1 |
60 |
|
|
#%patch3 -p1 |
61 |
|
|
#%patch4 -p1 |
62 |
brianr |
1.9 |
|
63 |
jcrisp |
1.1 |
|
64 |
|
|
%build |
65 |
|
|
#perl createlinks |
66 |
|
|
|
67 |
|
|
%install |
68 |
|
|
rm -rf $RPM_BUILD_ROOT |
69 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
70 |
|
|
rm -f %{name}-%{version}-filelist |
71 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
72 |
|
|
|
73 |
|
|
%clean |
74 |
|
|
cd .. |
75 |
|
|
rm -rf %{name} |
76 |
|
|
|
77 |
|
|
%files -f %{name}-%{version}-filelist |
78 |
|
|
%defattr(-,root,root) |
79 |
|
|
|
80 |
|
|
%post |
81 |
brianr |
1.7 |
systemctl restart smanager |