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

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

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


Revision 1.3 - (hide annotations) (download)
Mon Apr 19 11:03:47 2021 UTC (3 years, 6 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-dl-0_2_3-3_el7_sme
Changes since 1.2: +6 -1 lines
* Mon Apr 19 2021 Brian Read <brianr@bjsystems.co.uk> 0.2.3-3.sme
- Fix httpd syntax and expand it intially [SME: 11567]

1 jpp 1.1 %define phpversion 56
2    
3     Summary: sme server integration of dl
4     Name: smeserver-dl
5     Version: 0.2.3
6 brianr 1.3 Release: 3%{?dist}
7 jpp 1.1 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 brianr 1.2 Patch0: smeserver-dl-0.2.3-Add-Update-event-to-createlinks.patch
13 brianr 1.3 Patch1: smeserver-dl-0.2.3-Fix-httpd-syntax.patch
14 jpp 1.1
15     BuildArchitectures: noarch
16     BuildRequires: e-smith-devtools
17     BuildRoot: %{_tmppath}/%{name}-%{version}
18     Requires: e-smith-base
19     Requires: dl
20     Requires: smeserver-webapps-common
21    
22     %description
23     smserver integration of dl
24    
25     %changelog
26 brianr 1.3 * Mon Apr 19 2021 Brian Read <brianr@bjsystems.co.uk> 0.2.3-3.sme
27     - Fix httpd syntax and expand it intially [SME: 11567]
28    
29 brianr 1.2 * Mon Apr 19 2021 Brian Read <brianr@bjsystems.co.uk> 0.2.3-2.sme
30     - Initial import to SME10 tree [SME: 11567]
31     - Add Update event to createlinks
32    
33     * Mon Apr 19 2021 BogusDateBot
34     - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
35     by assuming the date is correct and changing the weekday.
36    
37 jpp 1.1 * Sun Jan 21 2018 Daniel Berteaud <daniel@firewall-services.com> 0.2.3-1
38     - Use alt php binary when expiring tickets [SME: 10495] (daniel@firewall-
39     services.com)
40    
41     * Sun Nov 19 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.2-1
42     - Prepare spec file for tito (daniel@firewall-services.com)
43    
44     * Wed Jul 26 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1.sme
45     - Add /var/lib/php/dl to open_basedir for the fpm pool
46     - Assume MB if no unit is specified for max file size
47     - Remove hardcoded PHP version, replaced at build time
48    
49     * Thu Jul 13 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1.sme
50     - Support smeserver-php-fpm
51    
52     * Tue May 31 2016 Daniel Berteaud <daniel@firewall-services.com> 0.1.4-1.sme
53     - Fix cron job output [SME: 9116]
54    
55     * Wed Apr 23 2014 Daniel Berteaud <daniel@firewall-services.com> 0.1.3-1.sme
56     - Fix basic auth on SME9
57    
58     * Tue Feb 4 2014 Daniel Berteaud <daniel@firewall-services.com> 0.1.2-1.sme
59     - Grant admin privileges to the admin user
60    
61     * Sun Nov 24 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1.1-1.sme
62     - Automatically upgrade the database
63    
64     * Fri Nov 22 2013 Daniel Berteaud <daniel@firewall-services.com> 0.1.0-1.sme
65     - First release
66    
67     %prep
68     %setup -q
69 brianr 1.2 %patch0 -p1
70 brianr 1.3 %patch1 -p1
71 jpp 1.1
72     %build
73     perl ./createlinks
74     find root/ -type f | xargs grep -l __PHP_VERSION__ | xargs sed -i -e "s/__PHP_VERSION__/%{phpversion}/g"
75     %{__mkdir_p} root/var/log/php/dl
76     %{__mkdir_p} root/var/lib/php/dl/{tmp,opcache,session}
77    
78     %install
79     rm -rf $RPM_BUILD_ROOT
80     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
81     rm -f %{name}-%{version}-filelist
82     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
83     --dir /var/log/php/dl 'attr(0770,root,www)' \
84     --dir /var/lib/php/dl 'attr(0770,root,www)' \
85     --dir /var/lib/php/dl/tmp 'attr(0770,root,www)' \
86     --dir /var/lib/php/dl/opcache 'attr(0770,root,www)' \
87     --dir /var/lib/php/dl/session 'attr(0770,root,www)' \
88     > %{name}-%{version}-filelist
89    
90     %files -f %{name}-%{version}-filelist
91     %defattr(-,root,root)
92    
93     %clean
94     rm -rf $RPM_BUILD_ROOT
95    
96     %postun

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