Browse Source

radicale version update

Signed-off-by: webbuilder_pel7ppc64bebuilder0 <webbuilder@powerel.org>
master
webbuilder_pel7ppc64bebuilder0 4 years ago
parent
commit
e543574547
  1. 12
      SPECS/radicale.spec

12
SPECS/radicale.spec

@ -2,7 +2,7 @@
%global selinux_variants %([ -z "%{selinux_types}" ] && echo mls targeted || echo %{selinux_types}) %global selinux_variants %([ -z "%{selinux_types}" ] && echo mls targeted || echo %{selinux_types})


Name: radicale Name: radicale
Version: 2.1.12 Version: 3.0.6
Release: 1%{?dist} Release: 1%{?dist}
Summary: A simple CalDAV (calendar) and CardDAV (contact) server Summary: A simple CalDAV (calendar) and CardDAV (contact) server
License: GPLv3+ License: GPLv3+
@ -103,15 +103,15 @@ cd -
# 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 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 #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}/ #install -p -m 755 radicale.fcgi %{buildroot}%{_datadir}/%{name}/


# Install apache's configuration file # Install apache's configuration file
mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d/ mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d/
@ -176,7 +176,7 @@ fi
%{_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}/logging
%config(noreplace) %{_sysconfdir}/%{name}/rights %config(noreplace) %{_sysconfdir}/%{name}/rights
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%{_unitdir}/%{name}.service %{_unitdir}/%{name}.service
@ -194,7 +194,7 @@ fi


%files httpd %files httpd
%{_datadir}/%{name}/%{name}.wsgi %{_datadir}/%{name}/%{name}.wsgi
%{_datadir}/%{name}/%{name}.fcgi #%{_datadir}/%{name}/%{name}.fcgi
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf


%changelog %changelog

Loading…
Cancel
Save