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

Contents of /rpms/phplist/contribs10/phplist.spec

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


Revision 1.2 - (show annotations) (download)
Wed Aug 3 04:12:15 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
Changes since 1.1: +11 -5 lines
* Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.6.8-1
- Update to 3.6.8

1 %define name phplist
2 %define version 3.6.8
3 %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 Patch0: phplist-3.6.8-manage_admins_with_external_auth.patch
16 #phplist-3.2.4-manage_admins_with_external_auth.patch
17 Packager: Daniel B. <daniel@firewall-services.com>
18 BuildArch: noarch
19 BuildRoot: /var/tmp/%{name}-%{version}
20
21 Requires: php
22 Requires: php-mysql
23 Requires: php-imap
24 Requires: httpd
25 #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
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 %doc CODE_OF_CONDUCT.md CONTRIBUTING.md COPYING INSTALL LICENSE PEOPLE README.md TODO UPGRADE VERSION
68 %{_datadir}/%{name}
69 %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 %dir %attr(770,root,%{httpuser}) %{_datadir}/%{name}/www/admin/plugins
74 %dir %attr(770,root,%{httpuser}) %{_sysconfdir}/%{name}
75 %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
76 %config(noreplace) %{_sysconfdir}/%{name}/config.php
77 %{_sysconfdir}/%{name}/config_extended.php
78
79
80 %changelog
81 * Tue Aug 02 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.6.8-1
82 - Update to 3.6.8
83
84 * Mon Feb 22 2016 Daniel Berteaud <daniel@firewall-services.com> 3.2.4-1
85 - Update to 3.2.4
86
87 * Mon Sep 7 2015 Daniel B. <daniel@firewall-services.com> 3.0.12-1
88 - Update to 3.0.12
89
90 * Thu Jan 29 2015 Daniel B. <daniel@firewall-services.com> 3.0.11-1
91 - Update to 3.0.11
92
93 * Wed Oct 22 2014 Daniel B. <daniel@firewall-services.com> 3.0.10-1
94 - Update to 3.0.10
95
96 * Thu Sep 11 2014 Daniel B. <daniel@firewall-services.com> 3.0.8-1
97 - Update to 3.0.8
98
99 * Wed Jul 30 2014 Daniel B. <daniel@firewall-services.com> 3.0.6-1
100 - Update to 3.0.6
101
102 * Fri Oct 11 2013 Daniel B. <daniel@firewall-services.com> 3.0.5-1
103 - upgrade to 3.0.5
104
105 * Tue Dec 7 2010 Pierre B. <pierre@firewall-services.com> 2.10.12-0
106 - initial release

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