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

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

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

Revision 1.1 by jpp, Tue Aug 2 07:07:29 2022 UTC Revision 1.6 by jpp, Thu Aug 4 04:03:04 2022 UTC
# Line 1  Line 1 
1  Summary: sme server integration of phplist  Summary: sme server integration of phplist
2  Name: smeserver-phplist  Name: smeserver-phplist
3  Version: 0.2.1  Version: 0.2.1
4  Release: 1%{?dist}  Release: 3%{?dist}
5  License: GNU GPL version 2  License: GNU GPL version 2
6  URL: http://www.phplist.com  URL: http://www.phplist.com
7  Group: SMEserver/addon  Group: SMEserver/addon
8  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
9    Patch0: smeserver-phplist-0.2.1-sme10.patch
10    
11  BuildArchitectures: noarch  BuildArchitectures: noarch
12  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
13  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
14  Requires: e-smith-release >= 8.0  Requires: e-smith-release >= 10.0
15  Requires: phplist >= 3.0.6  Requires: e-smith-apache >= 2.6.0-19
16    Requires: phplist >= 3.6.8
17  Requires: smeserver-webapps-common  Requires: smeserver-webapps-common
18    Requires: php80-php php80-php-mysqli php80-php-mysqlnd php80-php-pecl-mysql  php80-php-curl php80-php-gd php80-php-gettext php80-php-iconv php80-php-imap php80-php-mbstring php80-php-mysqli php80-php-session php80-php-xml php80-php-zlib php80-php-mbstring php80-php-gd
19    #php80-php-pear-HTTP_Request
20  AutoReqProv: no  AutoReqProv: no
21    
22  %description  %description
# Line 20  This rpm provides all the needed templat Line 24  This rpm provides all the needed templat
24  running on SME Server  running on SME Server
25    
26  %changelog  %changelog
27    * Wed Aug 03 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.2.1-3.sme
28    - make http auth not the default.
29    
30    * Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.2.1-2.sme
31    - ported to SME10
32    
33  * Wed Mar 18 2020 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1  * Wed Mar 18 2020 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1
34  - new package built with tito  - new package built with tito
35    
# Line 57  running on SME Server Line 67  running on SME Server
67    
68  %prep  %prep
69  %setup  %setup
70    %patch0 -p1
71    rm -rf root/var/service/
72    
73  %build  %build
74  perl ./createlinks  perl ./createlinks
75  %{__mkdir_p} root/var/lib/phplist  %{__mkdir_p} root/var/lib/php/phplist/{tmp,opcache,session}
76  %{__mkdir_p} root/var/log/phplist  %{__mkdir_p} root/var/log/phplist
77    %{__mkdir_p} root/var/log/php/phplist
78    
79    
80  %install  %install
81  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 71  rm -f %{name}-%{version}-filelist Line 85  rm -f %{name}-%{version}-filelist
85      --dir /var/lib/phplist 'attr(0750,www,www)' \      --dir /var/lib/phplist 'attr(0750,www,www)' \
86      --dir /var/log/phplist 'attr(0750,smelog,smelog)' \      --dir /var/log/phplist 'attr(0750,smelog,smelog)' \
87      --file /var/lib/phplist/bounces.mbox 'config(noreplace) %attr(0640,www,www)' \      --file /var/lib/phplist/bounces.mbox 'config(noreplace) %attr(0640,www,www)' \
88      --file /var/service/phplist/run 'attr(0750,root,root)' \      --file /usr/sbin/e-smith/systemd/phplist 'attr(0750,root,root)' \
89      --file /var/service/phplist/log/run 'attr(0750,root,root)' \      --dir /var/lib/php/phplist  'attr(0755,www,www)' \
90        --dir /var/lib/php/phplist/tmp 'attr(0755,www,www)' \
91        --dir /var/lib/php/phplist/opcache 'attr(0755,www,www)' \
92        --dir /var/lib/php/phplist/session 'attr(0755,www,www)' \
93        --ignoredir /var/qmail/alias --ignoredir /var/lib/phplist \
94        --file /usr/local/bin/phplist 'attr(0750,root,www)' \
95          > %{name}-%{version}-filelist          > %{name}-%{version}-filelist
96    
97  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist


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