1 |
%define name dl |
%define name dl |
2 |
%define version 0.18.1 |
%define version 0.18.1 |
3 |
%define release 1 |
%define release 3 |
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 |
|
|
24 |
BuildArch: noarch |
BuildArch: noarch |
25 |
BuildRoot: %{_tmppath}/%{name}-%{version} |
BuildRoot: %{_tmppath}/%{name}-%{version} |
57 |
|
|
58 |
%prep |
%prep |
59 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
60 |
|
%patch0 -p1 |
61 |
|
|
62 |
%build |
%build |
63 |
# update locales |
# update locales |
138 |
%files |
%files |
139 |
%defattr(-,root,root) |
%defattr(-,root,root) |
140 |
%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 |
141 |
%doc AUTHORS.html NEWS.html README.html RESTAPI.html THANKS.html |
#%doc AUTHORS.html NEWS.html README.html RESTAPI.html THANKS.html |
142 |
|
|
143 |
%{_datadir}/%{name} |
%{_datadir}/%{name} |
144 |
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name} |
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name} |
145 |
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name}/data |
%dir %attr(770,root,%{httpuser}) %{_localstatedir}/lib/%{name}/data |
153 |
%{_bindir}/%{name}-cli |
%{_bindir}/%{name}-cli |
154 |
|
|
155 |
%changelog |
%changelog |
156 |
|
* Sun Apr 18 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.18.1-3.sme |
157 |
|
- first build for SME10 [SME: 11565] |
158 |
|
- patch with git update up to pre 0.19 release as per 20210316 |
159 |
|
- cvs admin -ko on patch |
160 |
|
|
161 |
* 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 |
162 |
- Update to 0.18.1 |
- Update to 0.18.1 |
163 |
|
|