1 |
%define name smeserver-manager-AdminLTE |
2 |
%define version 0.1.3 |
3 |
%define release 18 |
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.3-Update-default_ep_html-with-contribs-header.patch |
15 |
Patch1: smeserver-manager-AdminLTE-0.1.3-Update-login-panel-add-password-visibility.patch |
16 |
Patch2: smeserver-manager-AdminLTE-0.1.3-Fix-up-config-review-panel.patch |
17 |
Patch3: smeserver-manager-AdminLTE-0.1.3-Bring-update-event-in-to-line-with-smanager.patch |
18 |
Patch4: smeserver-manager-AdminLTE-0.1.3-Sort-out-panels-input-description-and-input-field-alignments.patch |
19 |
Patch5: smeserver-manager-AdminLTE-0.1.3-Get-theme-button-back-in-line.patch |
20 |
Patch6: smeserver-manager-AdminLTE-0.1.3-Make-input-field-width-auto.patch |
21 |
Patch7: smeserver-manager-AdminLTE-0.1.3-Better-placement-of-buttons-re-format-tables.patch |
22 |
Patch8: smeserver-manager-AdminLTE-0.1.3-Position-and-space-headings-add-dev-conf-refactor-css-file.patch |
23 |
Patch9: smeserver-manager-AdminLTE-0.1.3-More-panel-formatting-adjustments.patch |
24 |
Patch10: smeserver-manager-AdminLTE-0.1.3-More-format-changes-to-sm2-panels.patch |
25 |
Patch11: smeserver-manager-AdminLTE-0.1.3-Fix-format-for-datetime-panel.patch |
26 |
Patch12: smeserver-manager-AdminLTE-0.1.3-Move-action-button-down-a-bit.patch |
27 |
Patch13: smeserver-manager-AdminLTE-0.1.3-Update_to_AdminLTE-3-2.patch |
28 |
Patch14: smeserver-manager-AdminLTE-0.1.3-Add-css-for-dark-mode.patch |
29 |
Patch15: smeserver-manager-AdminLTE-0.1.3-Make-jquery-required.patch |
30 |
Patch16: smeserver-manager-AdminLTE-0.1.3-Sort-Browser-Error-on-non-login-panels.patch |
31 |
|
32 |
#Patch0: smeserver-manager-AdminLTE-0.1.2-Fix-error-in-createlinks.patch |
33 |
|
34 |
#Patch0: smeserver-manager-AdminLTE-0.1.1-Add-rpm-names-to-footer.patch |
35 |
#Patch1: smeserver-manager-AdminLTE-0.1.1-change-css-to-supress-bold-on-data-class.patch |
36 |
#Patch2: smeserver-manager-AdminLTE-0.1.1-Add-update-event-to-createlinks.patch |
37 |
#Patch3: smeserver-manager-AdminLTE-0.1.1-Re-base-to-AdminLTE-V31.patch |
38 |
|
39 |
#Patch0: smeserver-manager-AdminLTE-0.1.0-add-adminlte-version-to-footer.patch |
40 |
#Patch1: smeserver-manager-AdminLTE-0.1.0-widen-top-band.patch |
41 |
#Patch2: smeserver-manager-AdminLTE-0.1.0-Update-for-Apache-Mod-Proxy.patch |
42 |
#Patch3: smeserver-manager-AdminLTE-0.1.0-Add-Font-Size-Adjuster.patch |
43 |
#Patch4: smeserver-manager-AdminLTE-0.1.0-More-AdminLTE-Integration.patch |
44 |
|
45 |
Packager: Brian Read <brianr@bjsystems.co.uk> |
46 |
BuildArchitectures: noarch |
47 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
48 |
BuildRequires: e-smith-devtools |
49 |
Requires: e-smith-release >= 10.0 |
50 |
Requires: smeserver-manager >= 0.1.0-11 |
51 |
#Requires: js-jquery > 2.2.4-3 |
52 |
AutoReqProv: no |
53 |
|
54 |
%description |
55 |
https://adminlte.io/ |
56 |
AdminLTE is an html framework for admin consoles |
57 |
wget https://github.com/ColorlibHQ/AdminLTE/archive/master.zip |
58 |
|
59 |
%changelog |
60 |
* Mon Feb 28 2022 Brian Read <brianr@bjsystems.co.uk> 0.1.3-18.sme |
61 |
- Sort-Browser-Error-on-non-login-panels [SME 11880] |
62 |
- and set password visibility to use same js code as default theme |
63 |
|
64 |
* Tue Feb 15 2022 Brian Read <brianr@bjsystems.co.uk> 0.1.3-17.sme |
65 |
- Make-jquery-required [SME: 11870] |
66 |
- This has been taken out... |
67 |
|
68 |
* Tue Feb 08 2022 Brian Read <brianr@bjsystems.co.uk> 0.1.3-16.sme |
69 |
- Add css for dark-mode [SME: 11863] |
70 |
|
71 |
* Tue Feb 08 2022 Brian Read <brianr@bjsystems.co.uk> 0.1.3-15.sme |
72 |
- Update to AdminLTE3.2 [SME: 11861] |
73 |
|
74 |
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 0.1.3-14.sme |
75 |
- Move-action-button-down-a-bit [SME: 11833] |
76 |
|
77 |
* Tue Jan 04 2022 Brian Read <brianr@bjsystems.co.uk> 0.1.3-13.sme |
78 |
- Fix-format-for-datetime-panel [SME: 11827] |
79 |
|
80 |
* Wed Dec 29 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.3-12.sme |
81 |
- More changes to SM2 panel formats [SME: 11826] |
82 |
|
83 |
* Mon Dec 20 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.3-11.sme |
84 |
- Adjust format in review panel [SME: 11785] |
85 |
|
86 |
* Mon Dec 20 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.3-10.sme |
87 |
- Position-and-space-headings [SME:11785] |
88 |
- Add in development to smanager conf (will need to be removed at some point) |
89 |
- Refactor smanager2.css into 3 files for menu, header and footer and content |
90 |
- Widen footer panel to 100% width |
91 |
- Sort out format for datetime panel |
92 |
|
93 |
* Fri Dec 03 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.3-9.sme |
94 |
- Better-placement-of-buttons-re-format-tables [SME: 11785] |
95 |
|
96 |
* Fri Dec 03 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.3-8.sme |
97 |
- Make input field width auto on input panels [SME: 11785 ] |
98 |
|
99 |
* Fri Dec 03 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.3-7.sme |
100 |
- Get theme button back in line [SME: 11785] |
101 |
|
102 |
* Wed Dec 01 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.3-6.sme |
103 |
- smeserver-manager-AdminLTE-0.1.3-Sort-out-panels-input-description-and-input-field-alignments.patch [SME: 11785] |
104 |
|
105 |
* Tue Nov 30 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.3-5.sme |
106 |
- Bring-update-event-in-to-line-with-smanager [SME: 11783] |
107 |
|
108 |
* Tue Nov 30 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.3-4.sme |
109 |
- Fix-up-config-review-panel [SME: 11782] |
110 |
|
111 |
* Mon Nov 29 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.3-3.sme |
112 |
- Update-login-panel-add-password-visibility.patch [SME: 11781] |
113 |
|
114 |
* Sun Jun 06 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.3-2.sme |
115 |
- Update AdminLTE ep file for new contribs header and remove heading from status line [SME: 11623] |
116 |
|
117 |
* Wed Apr 28 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.3-1.sme |
118 |
- Update to add small logo image and some more integration with AdminLTE [SME: 11572] |
119 |
|
120 |
* Mon Apr 26 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.2-3.sme |
121 |
- Update relesae to fix problem with taq in buildsys [SME: 11572] |
122 |
|
123 |
* Sat Apr 24 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.2-2.sme |
124 |
- Fix error in createlinks [SME: 11572] |
125 |
|
126 |
* Sat Apr 24 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.2-1.sme |
127 |
- Rollup all changes into new tar [SME: 11572] |
128 |
|
129 |
* Wed Apr 21 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.1-5.sme |
130 |
- Update to AdminLTE 3.1 [SME: 11572] |
131 |
- Add re-write main AdminLTE.html.ep to integrate better with AdminLTE |
132 |
|
133 |
* Tue Apr 20 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.1-4.sme |
134 |
- Update creatlinks to include update event [SME: 11545] |
135 |
|
136 |
* Thu Jul 30 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.1-3.sme |
137 |
- Change CSS so that data shown on panels is not bold[SME:10906] |
138 |
|
139 |
* Thu Jul 23 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.1-2.sme |
140 |
- Add in manager2 and AdminLTE rpm details in footer[SME:10906 ] |
141 |
|
142 |
* Sun Jun 21 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.1-1.sme |
143 |
- Roll up all patches and Add in missing AdminLTE img directory [SME:10906 ] |
144 |
|
145 |
* Thu Jun 18 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-7.sme |
146 |
- More AdminLTE integrations [SME:10906] |
147 |
|
148 |
* Wed Jun 17 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-6.sme |
149 |
- Add drop down to adjust font size [SME:10906 ] |
150 |
|
151 |
* Sat Jun 13 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-5.sme |
152 |
- Update for Apache Mod Proxy version of server mananger2 [SME:10906 ] |
153 |
|
154 |
* Wed Mar 25 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-4 |
155 |
- widen-top-band |
156 |
|
157 |
* Tue Mar 24 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-2 |
158 |
- Add AdminLTE version number to footer |
159 |
|
160 |
* Fri Mar 20 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-1 |
161 |
- initial release bugzilla:10906 |
162 |
|
163 |
|
164 |
%prep |
165 |
%setup |
166 |
%patch0 -p1 |
167 |
%patch1 -p1 |
168 |
%patch2 -p1 |
169 |
%patch3 -p1 |
170 |
%patch4 -p1 |
171 |
%patch5 -p1 |
172 |
%patch6 -p1 |
173 |
%patch7 -p1 |
174 |
%patch8 -p1 |
175 |
%patch9 -p1 |
176 |
%patch10 -p1 |
177 |
%patch11 -p1 |
178 |
%patch12 -p1 |
179 |
%patch13 -p1 |
180 |
%patch14 -p1 |
181 |
%patch15 -p1 |
182 |
%patch16 -p1 |
183 |
|
184 |
%build |
185 |
perl createlinks |
186 |
|
187 |
%install |
188 |
rm -rf $RPM_BUILD_ROOT |
189 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
190 |
rm -f %{name}-%{version}-filelist |
191 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
192 |
|
193 |
%clean |
194 |
cd .. |
195 |
rm -rf %{name} |
196 |
|
197 |
%files -f %{name}-%{version}-filelist |
198 |
%defattr(-,root,root) |
199 |
|
200 |
%post |