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