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

Annotation of /rpms/phplist/contribs10/phplist.spec

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


Revision 1.4 - (hide annotations) (download)
Wed Aug 3 04:58:31 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: phplist-3_6_8-1_el7_sme
Changes since 1.3: +2 -2 lines
* Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.6.8-1
- Update to 3.6.8

1 jpp 1.1 %define name phplist
2 jpp 1.2 %define version 3.6.8
3 jpp 1.1 %define release 1
4     %define httpuser apache
5    
6     Summary: newsletter manager
7     Name: %{name}
8     Version: %{version}
9     Release: %{release}%{?dist}
10     License: GNU GPL
11     URL: http://www.phplist.org
12     Group: application/internet
13     Source: %{name}-%{version}.tgz
14     Source1: httpd.conf
15 jpp 1.2 Patch0: phplist-3.6.8-manage_admins_with_external_auth.patch
16     #phplist-3.2.4-manage_admins_with_external_auth.patch
17 jpp 1.1 Packager: Daniel B. <daniel@firewall-services.com>
18     BuildArch: noarch
19     BuildRoot: /var/tmp/%{name}-%{version}
20    
21     Requires: php
22 jpp 1.2 Requires: php-mysql
23 jpp 1.1 Requires: php-imap
24     Requires: httpd
25 jpp 1.2 #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-pear-HTTP_Request php80-php-session php80-php-xml php80-php-zlib php80-php-mbstring php80-php-gd
26 jpp 1.1
27     %description
28     phplist is the world's most popular open source email campaign manager.
29    
30    
31     %prep
32     %setup
33     %patch0 -p1
34    
35     %build
36     # empty build
37    
38     %install
39    
40     %{__rm} -rf %{buildroot}
41     %{__mkdir} -p %{buildroot}/%{_datadir}/%{name}
42     %{__mkdir} -p %{buildroot}/%{_sysconfdir}/
43     %{__mkdir} -p %{buildroot}/%{_localstatedir}/lib/%{name}/{tmp,images}
44     %{__cp} -r bin %{buildroot}/%{_datadir}/%{name}
45     %{__mv} public_html/lists/config %{buildroot}/%{_sysconfdir}/%{name}
46     %{__rm} -f %{buildroot}/%{_sysconfdir}/%{name}/.htaccess
47     %{__cp} -r public_html/lists %{buildroot}/%{_datadir}/%{name}/www
48     ln -s %{_sysconfdir}/%{name} %{buildroot}/%{_datadir}/%{name}/www/config
49     ln -s %{_localstatedir}/lib/%{name}/images %{buildroot}/%{_datadir}/%{name}/www/uploadimages
50     sed -i -e "s|/home/website/public_html/lists/|%{_datadir}/%{name}/www/|g" \
51     %{buildroot}/%{_datadir}/%{name}/bin/phplist
52    
53     %{__mkdir} -p %{buildroot}/%{_sysconfdir}/httpd/conf.d/
54     %{__install} -m 0640 %{SOURCE1} %{buildroot}/%{_sysconfdir}/httpd/conf.d/%{name}.conf
55    
56    
57     %clean
58     rm -rf %{buildroot}
59    
60     %post
61    
62     %postun
63    
64    
65     %files
66     %defattr(-,root,root)
67 jpp 1.3 %{_datadir}/%{name}
68 jpp 1.2 %doc CODE_OF_CONDUCT.md CONTRIBUTING.md COPYING INSTALL LICENSE PEOPLE README.md TODO UPGRADE VERSION
69 jpp 1.1 %attr(0755,root,root) %{_datadir}/%{name}/bin/phplist
70     %dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name}/
71     %dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name}/tmp
72     %dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name}/images
73 jpp 1.2 %dir %attr(770,root,%{httpuser}) %{_datadir}/%{name}/www/admin/plugins
74 jpp 1.4 #%dir %attr(770,root,%{httpuser}) %{_sysconfdir}/%{name}
75 jpp 1.1 %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
76 jpp 1.4 %config(noreplace) %{_sysconfdir}/%{name}/config.php
77 jpp 1.1 %{_sysconfdir}/%{name}/config_extended.php
78    
79     %changelog
80 jpp 1.2 * Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.6.8-1
81     - Update to 3.6.8
82    
83 jpp 1.1 * Mon Feb 22 2016 Daniel Berteaud <daniel@firewall-services.com> 3.2.4-1
84     - Update to 3.2.4
85    
86     * Mon Sep 7 2015 Daniel B. <daniel@firewall-services.com> 3.0.12-1
87     - Update to 3.0.12
88    
89     * Thu Jan 29 2015 Daniel B. <daniel@firewall-services.com> 3.0.11-1
90     - Update to 3.0.11
91    
92     * Wed Oct 22 2014 Daniel B. <daniel@firewall-services.com> 3.0.10-1
93     - Update to 3.0.10
94    
95     * Thu Sep 11 2014 Daniel B. <daniel@firewall-services.com> 3.0.8-1
96     - Update to 3.0.8
97    
98     * Wed Jul 30 2014 Daniel B. <daniel@firewall-services.com> 3.0.6-1
99     - Update to 3.0.6
100    
101     * Fri Oct 11 2013 Daniel B. <daniel@firewall-services.com> 3.0.5-1
102     - upgrade to 3.0.5
103    
104     * Tue Dec 7 2010 Pierre B. <pierre@firewall-services.com> 2.10.12-0
105     - initial release

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed