/[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.5 by michel, Mon Dec 16 17:32:51 2019 UTC Revision 1.10 by michel, Wed Jan 22 13:50:10 2020 UTC
# Line 1  Line 1 
1  # $Id: smeserver-manager.spec,v 1.4 2018/12/17 12:01:03 jcrisp Exp $  # $Id: smeserver-manager.spec,v 1.9 2020/01/21 07:34:29 brianr Exp $
2    
3  Summary: smeserver manager 2 navigation module  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 3  %define release 7
8  Version: %{version}  Version: %{version}
9  Release: %{release}%{?dist}  Release: %{release}%{?dist}
10  License: GPL  License: GPL
# Line 13  Source: %{name}-%{version}.tar.xz Line 13  Source: %{name}-%{version}.tar.xz
13  Patch0: smeserver-manager-0.1.0-bz10506.patch  Patch0: smeserver-manager-0.1.0-bz10506.patch
14  Patch1: smeserver-manager-add-basic-files.patch  Patch1: smeserver-manager-add-basic-files.patch
15  Patch2: smeserver-manager-0.1.0-mojo_struct.patch  Patch2: smeserver-manager-0.1.0-mojo_struct.patch
16    Patch3: smeserver-manager-0.1.0-setuid_groups.patch
17    Patch4: smeserver-manager-0.1.0-reboot_ibays_theme.patch
18    Patch5: smeserver-manager-0.1.0-add-adminlte.patch
19    Patch6: smeserver-manager-0.1.0-navigation_header_listes.patch
20  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
22  BuildRequires: gettext  BuildRequires: gettext
# Line 28  Requires: perl(Apache::AuthTkt) Line 32  Requires: perl(Apache::AuthTkt)
32  AutoReqProv: no  AutoReqProv: no
33    
34  %changelog  %changelog
35    * Wed Jan 22 2020 Michel Begue <mab974@gmail.com> 0.1.0-7.sme
36    - Fix link between Navigation and Theme
37    - Add System and Domain names to available data (header)
38    - Move some data lists from template to controller (select_field)
39    - Integrate last Brian's changes in server-manager2.css (AdminLTE)
40    - Fix some warnings and typos
41    
42    * Fri Jan 17 2020 Brian Read <brianr@bjsystems.co.uk> 0.1.0-6.sme
43    - Add in theme based on AdminLTE html template
44    - Fixes Server name in header (Needs Template expansion - added to Console-Save
45    
46    * Sun Jan 12 2020 Michel Begue <mab974@gmail.com> 0.1.0-5.sme
47    - new theme to come
48    - css enhancement (thanks to B. Read)
49    - panels: reboot and ibays
50    
51    * Wed Jan 01 2020 Michel Begue <mab974@gmail.com> 0.1.0-4.sme
52    - fix setuid with wrapper (remove sudo)
53    - panels quota and groups
54    
55  * Mon Dec 16 2019 Michel Begue <mab974@gmail.com> 0.1.0-3.sme  * Mon Dec 16 2019 Michel Begue <mab974@gmail.com> 0.1.0-3.sme
56  - simple architecture : basic mojolicious app running  - simple architecture : basic mojolicious app running
57  - some panels  - some panels
# Line 762  This RPM contributes the navigation bars Line 786  This RPM contributes the navigation bars
786  %patch0 -p1  %patch0 -p1
787  %patch1 -p1  %patch1 -p1
788  %patch2 -p1  %patch2 -p1
789    %patch3 -p1
790    %patch4 -p1
791    %patch5 -p1
792    %patch6 -p1
793    
794  %build  %build
795    # Force creation of potentially empty directories
796  perl createlinks  perl createlinks
797  #gcc -o root/etc/e-smith/web/functions/wrapper manager.c  mkdir -p root/etc/e-smith/web/functions2
798  #mkdir -p root/home/e-smith/db/navigation  mkdir -p root/home/e-smith/db/navigation
799  #mkdir -p root/etc/e-smith/web/common/css  mkdir -p root/etc/e-smith/web/common/css
800    mkdir -p root/etc/e-smith/web/panels/manager2/{cgi-bin,html}
801    mkdir -p root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/public/images
802    mkdir -p root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public{css,images,js,tmp}
803    mkdir -p root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/templates/{layouts,partials}
804    
805    gcc -o root/etc/e-smith/web/functions2/wrapper2 manager2.c
806    
807  #mkdir -p root/usr/share/locale/en_US/LC_MESSAGES/  #mkdir -p root/usr/share/locale/en_US/LC_MESSAGES/
808  #xgettext -o root/usr/share/locale/en_US/LC_MESSAGES/foot.tmpl.po root/etc/e-smith/templates/etc/e-smith/web/common/foot.tmpl/25Copyright  #xgettext -o root/usr/share/locale/en_US/LC_MESSAGES/foot.tmpl.po root/etc/e-smith/templates/etc/e-smith/web/common/foot.tmpl/25Copyright
# Line 776  perl createlinks Line 811  perl createlinks
811  #ln -s head.tmpl root/etc/e-smith/web/common/noframes_head.tmpl  #ln -s head.tmpl root/etc/e-smith/web/common/noframes_head.tmpl
812  #ln -s foot.tmpl root/etc/e-smith/web/common/noframes_foot.tmpl  #ln -s foot.tmpl root/etc/e-smith/web/common/noframes_foot.tmpl
813    
814  #mkdir -p  root/etc/e-smith/web/panels/manager/html  #mkdir -p  root/etc/e-smith/web/panels/manager2/html
815  #for file in index initial  for file in index               #initial
816  #do  do
817  #    ln -s ../../../functions/wrapper root/etc/e-smith/web/panels/manager/html/${file}.cgi      ln -s ../../../functions2/wrapper2 root/etc/e-smith/web/panels/manager2/html/${file}.cgi
818  #done  done
819    
820  # Force creation of potentially empty directories  # Force creation of potentially empty directories
 #mkdir -p root/etc/e-smith/web/{common,functions}  
 #mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,html}  
 #mkdir -p root/etc/e-smith/web/panels/password/{cgi-bin,html}  
821  #mkdir -p root/etc/httpd/admin-conf  #mkdir -p root/etc/httpd/admin-conf
 mkdir -p root/etc/e-smith/web/panels/manager2/{cgi-bin,html}  
 mkdir -p root/etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/public/images  
   
822  #mkdir -p root/service  #mkdir -p root/service
823  #mkdir -p root/etc/rc.d/init.d/supervise  #mkdir -p root/etc/rc.d/init.d/supervise
824  #for service in httpd-admin  #for service in httpd-admin
# Line 813  rm -f %{name}-%{version}-%{release}-file Line 842  rm -f %{name}-%{version}-%{release}-file
842  --file /etc/e-smith/web/panels/manager2/cgi-bin/wbl 'attr(4750,root,admin)' \  --file /etc/e-smith/web/panels/manager2/cgi-bin/wbl 'attr(4750,root,admin)' \
843  --file /etc/e-smith/web/panels/manager2/cgi-bin/useraccounts 'attr(4750,root,admin)' \  --file /etc/e-smith/web/panels/manager2/cgi-bin/useraccounts 'attr(4750,root,admin)' \
844  --dir /etc/e-smith/web/panels/manager2 'attr(0755,root,root)' \  --dir /etc/e-smith/web/panels/manager2 'attr(0755,root,root)' \
845    --file /etc/e-smith/web/functions2/wrapper2 'attr(4750,root,admin)' \
846    --file /etc/e-smith/web/functions2/index.cgi 'attr(0500,root,root)' \
847  > %{name}-%{version}-%{release}-filelist  > %{name}-%{version}-%{release}-filelist
848  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist  echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
849    
# Line 859  chown root:admin /etc/e-smith/web/panels Line 890  chown root:admin /etc/e-smith/web/panels
890  chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/log/development.log  chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/log/development.log
891  chown root:admin /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/public/js/navigation.js  chown root:admin /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/public/js/navigation.js
892  chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/public/js/navigation.js  chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/public/js/navigation.js
893    chown root:admin /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public/js/navigation.js
894    chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/AdminLTE/public/js/navigation.js
895  chown root:admin /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/templates/partials/_navig.html.ep  chown root:admin /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/templates/partials/_navig.html.ep
896  chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/templates/partials/_navig.html.ep  chmod 0660 /etc/e-smith/web/panels/manager2/cgi-bin/srvmngr/themes/default/templates/partials/_navig.html.ep
897    chown root:admin /etc/e-smith/web/functions2/wrapper2
898    chmod 4750  /etc/e-smith/web/functions2/wrapper2
899    
900    
901  %postun  %postun


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