1 |
%define name smeserver-manager-AdminLTE |
2 |
%define version 0.1.0 |
3 |
%define release 3 |
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 |
Patch0: smeserver-manager-AdminLTE-0.1.0-add-adminlte-version-to-footer.patch |
14 |
Patch1: smeserver-manager-AdminLTE-0.1.0-widen-top-band.patch |
15 |
Packager: Brian Read <brianr@bjsystems.co.uk> |
16 |
BuildArchitectures: noarch |
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildRequires: e-smith-devtools |
19 |
Requires: e-smith-release >= 10.0 |
20 |
Requires: smeserver-manager >= 0.1.0-11 |
21 |
AutoReqProv: no |
22 |
|
23 |
%description |
24 |
https://adminlte.io/ |
25 |
AdminLTE is an html framework for admin consoles |
26 |
wget https://github.com/ColorlibHQ/AdminLTE/archive/master.zip |
27 |
|
28 |
%changelog |
29 |
* Wed Mar 25 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-3 |
30 |
- widen-top-band |
31 |
|
32 |
* Tue Mar 24 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-2 |
33 |
- Add AdminLTE version number to footer |
34 |
|
35 |
* Fri Mar 20 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-1 |
36 |
- initial release bugzilla:10906 |
37 |
|
38 |
|
39 |
%prep |
40 |
%setup |
41 |
%patch0 -p1 |
42 |
%patch1 -p1 |
43 |
|
44 |
%build |
45 |
#perl createlinks |
46 |
|
47 |
%install |
48 |
rm -rf $RPM_BUILD_ROOT |
49 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
50 |
rm -f %{name}-%{version}-filelist |
51 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
52 |
|
53 |
%clean |
54 |
cd .. |
55 |
rm -rf %{name} |
56 |
|
57 |
%files -f %{name}-%{version}-filelist |
58 |
%defattr(-,root,root) |
59 |
|
60 |
%post |
61 |
|