1 |
# $Id: smeserver-manager.spec,v 1.21 2020/04/12 09:02:48 michel Exp $ |
# $Id: smeserver-manager.spec,v 1.22 2020/04/14 13:28:09 michel Exp $ |
2 |
|
|
3 |
Summary: Sme server navigation module : manager 2 |
Summary: Sme server navigation module : manager 2 |
4 |
%define name smeserver-manager |
%define name smeserver-manager |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 0.1.0 |
%define version 0.1.0 |
7 |
%define release 19 |
%define release 20 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-0.1.0.tar.xz |
13 |
Patch0: %{name}-0.1.0-bz10506.patch |
Patch0: %{name}-0.1.0-bz10506.patch |
14 |
Patch1: %{name}-add-basic-files.patch |
Patch1: %{name}-add-basic-files.patch |
15 |
Patch2: %{name}-0.1.0-mojo_struct.patch |
Patch2: %{name}-0.1.0-mojo_struct.patch |
27 |
Patch14: %{name}-0.1.0-portforwarding-rule-comment-missing.patch |
Patch14: %{name}-0.1.0-portforwarding-rule-comment-missing.patch |
28 |
Patch15: %{name}-0.1.0-yum_backup_email_cleanup.patch |
Patch15: %{name}-0.1.0-yum_backup_email_cleanup.patch |
29 |
Patch16: %{name}-0.1.0-remove_tests.patch |
Patch16: %{name}-0.1.0-remove_tests.patch |
30 |
|
Patch17: %{name}-0.1.0-routes_locales_navig.patch |
31 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
32 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
33 |
BuildRequires: gettext |
BuildRequires: gettext |
45 |
%define dir_mngr /etc/e-smith/web/panels/manager2 |
%define dir_mngr /etc/e-smith/web/panels/manager2 |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
|
* Wed Apr 15 2020 Michel Begue <mab974@gmail.com> 0.1.0-20.sme |
49 |
|
- Patch the I18N plugin to accept namespace changes |
50 |
|
- Split global locales files to module level |
51 |
|
- Consider additional contrib locales files |
52 |
|
- Consider additional contrib routes and navigation item |
53 |
|
- fix colour button in portforwarding panel |
54 |
|
- fix missing esmith::util in starterwebsite panel |
55 |
|
|
56 |
* Tue Apr 14 2020 Michel Begue <mab974@gmail.com> 0.1.0-19.sme |
* Tue Apr 14 2020 Michel Begue <mab974@gmail.com> 0.1.0-19.sme |
57 |
- Remove tests : useraccounts, wbl |
- Remove tests : useraccounts, wbl |
58 |
|
|
867 |
%patch14 -p1 |
%patch14 -p1 |
868 |
%patch15 -p1 |
%patch15 -p1 |
869 |
%patch16 -p1 |
%patch16 -p1 |
870 |
|
%patch17 -p1 |
871 |
|
|
872 |
%build |
%build |
873 |
perl createlinks |
perl createlinks |
874 |
|
|
875 |
# Force creation of potentially empty directories |
# Force creation of potentially empty directories |
876 |
mkdir -p root/etc/e-smith/web/functions2 |
mkdir -p root/etc/e-smith/web/functions2 |
877 |
mkdir -p root/home/e-smith/db/navigation |
mkdir -p root/etc/e-smith/db/routes |
878 |
|
mkdir -p root/home/e-smith/db/navigation2 |
879 |
mkdir -p root%{dir_mngr}/html |
mkdir -p root%{dir_mngr}/html |
880 |
mkdir -p root%{dir_mngr}/cgi-bin/srvmngr/themes/default/public/css |
mkdir -p root%{dir_mngr}/cgi-bin/srvmngr/themes/default/public/css |
881 |
|
|