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

Diff of /rpms/smeserver-geneweb/contribs10/smeserver-geneweb.spec

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

Revision 1.3 by michel, Tue Mar 23 19:13:58 2021 UTC Revision 1.8 by brianr, Sat Mar 2 08:50:51 2024 UTC
# Line 3  Summary: Package to integrate GeneWeb (V Line 3  Summary: Package to integrate GeneWeb (V
3  %define name smeserver-geneweb  %define name smeserver-geneweb
4  Name: %{name}  Name: %{name}
5  %define version 2.3.0  %define version 2.3.0
6  %define release 3  %define release 8
7  Version: %{version}  Version: %{version}
8  Release: %{release}%{?dist}  Release: %{release}%{?dist}
9  License: GPL  License: GPL
# Line 12  Source: %{name}-%{version}.tar.xz Line 12  Source: %{name}-%{version}.tar.xz
12  Patch0: %{name}-%{version}-init_v10_systemd.patch  Patch0: %{name}-%{version}-init_v10_systemd.patch
13  Patch1: %{name}-%{version}-to_smanager.patch  Patch1: %{name}-%{version}-to_smanager.patch
14  Patch2: %{name}-%{version}-TcpPort.patch  Patch2: %{name}-%{version}-TcpPort.patch
15    Patch3: smeserver-geneweb-2.3.0-locale-2021-08-22.patch
16    Patch4: smeserver-geneweb-2.3.0-Add-class-to-div-for-AdminLTE.patch
17    Patch5: smeserver-geneweb-2.3.0-migrate-logs-users-bz12047_httpd-bz12074_backup.patch
18    Patch6: smeserver-geneweb-2.3.0-Alter-menu-category-for-new-arrangement.patch
19    
20  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
21  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 19  Requires: geneweb >= 6.08 Line 23  Requires: geneweb >= 6.08
23  Requires: smeserver-release >= 10.0  Requires: smeserver-release >= 10.0
24  Requires: e-smith-formmagick >= 2.4.0-1  Requires: e-smith-formmagick >= 2.4.0-1
25  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
26    Requires: e-smith-apache >= 2.6.0-19
27    Requires: smeserver-php >= 3.0.0-43
28  AutoReqProv: no  AutoReqProv: no
29    
30  %description  %description
31  This RPM must be installed after the geneweb package  This RPM must be installed after the geneweb package
32  to complete the integration for SME Server.  to complete the integration for SME Server.
33    
   
34  %prep  %prep
35    
36  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 34  rm -rf $RPM_BUILD_ROOT Line 39  rm -rf $RPM_BUILD_ROOT
39  %patch0 -p1  %patch0 -p1
40  %patch1 -p1  %patch1 -p1
41  %patch2 -p1  %patch2 -p1
42    %patch3 -p1
43    %patch4 -p1
44    %patch5 -p1
45    %patch6 -p1
46    
47  %build  %build
48  perl createlinks  perl createlinks
# Line 57  echo "%doc COPYING" >> %{name}-%{version Line 66  echo "%doc COPYING" >> %{name}-%{version
66  %attr(755, root, root) /usr/lib/systemd/systemd-geneweb  %attr(755, root, root) /usr/lib/systemd/systemd-geneweb
67  %attr(755, root, root) /usr/lib/systemd/systemd-gwsetup  %attr(755, root, root) /usr/lib/systemd/systemd-gwsetup
68    
   
69  %clean  %clean
70  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
71    
72  %pre  %pre
73    
74  %post  %post
75  mkdir -p /var/log/geneweb  
76  chown geneweb:geneweb /var/log/geneweb  if (systemctl list-unit-files |grep smanager) then
77  mkdir -p /var/log/gwsetup    echo "Smanager restart in spec file"
78  chown geneweb:geneweb /var/log/gwsetup    /sbin/e-smith/signal-event smanager-refresh;
79    fi
80    
81  %preun  %preun
82  /sbin/e-smith/db configuration setprop geneweb status disabled  /sbin/e-smith/db configuration setprop geneweb status disabled
# Line 77  chown geneweb:geneweb /var/log/gwsetup Line 86  chown geneweb:geneweb /var/log/gwsetup
86  %postun  %postun
87    
88  %changelog  %changelog
89    * Sat Mar 02 2024 Brian Read <brianr@koozali.org> 2.3.0-8.sme
90    - Edit SM2 Menu entry to conform to new arrangements [SME: 12493]
91    
92    * Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 2.3.0-7.sme
93    - Re-build and link to latest devtools [SME: 11997]
94    
95    * Thu Jul 14 2022 Michel Begue <mab974@misouk.com> 2.3.0-6.sme
96    - Re-build and link to latest devtools migrate fragment error [SME: 11610]
97    - back to standard log files and fix log files not fed
98    - run 2 services with user geneweb
99    - add geneweb to backup list [SME: 12074]
100    - update to httpd 2.4 syntax [SME: 12047]
101    
102    * Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 2.3.0-5.sme
103    - Add-class-to-div-for-AdminLTE [SME: 11838]
104    
105    * Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 2.3.0-4.sme
106    - apply locale 2021-08-22 patch
107    
108  * Tue Mar 23 2021 Michel Begue <mab974@gmail.com> 2.3.0-3.sme  * Tue Mar 23 2021 Michel Begue <mab974@gmail.com> 2.3.0-3.sme
109  - change TCPPort attributes to avoid filtering effect [SME: 10930]  - change TCPPort attributes to avoid filtering effect [SME: 10930]
110  - move changelog to the bottom of spec  - move changelog to the bottom of spec


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