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