/[smeserver]/rpms/smeserver-manager/sme10/smeserver-manager.spec
ViewVC logotype

Diff of /rpms/smeserver-manager/sme10/smeserver-manager.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.49 by michel, Sun Oct 10 20:51:32 2021 UTC Revision 1.50 by michel, Mon Nov 15 18:03:45 2021 UTC
# Line 1  Line 1 
1  # $Id: smeserver-manager.spec,v 1.48 2021/06/21 15:09:42 michel Exp $  # $Id: smeserver-manager.spec,v 1.49 2021/10/10 20:51:32 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.4  %define version 0.1.4
7  %define release 2  %define release 3
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}-%{version}.tar.xz
13  Patch0: %{name}-%{version}-list_access_csrf.patch  Patch0: %{name}-%{version}-list_access_csrf.patch
14    Patch1: %{name}-%{version}-review_csrf_url.patch
15  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
16  BuildArchitectures: noarch  BuildArchitectures: noarch
17  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
# Line 43  This RPM contributes the navigation bars Line 44  This RPM contributes the navigation bars
44  %prep  %prep
45  %setup  %setup
46  %patch0 -p1  %patch0 -p1
47    %patch1 -p1
48    
49  %build  %build
50  perl createlinks  perl createlinks
# Line 76  rm -rf $RPM_BUILD_ROOT Line 78  rm -rf $RPM_BUILD_ROOT
78  %pre  %pre
79    
80  %preun  %preun
81  if [ -f /usr/share/javascript/jquery/latest/jquery.min.js ]  if [ -h %{dir_mngr}/themes/default/public/js/jquery.min.js ]
82  then  then
83      unlink %{dir_mngr}/themes/default/public/js/jquery.min.js      unlink %{dir_mngr}/themes/default/public/js/jquery.min.js
84  fi  fi
# Line 85  true Line 87  true
87  %post  %post
88  if [ -f /usr/share/javascript/jquery/latest/jquery.min.js ]  if [ -f /usr/share/javascript/jquery/latest/jquery.min.js ]
89  then  then
90      mkdir %{dir_mngr}/themes/default/public/js      [ -d %{dir_mngr}/themes/default/public/js ] ||
91      ln -s /usr/share/javascript/jquery/latest/jquery.min.js %{dir_mngr}/themes/default/public/js/jquery.min.js          mkdir %{dir_mngr}/themes/default/public/js
92        [ -h %{dir_mngr}/themes/default/public/js/jquery.min.js ] ||
93            ln -s /usr/share/javascript/jquery/latest/jquery.min.js %{dir_mngr}/themes/default/public/js/jquery.min.js
94  fi  fi
95  true  true
96    
# Line 96  true Line 100  true
100  %defattr(-,root,root)  %defattr(-,root,root)
101    
102  %changelog  %changelog
103    * Mon Nov 15 2021 Michel Begue <mab974@misouk.com> 0.1.4-3.sme
104    - Fix error message when linking, unlinking jquery in spec
105    - Correct the 'review' panel presentation
106    - Modify CSRFDefender plugin to take into account GET method
107    - Add TOKEN param where the GET method is used in templates
108    - Remove smanager from local url address
109    
110  * Mon Oct 11 2021 Michel Begue <mab974@protonmail.com> 0.1.4-2.sme  * Mon Oct 11 2021 Michel Begue <mab974@protonmail.com> 0.1.4-2.sme
111  - Fix incorrect list order (users, ibays, ...)  - Fix incorrect list order (users, ibays, ...)
112  - Add external private access (remote management)  - Add external private access (remote management)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed