/[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.1 - (show annotations) (download)
Tue Aug 2 07:12:36 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: phplist-3_2_4-1_el6_fws
Initial import

1 %define name phplist
2 %define version 3.2.4
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.2.4-manage_admins_with_external_auth.patch
16 Packager: Daniel B. <daniel@firewall-services.com>
17 BuildArch: noarch
18 BuildRoot: /var/tmp/%{name}-%{version}
19
20 Requires: php
21 Requires: php-mysql
22 Requires: php-imap
23 Requires: httpd
24
25 %description
26 phplist is the world's most popular open source email campaign manager.
27
28
29 %prep
30 %setup
31 %patch0 -p1
32
33 %build
34 # empty build
35
36 %install
37
38 %{__rm} -rf %{buildroot}
39 %{__mkdir} -p %{buildroot}/%{_datadir}/%{name}
40 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/
41 %{__mkdir} -p %{buildroot}/%{_localstatedir}/lib/%{name}/{tmp,images}
42 %{__cp} -r bin %{buildroot}/%{_datadir}/%{name}
43 %{__mv} public_html/lists/config %{buildroot}/%{_sysconfdir}/%{name}
44 %{__rm} -f %{buildroot}/%{_sysconfdir}/%{name}/.htaccess
45 %{__cp} -r public_html/lists %{buildroot}/%{_datadir}/%{name}/www
46 ln -s %{_sysconfdir}/%{name} %{buildroot}/%{_datadir}/%{name}/www/config
47 ln -s %{_localstatedir}/lib/%{name}/images %{buildroot}/%{_datadir}/%{name}/www/uploadimages
48 sed -i -e "s|/home/website/public_html/lists/|%{_datadir}/%{name}/www/|g" \
49 %{buildroot}/%{_datadir}/%{name}/bin/phplist
50
51 %{__mkdir} -p %{buildroot}/%{_sysconfdir}/httpd/conf.d/
52 %{__install} -m 0640 %{SOURCE1} %{buildroot}/%{_sysconfdir}/httpd/conf.d/%{name}.conf
53
54
55 %clean
56 rm -rf %{buildroot}
57
58 %post
59
60 %postun
61
62
63 %files
64 %defattr(-,root,root)
65 %doc CODING.md composer.json CONTRIBUTING.md COPYING INSTALL PEOPLE README.md TESTING.md TODO UPGRADE VERSION
66 %dir %doc scripts
67 %{_datadir}/%{name}
68 %attr(0755,root,root) %{_datadir}/%{name}/bin/phplist
69 %dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name}/
70 %dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name}/tmp
71 %dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name}/images
72 %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
73 %config(noreplace) %{_sysconfdir}/%{name}/config.php
74 %{_sysconfdir}/%{name}/config_extended.php
75
76
77 %changelog
78 * Mon Feb 22 2016 Daniel Berteaud <daniel@firewall-services.com> 3.2.4-1
79 - Update to 3.2.4
80
81 * Mon Sep 7 2015 Daniel B. <daniel@firewall-services.com> 3.0.12-1
82 - Update to 3.0.12
83
84 * Thu Jan 29 2015 Daniel B. <daniel@firewall-services.com> 3.0.11-1
85 - Update to 3.0.11
86
87 * Wed Oct 22 2014 Daniel B. <daniel@firewall-services.com> 3.0.10-1
88 - Update to 3.0.10
89
90 * Thu Sep 11 2014 Daniel B. <daniel@firewall-services.com> 3.0.8-1
91 - Update to 3.0.8
92
93 * Wed Jul 30 2014 Daniel B. <daniel@firewall-services.com> 3.0.6-1
94 - Update to 3.0.6
95
96 * Fri Oct 11 2013 Daniel B. <daniel@firewall-services.com> 3.0.5-1
97 - upgrade to 3.0.5
98
99 * Tue Dec 7 2010 Pierre B. <pierre@firewall-services.com> 2.10.12-0
100 - initial release

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