/[smecontribs]/rpms/smeserver-manager-jsquery/contribs10/smeserver-manager-jsquery.spec
ViewVC logotype

Diff of /rpms/smeserver-manager-jsquery/contribs10/smeserver-manager-jsquery.spec

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

Revision 1.2 by brianr, Mon Feb 5 08:39:40 2024 UTC Revision 1.4 by brianr, Thu Feb 8 15:09:03 2024 UTC
# Line 1  Line 1 
1  %define name smeserver-manager-jsquery  %define name smeserver-manager-jsquery
2  %define version 1.0  %define version 1.0
3  %define release 2  %define release 4
4  Summary: Jsquery and associated plugins plus server-manager (2) specific overrides.  Summary: Jsquery and associated plugins plus server-manager (2) specific overrides.
5  Name: %{name}  Name: %{name}
6  Version: %{version}  Version: %{version}
# Line 9  Source: %{name}-%{version}.tar.gz Line 9  Source: %{name}-%{version}.tar.gz
9  License: GNU GPL version 2  License: GNU GPL version 2
10  Group: SMEserver/addon  Group: SMEserver/addon
11  Patch0: smeserver-manager-jsquery-1.0-Fix-css-override-for-dataTables.patch  Patch0: smeserver-manager-jsquery-1.0-Fix-css-override-for-dataTables.patch
12    Patch1: smeserver-manager-jsquery-1.0-Add-Export-Buttons-to-dataTable.patch
13    Patch2: smeserver-manager-jsquery-1.0-Add-Callback-in-dataTable-to-remake-buttons.patch
14    
15  BuildRoot: %{_tmppath}/%{name}-buildroot  BuildRoot: %{_tmppath}/%{name}-buildroot
16  Prefix: %{_prefix}  Prefix: %{_prefix}
# Line 23  AutoReqProv: no Line 25  AutoReqProv: no
25  Jsquery and associated plugins plus server-manager (2) specific overrides.  Jsquery and associated plugins plus server-manager (2) specific overrides.
26    
27  %changelog  %changelog
28    * Thu Feb 08 2024 Brian Read <brianr@koozali.org> 1.0-4.sme
29    - Add callback in dataTable to setup buttons in rows [SME: 12467]
30    - Move dataTable js to seperate file (maybe template it at some point)
31    
32    * Wed Feb 07 2024 Brian Read <brianr@koozali.org> 1.0-3.sme
33    - Add export buttons to table using dataTables plugin [SME: 12466]
34    
35  * Sun Feb 04 2024 Brian Read <brianr@koozali.org> 1.0-2.sme  * Sun Feb 04 2024 Brian Read <brianr@koozali.org> 1.0-2.sme
36  - Fix-css-override-for-dataTables [SME: 12465]  - Fix-css-override-for-dataTables [SME: 12465]
37    
# Line 33  Jsquery and associated plugins plus serv Line 42  Jsquery and associated plugins plus serv
42    
43  %setup  %setup
44  %patch0 -p1  %patch0 -p1
45    %patch1 -p1
46    %patch2 -p1
47    
48  %build  %build
49  perl createlinks  perl createlinks
# Line 61  then Line 72  then
72      [ -d %{dir_mngr}/themes/default/public/js ] ||      [ -d %{dir_mngr}/themes/default/public/js ] ||
73          mkdir -p %{dir_mngr}/themes/default/public/js          mkdir -p %{dir_mngr}/themes/default/public/js
74    
75     [ -h %{dir_mngr}/themes/default/public/js/images ] ||          [ -h %{dir_mngr}/themes/default/public/js/images ] ||
76          ln -s /usr/share/javascript/jquery-ui/images %{dir_mngr}/themes/default/public/js/images          ln -s /usr/share/javascript/jquery-ui/images %{dir_mngr}/themes/default/public/js/images
77    
78    
# Line 79  then Line 90  then
90          ln -s /usr/share/javascript/jquery-ui/jquery-ui.min.js %{dir_mngr}/themes/default/public/js/jquery-ui.min.js          ln -s /usr/share/javascript/jquery-ui/jquery-ui.min.js %{dir_mngr}/themes/default/public/js/jquery-ui.min.js
91      [ -h %{dir_mngr}/themes/default/public/js/jquery-ui.min.css ] ||      [ -h %{dir_mngr}/themes/default/public/js/jquery-ui.min.css ] ||
92          ln -s /usr/share/javascript/jquery-ui/jquery-ui.min.css %{dir_mngr}/themes/default/public/js/jquery-ui.min.css          ln -s /usr/share/javascript/jquery-ui/jquery-ui.min.css %{dir_mngr}/themes/default/public/js/jquery-ui.min.css
93    
94            [ -h %{dir_mngr}/themes/default/public/js/dataTables.buttons.min.js ] ||
95            ln -s /usr/share/javascript/dataTables.buttons.min.js %{dir_mngr}/themes/default/public/js/dataTables.buttons.min.js
96    
97            [ -h %{dir_mngr}/themes/default/public/js/jszip.min.js ] ||
98            ln -s /usr/share/javascript/jszip/jszip.min.js %{dir_mngr}/themes/default/public/js/jszip.min.js
99    
100            [ -h %{dir_mngr}/themes/default/public/js/pdfmake.min.js ] ||
101            ln -s /usr/share/javascript/pdfmake/pdfmake.min.js %{dir_mngr}/themes/default/public/js/pdfmake.min.js
102    
103            [ -h %{dir_mngr}/themes/default/public/js/vfs_fonts.js ] ||
104            ln -s /usr/share/javascript/pdfmake/vfs_fonts.js %{dir_mngr}/themes/default/public/js/vfs_fonts.js
105    
106            [ -h %{dir_mngr}/themes/default/public/js/buttons.html5.min.js ] ||
107            ln -s /usr/share/javascript/buttons/buttons.html5.min.js %{dir_mngr}/themes/default/public/js/buttons.html5.min.js
108    
109            [ -h %{dir_mngr}/themes/default/public/js/buttons.print.min.js ] ||
110            ln -s /usr/share/javascript/buttons/buttons.print.min.js %{dir_mngr}/themes/default/public/js/buttons.print.min.js
111                    
112                    
113  fi  fi


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