1 |
# $Id: smeserver-manager.spec,v 1.21 2020/04/12 09:02:48 michel Exp $ |
# $Id: smeserver-manager.spec,v 1.23 2020/04/16 11:40:49 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 21 |
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 |
|
Patch18: %{name}-0.1.0-error_success_routes_locales.patch |
32 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
33 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
34 |
BuildRequires: gettext |
BuildRequires: gettext |
40 |
Requires: pwauth |
Requires: pwauth |
41 |
Requires: perl(Apache::AuthTkt) |
Requires: perl(Apache::AuthTkt) |
42 |
#Requires: js-jquery > 2.2.4-3 (optional) |
#Requires: js-jquery > 2.2.4-3 (optional) |
43 |
Provides: server-manager2 |
Provides: server-manager |
44 |
AutoReqProv: no |
AutoReqProv: no |
45 |
|
|
46 |
%define dir_mngr /etc/e-smith/web/panels/manager2 |
%define dir_mngr /etc/e-smith/web/panels/manager2 |
47 |
|
|
48 |
%changelog |
%changelog |
49 |
|
* Mon Apr 27 2020 Michel Begue <mab974@gmail.com> 0.1.0-21.sme |
50 |
|
- Fix error and success management |
51 |
|
- Optimize Routes (number) |
52 |
|
- Delete share_dir variable |
53 |
|
- Attach Locale lexicon to Panel and Panel? |
54 |
|
- Fix lack of translation of first page |
55 |
|
|
56 |
|
* Wed Apr 15 2020 Michel Begue <mab974@gmail.com> 0.1.0-20.sme |
57 |
|
- Patch the I18N plugin to accept namespace changes |
58 |
|
- Split global locales files to module level |
59 |
|
- Consider additional contrib locales files |
60 |
|
- Consider additional contrib routes and navigation item |
61 |
|
- fix colour button in portforwarding panel |
62 |
|
- fix missing esmith::util in starterwebsite panel |
63 |
|
|
64 |
* 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 |
65 |
- Remove tests : useraccounts, wbl |
- Remove tests : useraccounts, wbl |
66 |
|
|
875 |
%patch14 -p1 |
%patch14 -p1 |
876 |
%patch15 -p1 |
%patch15 -p1 |
877 |
%patch16 -p1 |
%patch16 -p1 |
878 |
|
%patch17 -p1 |
879 |
|
%patch18 -p1 |
880 |
|
|
881 |
%build |
%build |
882 |
perl createlinks |
perl createlinks |
883 |
|
|
884 |
# Force creation of potentially empty directories |
# Force creation of potentially empty directories |
885 |
mkdir -p root/etc/e-smith/web/functions2 |
mkdir -p root/etc/e-smith/web/functions2 |
886 |
mkdir -p root/home/e-smith/db/navigation |
mkdir -p root/etc/e-smith/db/routes |
887 |
|
mkdir -p root/home/e-smith/db/navigation2 |
888 |
mkdir -p root%{dir_mngr}/html |
mkdir -p root%{dir_mngr}/html |
889 |
mkdir -p root%{dir_mngr}/cgi-bin/srvmngr/themes/default/public/css |
mkdir -p root%{dir_mngr}/cgi-bin/srvmngr/themes/default/public/css |
890 |
|
|