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