1 |
%define name smeserver-manager-AdminLTE |
2 |
%define version 0.1.2 |
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.2-Fix-error-in-createlinks.patch |
15 |
|
16 |
|
17 |
#Patch0: smeserver-manager-AdminLTE-0.1.1-Add-rpm-names-to-footer.patch |
18 |
#Patch1: smeserver-manager-AdminLTE-0.1.1-change-css-to-supress-bold-on-data-class.patch |
19 |
#Patch2: smeserver-manager-AdminLTE-0.1.1-Add-update-event-to-createlinks.patch |
20 |
#Patch3: smeserver-manager-AdminLTE-0.1.1-Re-base-to-AdminLTE-V31.patch |
21 |
|
22 |
#Patch0: smeserver-manager-AdminLTE-0.1.0-add-adminlte-version-to-footer.patch |
23 |
#Patch1: smeserver-manager-AdminLTE-0.1.0-widen-top-band.patch |
24 |
#Patch2: smeserver-manager-AdminLTE-0.1.0-Update-for-Apache-Mod-Proxy.patch |
25 |
#Patch3: smeserver-manager-AdminLTE-0.1.0-Add-Font-Size-Adjuster.patch |
26 |
#Patch4: smeserver-manager-AdminLTE-0.1.0-More-AdminLTE-Integration.patch |
27 |
|
28 |
Packager: Brian Read <brianr@bjsystems.co.uk> |
29 |
BuildArchitectures: noarch |
30 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
31 |
BuildRequires: e-smith-devtools |
32 |
Requires: e-smith-release >= 10.0 |
33 |
Requires: smeserver-manager >= 0.1.0-11 |
34 |
AutoReqProv: no |
35 |
|
36 |
%description |
37 |
https://adminlte.io/ |
38 |
AdminLTE is an html framework for admin consoles |
39 |
wget https://github.com/ColorlibHQ/AdminLTE/archive/master.zip |
40 |
|
41 |
%changelog |
42 |
* Sat Apr 24 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.2-2.sme |
43 |
- Fix error in createlinks [SME: 11572] |
44 |
|
45 |
* Sat Apr 24 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.2-1.sme |
46 |
- Rollup all changes into new tar [SME: 11572] |
47 |
|
48 |
* Wed Apr 21 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.1-5.sme |
49 |
- Update to AdminLTE 3.1 [SME: 11572] |
50 |
- Add re-write main default.html.ep to integrate better with AdminLTE |
51 |
|
52 |
* Tue Apr 20 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.1-4.sme |
53 |
- Update creatlinks to include update event [SME: 11545] |
54 |
|
55 |
* Thu Jul 30 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.1-3.sme |
56 |
- Change CSS so that data shown on panels is not bold[SME:10906] |
57 |
|
58 |
* Thu Jul 23 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.1-2.sme |
59 |
- Add in manager2 and AdminLTE rpm details in footer[SME:10906 ] |
60 |
|
61 |
* Sun Jun 21 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.1-1.sme |
62 |
- Roll up all patches and Add in missing AdminLTE img directory [SME:10906 ] |
63 |
|
64 |
* Thu Jun 18 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-7.sme |
65 |
- More AdminLTE integrations [SME:10906] |
66 |
|
67 |
* Wed Jun 17 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-6.sme |
68 |
- Add drop down to adjust font size [SME:10906 ] |
69 |
|
70 |
* Sat Jun 13 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-5.sme |
71 |
- Update for Apache Mod Proxy version of server mananger2 [SME:10906 ] |
72 |
|
73 |
* Wed Mar 25 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-4 |
74 |
- widen-top-band |
75 |
|
76 |
* Tue Mar 24 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-2 |
77 |
- Add AdminLTE version number to footer |
78 |
|
79 |
* Fri Mar 20 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-1 |
80 |
- initial release bugzilla:10906 |
81 |
|
82 |
|
83 |
%prep |
84 |
%setup |
85 |
%patch0 -p1 |
86 |
|
87 |
%build |
88 |
perl createlinks |
89 |
|
90 |
%install |
91 |
rm -rf $RPM_BUILD_ROOT |
92 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
93 |
rm -f %{name}-%{version}-filelist |
94 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
95 |
|
96 |
%clean |
97 |
cd .. |
98 |
rm -rf %{name} |
99 |
|
100 |
%files -f %{name}-%{version}-filelist |
101 |
%defattr(-,root,root) |
102 |
|
103 |
%post |