|
@@ -2,7 +2,7 @@
|
|
|
|
|
|
Summary: A simple CalDAV (calendar) and CardDAV (contact) server
|
|
Summary: A simple CalDAV (calendar) and CardDAV (contact) server
|
|
Name: radicale
|
|
Name: radicale
|
|
-Version: 2.1.12
|
|
|
|
|
|
+Version: 3.1.8
|
|
Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
Group: servers
|
|
Group: servers
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -10,7 +10,7 @@ Distribution: Vine Linux
|
|
|
|
|
|
License: GPLv3+
|
|
License: GPLv3+
|
|
URL: https://radicale.org
|
|
URL: https://radicale.org
|
|
-Source0: https://github.com/Kozea/Radicale/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
+Source0: https://github.com/Kozea/Radicale/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
Source1: %{name}.service
|
|
Source1: %{name}.service
|
|
Source2: %{name}-logrotate
|
|
Source2: %{name}-logrotate
|
|
Source7: %{name}-tmpfiles.conf
|
|
Source7: %{name}-tmpfiles.conf
|
|
@@ -70,24 +70,21 @@ version 3.
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
-%py3_build
|
|
|
|
|
|
+%pip3_build_wheel
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
-%py3_install
|
|
|
|
|
|
+%pip3_install_wheel
|
|
|
|
|
|
# Install configuration files
|
|
# Install configuration files
|
|
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/
|
|
mkdir -p %{buildroot}%{_sysconfdir}/%{name}/
|
|
install -p -m 640 config %{buildroot}%{_sysconfdir}/%{name}/
|
|
install -p -m 640 config %{buildroot}%{_sysconfdir}/%{name}/
|
|
-install -p -m 644 logging %{buildroot}%{_sysconfdir}/%{name}/
|
|
|
|
install -p -m 644 rights %{buildroot}%{_sysconfdir}/%{name}/
|
|
install -p -m 644 rights %{buildroot}%{_sysconfdir}/%{name}/
|
|
|
|
|
|
# Install wsgi file
|
|
# Install wsgi file
|
|
mkdir -p %{buildroot}%{_datadir}/%{name}
|
|
mkdir -p %{buildroot}%{_datadir}/%{name}
|
|
sed -i 's|^#!/usr/bin/env python3$|#!/usr/bin/python3|' radicale.wsgi
|
|
sed -i 's|^#!/usr/bin/env python3$|#!/usr/bin/python3|' radicale.wsgi
|
|
-sed -i 's|^#!/usr/bin/env python3$|#!/usr/bin/python3|' radicale.fcgi
|
|
|
|
install -p -m 755 radicale.wsgi %{buildroot}%{_datadir}/%{name}/
|
|
install -p -m 755 radicale.wsgi %{buildroot}%{_datadir}/%{name}/
|
|
-install -p -m 755 radicale.fcgi %{buildroot}%{_datadir}/%{name}/
|
|
|
|
|
|
|
|
# Create folder where the calendar will be stored
|
|
# Create folder where the calendar will be stored
|
|
mkdir -p %{buildroot}%{_sharedstatedir}/%{name}/
|
|
mkdir -p %{buildroot}%{_sharedstatedir}/%{name}/
|
|
@@ -143,12 +140,11 @@ fi
|
|
|
|
|
|
|
|
|
|
%files
|
|
%files
|
|
-%license COPYING
|
|
|
|
-%doc README.md NEWS.md
|
|
|
|
|
|
+%license COPYING.md
|
|
|
|
+%doc README.md
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/%{name}
|
|
%dir %{_sysconfdir}/%{name}/
|
|
%dir %{_sysconfdir}/%{name}/
|
|
%config(noreplace) %attr(0640, root, %{name}) %{_sysconfdir}/%{name}/config
|
|
%config(noreplace) %attr(0640, root, %{name}) %{_sysconfdir}/%{name}/config
|
|
-%config(noreplace) %{_sysconfdir}/%{name}/logging
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/rights
|
|
%config(noreplace) %{_sysconfdir}/%{name}/rights
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
|
|
%if %{with systemd}
|
|
%if %{with systemd}
|
|
@@ -163,12 +159,15 @@ fi
|
|
%ghost %dir %attr(755, %{name}, %{name}) /run/%{name}
|
|
%ghost %dir %attr(755, %{name}, %{name}) /run/%{name}
|
|
|
|
|
|
%files -n python3-%{name}
|
|
%files -n python3-%{name}
|
|
-%license COPYING
|
|
|
|
|
|
+%license COPYING.md
|
|
%{python3_sitelib}/%{name}
|
|
%{python3_sitelib}/%{name}
|
|
-%{python3_sitelib}/Radicale-*.egg-info
|
|
|
|
|
|
+%{python3_sitelib}/Radicale-*-info
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Oct 27 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.8-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Sat Aug 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.12-1
|
|
* Sat Aug 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.12-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|