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

Contents of /rpms/smeserver-dl/contribs10/smeserver-dl.spec

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


Revision 1.1 - (show annotations) (download)
Sun Apr 18 16:24:49 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-dl-0_2_3-1_el6_fws
Initial import

1 %define phpversion 56
2
3 Summary: sme server integration of dl
4 Name: smeserver-dl
5 Version: 0.2.3
6 Release: 1%{?dist}
7 Epoch: 9
8 License: GNU GPL version 2
9 URL: http://www.thregr.org/~wavexx/software/dl/
10 Group: SMEserver/addon
11 Source: %{name}-%{version}.tar.gz
12
13 BuildArchitectures: noarch
14 BuildRequires: e-smith-devtools
15 BuildRoot: %{_tmppath}/%{name}-%{version}
16 Requires: e-smith-base
17 Requires: dl
18 Requires: smeserver-webapps-common
19
20 %description
21 smserver integration of dl
22
23 %changelog
24 * Sun Jan 21 2018 Daniel Berteaud <daniel@firewall-services.com> 0.2.3-1
25 - Use alt php binary when expiring tickets [SME: 10495] (daniel@firewall-
26 services.com)
27
28 * Sun Nov 19 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.2-1
29 - Prepare spec file for tito (daniel@firewall-services.com)
30
31 * Wed Jul 26 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1.sme
32 - Add /var/lib/php/dl to open_basedir for the fpm pool
33 - Assume MB if no unit is specified for max file size
34 - Remove hardcoded PHP version, replaced at build time
35
36 * Thu Jul 13 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1.sme
37 - Support smeserver-php-fpm
38
39 * Tue May 31 2016 Daniel Berteaud <daniel@firewall-services.com> 0.1.4-1.sme
40 - Fix cron job output [SME: 9116]
41
42 * Wed Apr 23 2014 Daniel Berteaud <daniel@firewall-services.com> 0.1.3-1.sme
43 - Fix basic auth on SME9
44
45 * Tue Feb 4 2014 Daniel Berteaud <daniel@firewall-services.com> 0.1.2-1.sme
46 - Grant admin privileges to the admin user
47
48 * Sun Nov 24 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1.1-1.sme
49 - Automatically upgrade the database
50
51 * Fri Nov 22 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1.0-1.sme
52 - First release
53
54 %prep
55 %setup -q
56
57 %build
58 perl ./createlinks
59 find root/ -type f | xargs grep -l __PHP_VERSION__ | xargs sed -i -e "s/__PHP_VERSION__/%{phpversion}/g"
60 %{__mkdir_p} root/var/log/php/dl
61 %{__mkdir_p} root/var/lib/php/dl/{tmp,opcache,session}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
66 rm -f %{name}-%{version}-filelist
67 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
68 --dir /var/log/php/dl 'attr(0770,root,www)' \
69 --dir /var/lib/php/dl 'attr(0770,root,www)' \
70 --dir /var/lib/php/dl/tmp 'attr(0770,root,www)' \
71 --dir /var/lib/php/dl/opcache 'attr(0770,root,www)' \
72 --dir /var/lib/php/dl/session 'attr(0770,root,www)' \
73 > %{name}-%{version}-filelist
74
75 %files -f %{name}-%{version}-filelist
76 %defattr(-,root,root)
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %postun

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