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