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