/[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.1 by brianr, Fri Feb 2 16:01:02 2024 UTC Revision 1.3 by brianr, Wed Feb 7 10:25:49 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 1  %define release 3
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 8  Release: %{release}%{?dist} Line 8  Release: %{release}%{?dist}
8  Source: %{name}-%{version}.tar.gz  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
12    Patch1: smeserver-manager-jsquery-1.0-Add-Export-Buttons-to-dataTable.patch
13    
14  BuildRoot: %{_tmppath}/%{name}-buildroot  BuildRoot: %{_tmppath}/%{name}-buildroot
15  Prefix: %{_prefix}  Prefix: %{_prefix}
16  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 21  AutoReqProv: no Line 24  AutoReqProv: no
24  Jsquery and associated plugins plus server-manager (2) specific overrides.  Jsquery and associated plugins plus server-manager (2) specific overrides.
25    
26  %changelog  %changelog
27    * Wed Feb 07 2024 Brian Read <brianr@koozali.org> 1.0-3.sme
28    - Add export buttons to table using dataTables plugin [SME: 12466]
29    
30    * Sun Feb 04 2024 Brian Read <brianr@koozali.org> 1.0-2.sme
31    - Fix-css-override-for-dataTables [SME: 12465]
32    
33  * Mon Jan 29 2024 <brianr@koozali.org> 1.0-1.sme  * Mon Jan 29 2024 <brianr@koozali.org> 1.0-1.sme
34  - Initial code - create RPM [SME:12459]  - Initial code - create RPM [SME:12459]
35    
36  %prep  %prep
37    
38  %setup  %setup
39    %patch0 -p1
40    %patch1 -p1
41    
42  %build  %build
43  perl createlinks  perl createlinks
# Line 55  then Line 66  then
66      [ -d %{dir_mngr}/themes/default/public/js ] ||      [ -d %{dir_mngr}/themes/default/public/js ] ||
67          mkdir -p %{dir_mngr}/themes/default/public/js          mkdir -p %{dir_mngr}/themes/default/public/js
68    
69     [ -h %{dir_mngr}/themes/default/public/js/images ] ||          [ -h %{dir_mngr}/themes/default/public/js/images ] ||
70          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
71    
72    
# Line 73  then Line 84  then
84          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
85      [ -h %{dir_mngr}/themes/default/public/js/jquery-ui.min.css ] ||      [ -h %{dir_mngr}/themes/default/public/js/jquery-ui.min.css ] ||
86          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
87    
88            [ -h %{dir_mngr}/themes/default/public/js/dataTables.buttons.min.js ] ||
89            ln -s /usr/share/javascript/dataTables.buttons.min.js %{dir_mngr}/themes/default/public/js/dataTables.buttons.min.js
90    
91            [ -h %{dir_mngr}/themes/default/public/js/jszip.min.js ] ||
92            ln -s /usr/share/javascript/jszip/jszip.min.js %{dir_mngr}/themes/default/public/js/jszip.min.js
93    
94            [ -h %{dir_mngr}/themes/default/public/js/pdfmake.min.js ] ||
95            ln -s /usr/share/javascript/pdfmake/pdfmake.min.js %{dir_mngr}/themes/default/public/js/pdfmake.min.js
96    
97            [ -h %{dir_mngr}/themes/default/public/js/vfs_fonts.js ] ||
98            ln -s /usr/share/javascript/pdfmake/vfs_fonts.js %{dir_mngr}/themes/default/public/js/vfs_fonts.js
99    
100            [ -h %{dir_mngr}/themes/default/public/js/buttons.html5.min.js ] ||
101            ln -s /usr/share/javascript/buttons/buttons.html5.min.js %{dir_mngr}/themes/default/public/js/buttons.html5.min.js
102    
103            [ -h %{dir_mngr}/themes/default/public/js/buttons.print.min.js ] ||
104            ln -s /usr/share/javascript/buttons/buttons.print.min.js %{dir_mngr}/themes/default/public/js/buttons.print.min.js
105                    
106                    
107  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