Browse Source

updated 2 packages

python-vobject-0.9.6.1-2

radicale-2.1.12-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12471 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 3 years ago
parent
commit
c16b6bcc2a
2 changed files with 419 additions and 0 deletions
  1. 218 0
      p/python-vobject/python-vobject-vl.spec
  2. 201 0
      r/radicale/radicale-vl.spec

+ 218 - 0
p/python-vobject/python-vobject-vl.spec

@@ -0,0 +1,218 @@
+%global modname vobject
+%global sum A python library for manipulating vCard and vCalendar files
+
+
+Summary:        %{sum}
+Name:           python-vobject
+Version:        0.9.6.1
+Release:        2%{?_dist_release}
+Group:          programming
+Vendor:         Project Vine
+Distribution:   Vine Linux
+
+License:        ASL 2.0
+URL:            http://eventable.github.io/vobject/
+Source0:        https://pypi.python.org/packages/source/v/vobject/%{modname}-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  git
+
+
+%description
+VObject is intended to be a full featured python library for parsing and
+generating vCard and vCalendar files.
+
+
+%package -n         python3-%{modname}
+Summary:            %{sum}
+
+Requires:           python3-dateutil
+Requires:           python3-setuptools
+BuildRequires:      python3-rpm-macros
+BuildRequires:      python3-devel
+BuildRequires:      python3-setuptools
+BuildRequires:      python3-dateutil
+
+%{?python_provide:%python_provide python3-%{modname}}
+
+%description -n python3-vobject
+VObject is intended to be a full featured python library for parsing and
+generating vCard and vCalendar files.
+
+
+%prep
+%autosetup -n %{modname}-%{version} -p1
+sed -i -e 's| == 2.4.0||' setup.py
+rm vobject/win32tz.py
+
+
+%build
+%py3_build
+
+
+%install
+%py3_install
+
+
+%check
+# Currently failing
+%{__python3} setup.py test
+
+
+%files -n python3-%{modname}
+%doc README.md
+# ACKNOWLEDGEMENTS.txt
+#%license LICENSE-2.0.txt
+%{python3_sitelib}/%{modname}/
+%{python3_sitelib}/%{modname}-%{version}-*
+%{_bindir}/change_tz
+%{_bindir}/ics_diff
+
+
+%changelog
+* Sat Aug 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.9.6.1-2
+- rebuilt with python-3.8.
+
+* Thu Feb 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.9.6.1-1
+- initial build for Vine Linux.
+- new upstream release.
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Thu Jan 26 2017 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.9.4.1-1
+- Update to 0.9.4.1
+
+* Mon Dec 26 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.9.3-1
+- Update to 0.9.3
+
+* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.9.2-4
+- Rebuild for Python 3.6
+
+* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-3
+- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
+
+* Thu Apr 21 2016 Toshio Kuratomi <toshio@fedoraproject.org> - 0.9.2-2
+- Move the programs to the python3 subpackage so that we don't drag in python3
+  with the python2 subpackage.
+
+* Mon Mar 14 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.9.2-1
+- Update to 0.9.2
+
+* Tue Feb 16 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.9.0-3
+- Remove the file ``vobject/win32tz.py`` not needed for Linux
+- Re-enable the unit-tests
+
+* Mon Feb 15 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.9.0-2
+- Bring upstream patch fixing vobject with a recent version of dateutil
+
+* Tue Feb 09 2016 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.9.0-1
+- Update the spec to the latest guidelines, generating two sub-packages one
+  for py2 and one for py3
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1c-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Mon Feb 23 2015 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.8.1c-11
+- Add patch 0001-Require-dateutil-1.5.patch enforcing the version of
+  python-dateutils used
+
+* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Nov 02 2011 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.8.1c-5
+- Add python-setuptools as requires since it is needed for the ics_diff script
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.8.1c-3
+- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1c-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Fri Apr 03 2009 James Bowes <jbowes@redhat.com> - 0.8.1c-1
+- Update to 0.8.1c
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1b-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sun Feb 08 2009 James Bowes <jbowes@redhat.com> - 0.8.1b-1
+- Update to 0.8.1b
+
+* Mon Jan 05 2009 James Bowes <jbowes@redhat.com> - 0.8.0-1
+- Update to 0.8.0
+
+* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.7.1-3
+- Rebuild for Python 2.6
+
+* Wed Sep 03 2008 James Bowes <jbowes@redhat.com> - 0.7.1-2
+- Add change_tz executable
+
+* Wed Sep 03 2008 James Bowes <jbowes@redhat.com> - 0.7.1-1
+- Update to 0.7.1
+
+* Thu Jul 24 2008 James Bowes <jbowes@redhat.com> - 0.7.0-1
+- Update to 0.7.0
+
+* Wed Jun 11 2008 James Bowes <jbowes@redhat.com> - 0.6.6-1
+- Update to 0.6.6
+
+* Fri May 30 2008 James Bowes <jbowes@redhat.com> - 0.6.5-1
+- Update to 0.6.5
+
+* Thu Mar 13 2008 James Bowes <jbowes@redhat.com> - 0.6.0-2
+- Remove use of ez_setup; we already have setuptools.
+
+* Thu Mar 13 2008 James Bowes <jbowes@redhat.com> - 0.6.0-1
+- Update to 0.6.0
+
+* Thu Jan 17 2008 James Bowes <jbowes@redhat.com> - 0.5.0-1
+- Update to 0.5.0
+
+* Wed Dec 12 2007 James Bowes <jbowes@redhat.com> - 0.4.9-2
+- Use new egg-info guidlines for F9
+
+* Sun Dec 02 2007 James Bowes <jbowes@redhat.com> - 0.4.9-1
+- Update to 0.4.9
+
+* Thu Aug 23 2007 James Bowes <jbowes@redhat.com> - 0.4.8-1
+- Update to 0.4.8
+
+* Sat Dec 09 2006 James Bowes <jbowes@redhat.com> - 0.4.4-2
+- Add BR: python-devel
+
+* Sun Nov 26 2006 James Bowes <jbowes@redhat.com> - 0.4.4-1
+- New version released.
+
+* Sat Oct 07 2006 James Bowes <jbowes@redhat.com> - 0.4.3-1
+- New version released.
+
+* Sun Sep 10 2006 James Bowes <jbowes@redhat.com> 0.4.1-2
+- Stop ghosting pyo files.
+
+* Sat Aug 12 2006 James Bowes <jbowes@redhat.com> 0.4.1-1
+- New version released.
+- Handle egg info.
+
+* Thu Jun 29 2006 James Bowes <jbowes@redhat.com> 0.3.0-1
+- Initial packaging.

+ 201 - 0
r/radicale/radicale-vl.spec

@@ -0,0 +1,201 @@
+%bcond_with systemd
+
+Summary:          A simple CalDAV (calendar) and CardDAV (contact) server
+Name:             radicale
+Version:          2.1.12
+Release:          1%{?_dist_release}%{?with_systemd:.systemd}
+Group:            servers
+Vendor:           Project Vine
+Distribution:     Vine Linux
+
+License:          GPLv3+
+URL:              https://radicale.org
+Source0:          https://github.com/Kozea/Radicale/archive/%{version}/%{name}-%{version}.tar.gz
+Source1:          %{name}.service
+Source2:          %{name}-logrotate
+Source7:          %{name}-tmpfiles.conf
+Source1000:       %{name}.init
+
+BuildArch:        noarch
+BuildRequires:    python3-rpm-macros
+BuildRequires:    python3-devel
+BuildRequires:    python3-setuptools
+
+Requires:         python3-%{name} = %{version}-%{release}
+Requires(pre):    shadow-utils
+%if %{with systemd}
+BuildRequires:    systemd
+%{?systemd_requires}
+%else
+Requires(post):   chkconfig
+Requires(preun):  chkconfig
+Requires(preun):  /sbin/service
+Requires(postun): /sbin/service
+%endif
+
+%description
+The Radicale Project is a CalDAV (calendar) and CardDAV (contact) server. It
+aims to be a light solution, easy to use, easy to install, easy to configure.
+As a consequence, it requires few software dependencies and is pre-configured
+to work out-of-the-box.
+
+The Radicale Project runs on most of the UNIX-like platforms (Linux, BSD,
+MacOS X) and Windows. It is known to work with Evolution, Lightning, iPhone
+and Android clients. It is free and open-source software, released under GPL
+version 3.
+
+
+%package -n python3-%{name}
+Summary:          A simple CalDAV (calendar) and CardDAV (contact) server
+Group:            programming
+Requires:         python3-vobject
+Recommends:       python3-bcrypt
+Recommends:       python3-passlib
+%{?python_provide:%python_provide python3-%{name}}
+
+%description -n python3-%{name}
+The Radicale Project is a CalDAV (calendar) and CardDAV (contact) server. It
+aims to be a light solution, easy to use, easy to install, easy to configure.
+As a consequence, it requires few software dependencies and is pre-configured
+to work out-of-the-box.
+
+The Radicale Project runs on most of the UNIX-like platforms (Linux, BSD,
+MacOS X) and Windows. It is known to work with Evolution, Lightning, iPhone
+and Android clients. It is free and open-source software, released under GPL
+version 3.
+
+
+%prep
+%autosetup -n Radicale-%{version}
+
+
+%build
+%py3_build
+
+
+%install
+%py3_install
+
+# Install configuration files
+mkdir -p %{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 wsgi file
+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.fcgi
+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
+mkdir -p  %{buildroot}%{_sharedstatedir}/%{name}/
+
+%if %{with systemd}
+install -D -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service
+install -D -p -m 644 %{SOURCE7} %{buildroot}%{_tmpfilesdir}/%{name}.conf
+%else
+install -D -p -m 755 %{SOURCE1000} %{buildroot}%{_initdir}/%{name}
+%endif
+install -D -p -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/logrotate.d/%{name}
+mkdir -p %{buildroot}/run/%{name}
+
+mkdir -p %{buildroot}%{_localstatedir}/log/%{name}
+
+
+%pre
+getent group %{name} >/dev/null || groupadd -r %{name}
+getent passwd %{name} >/dev/null || \
+    useradd -r -g %{name} -d %{_sharedstatedir}/%{name} -s /sbin/nologin \
+    -c "Radicale service account" %{name}
+exit 0
+
+
+%post
+%if %{with systemd}
+%systemd_post %{name}.service
+%else
+if [ $1 -eq 1 ]; then
+  /sbin/chkconfig --add radicale
+fi
+%endif
+
+%preun
+%if %{with systemd}
+%systemd_preun %{name}.service
+%else
+if [ $1 -eq 0 -o /bin/systemctl ]; then
+  /sbin/service radicale status >/dev/null 2>&1 && \
+    /sbin/service radicale stop ||:
+  /sbin/chkconfig --del radicale
+fi
+%endif
+
+%postun
+%if %{with systemd}
+%systemd_postun_with_restart %{name}.service 
+%else
+if [ $1 -gt 0 ]; then
+  /sbin/service radicale condrestart ||:
+fi
+%endif
+
+
+%files
+%license COPYING
+%doc README.md NEWS.md
+%{_bindir}/%{name}
+%dir %{_sysconfdir}/%{name}/
+%config(noreplace) %attr(0640, root, %{name}) %{_sysconfdir}/%{name}/config
+%config(noreplace) %{_sysconfdir}/%{name}/logging
+%config(noreplace) %{_sysconfdir}/%{name}/rights
+%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
+%if %{with systemd}
+%{_unitdir}/%{name}.service
+%{_tmpfilesdir}/%{name}.conf
+%else
+%{_initdir}/%{name}
+%endif
+%dir %attr(750, %{name}, %{name}) %{_localstatedir}/log/%{name}
+%dir %attr(750, %{name}, %{name}) %{_sharedstatedir}/%{name}/
+%{_datadir}/%{name}/*
+%ghost %dir %attr(755, %{name}, %{name}) /run/%{name}
+
+%files -n python3-%{name}
+%license COPYING
+%{python3_sitelib}/%{name}
+%{python3_sitelib}/Radicale-*.egg-info
+
+
+%changelog
+* Sat Aug 15 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.12-1
+- new upstream release.
+
+* Tue May 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.11-2
+- added systemd support (disabled as default).
+
+* Thu Feb 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.11-1
+- new upstream release.
+
+* Wed Jan 31 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.8-1
+- new upstream release.
+
+* Thu Oct 22 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.1-1
+- new upstream release.
+
+* Thu Apr 03 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9-1.beta1
+- new upstream release.
+
+* Sun Aug 11 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-1
+- new upstream release.
+
+* Thu Oct 13 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.6.2-1
+- new upstream release.
+
+* Tue Aug 23 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.6-1
+- new upstream release.
+
+* Sun May 22 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.5-1
+- initial build.
+