/[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.60 by brianr, Wed Jan 5 16:16:08 2022 UTC Revision 1.62 by jpp, Sun Jul 17 04:42:23 2022 UTC
# Line 1  Line 1 
 # $Id: smeserver-manager.spec,v 1.59 2022/01/05 10:29:07 michel Exp $  
   
1  Summary: Sme server  navigation module : manager 2  Summary: Sme server  navigation module : manager 2
2  %define name smeserver-manager  %define name smeserver-manager
3  Name: %{name}  Name: %{name}
4  %define version 0.1.4  %define version 0.1.4
5  %define release 13  %define release 15
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
8  License: GPL  License: GPL
# Line 22  Patch7: smeserver-manager-0.1.4-format-f Line 20  Patch7: smeserver-manager-0.1.4-format-f
20  Patch8: smeserver-manager-0.1.4-fix_backup_empty_selection_list.patch  Patch8: smeserver-manager-0.1.4-fix_backup_empty_selection_list.patch
21  Patch9: smeserver-manager-0.1.4-toggle_password_and_menu-jquery_cond-csrf_get.patch  Patch9: smeserver-manager-0.1.4-toggle_password_and_menu-jquery_cond-csrf_get.patch
22  Patch10: smeserver-manager-0.1.4-Update-format-for-datetime-and-reboot.patch  Patch10: smeserver-manager-0.1.4-Update-format-for-datetime-and-reboot.patch
23    Patch11: smeserver-manager-0.1.4-bz12110-untainting-printer.patch
24    
25  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
26  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 65  This RPM contributes the navigation bars Line 64  This RPM contributes the navigation bars
64  %patch8 -p1  %patch8 -p1
65  %patch9 -p1  %patch9 -p1
66  %patch10 -p1  %patch10 -p1
67    %patch11 -p1
68    
69  %build  %build
70  perl createlinks  perl createlinks
# Line 97  echo "%doc COPYING f2b/*" >> %{name}-%{v Line 97  echo "%doc COPYING f2b/*" >> %{name}-%{v
97  %clean  %clean
98  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
99    
 %pre  
   
100  %preun  %preun
101  if [ -h %{dir_mngr}/themes/default/public/js/jquery.min.js ]  # complete remove
102    if [ $1 == 0 ]
103  then  then
104      unlink %{dir_mngr}/themes/default/public/js/jquery.min.js      systemctl stop smanager.service
105        rm -f /home/e-smith/db/navigation2/*
106        rm -f /home/e-smith/db/routes
107        rm -f %{dir_mngr}/themes/default/public/css/*
108        rm -rf %{dir_mngr}/themes/default/public/js
109        find %{dir_mngr}/lib/SrvMngr/I18N/Modules -type f -name '*.pm' -exec rm '{}' \;
110  fi  fi
111  true  true
112    
# Line 113  then Line 117  then
117          mkdir %{dir_mngr}/themes/default/public/js          mkdir %{dir_mngr}/themes/default/public/js
118      [ -h %{dir_mngr}/themes/default/public/js/jquery.min.js ] ||      [ -h %{dir_mngr}/themes/default/public/js/jquery.min.js ] ||
119          ln -s /usr/share/javascript/jquery/latest/jquery.min.js %{dir_mngr}/themes/default/public/js/jquery.min.js          ln -s /usr/share/javascript/jquery/latest/jquery.min.js %{dir_mngr}/themes/default/public/js/jquery.min.js
120        [ -h %{dir_mngr}/themes/default/public/js/jquery.min.map ] ||
121            ln -s /usr/share/javascript/jquery/latest/jquery.min.map %{dir_mngr}/themes/default/public/js/jquery.min.map
122  fi  fi
123  true  true
124    
 %postun  
   
125  %files -f %{name}-%{version}-%{release}-filelist  %files -f %{name}-%{version}-%{release}-filelist
126  %defattr(-,root,root)  %defattr(-,root,root)
127    
128  %changelog  %changelog
129    * Sun Jul 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1.4-15.sme
130    - untainting printer [SME: 12110]
131    
132    * Fri Jan 21 2022 Michel Begue <mab974@misouk.com> 0.1.4-14.sme
133    - Fix jquery map link missing
134    - Fix jquery link deleted during update
135    - Remove generated file during remove
136    
137  * Wed Jan 05 2022 Brian Read <brianr@bjsystems.co.uk> 0.1.4-13.sme  * Wed Jan 05 2022 Brian Read <brianr@bjsystems.co.uk> 0.1.4-13.sme
138  - Update-format-for-datetime-and-reboot [SME: 11830]  - Update-format-for-datetime-and-reboot [SME: 11830]
139    


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