1 |
%define name dl |
%define name dl |
2 |
%define version 0.18.1 |
%define version 0.18.1 |
3 |
%define release 1 |
%define release 4 |
4 |
%define httpuser apache |
%define httpuser apache |
5 |
|
|
6 |
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 5 |
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 5 |
19 |
Source: http://www.thregr.org/~wavexx/software/dl/releases/%{name}-%{version}.zip |
Source: http://www.thregr.org/~wavexx/software/dl/releases/%{name}-%{version}.zip |
20 |
Source1: httpd.conf |
Source1: httpd.conf |
21 |
Source2: logrotate.conf |
Source2: logrotate.conf |
22 |
|
Patch0: dl-0.18.1-pre0.19changes20210316.patch |
23 |
|
Patch1: dl-0.18.1-add-in-help-html.patch |
24 |
|
|
25 |
BuildArch: noarch |
BuildArch: noarch |
26 |
BuildRoot: %{_tmppath}/%{name}-%{version} |
BuildRoot: %{_tmppath}/%{name}-%{version} |
27 |
|
|
58 |
|
|
59 |
%prep |
%prep |
60 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
61 |
|
%patch0 -p1 |
62 |
|
%patch1 -p1 |
63 |
|
|
64 |
%build |
%build |
65 |
# update locales |
# update locales |
140 |
%files |
%files |
141 |
%defattr(-,root,root) |
%defattr(-,root,root) |
142 |
%doc AUTHORS.rst NEWS.rst README.rst RESTAPI.rst THANKS.rst COPYING.txt |
%doc AUTHORS.rst NEWS.rst README.rst RESTAPI.rst THANKS.rst COPYING.txt |
143 |
%doc AUTHORS.html NEWS.html README.html RESTAPI.html THANKS.html |
#%doc AUTHORS.html NEWS.html README.html RESTAPI.html THANKS.html |
144 |
|
|
145 |
%{_datadir}/%{name} |
%{_datadir}/%{name} |
146 |
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name} |
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name} |
147 |
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name}/data |
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name}/data |
155 |
%{_bindir}/%{name}-cli |
%{_bindir}/%{name}-cli |
156 |
|
|
157 |
%changelog |
%changelog |
158 |
|
* Fri Oct 01 2021 Brian Read <brianr@bjsystems.co.uk> 0.18.1-4.sme |
159 |
|
- Add in missing help files [SME: 11565] |
160 |
|
|
161 |
|
* Sun Apr 18 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.18.1-3.sme |
162 |
|
- first build for SME10 [SME: 11565] |
163 |
|
- patch with git update up to pre 0.19 release as per 20210316 |
164 |
|
- cvs admin -ko on patch |
165 |
|
|
166 |
* Wed Sep 6 2017 Daniel Berteaud <daniel@firewall-services.com> 0.18.1-1 |
* Wed Sep 6 2017 Daniel Berteaud <daniel@firewall-services.com> 0.18.1-1 |
167 |
- Update to 0.18.1 |
- Update to 0.18.1 |
168 |
|
|