|
|
64c9a7b |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from
|
|
|
64c9a7b |
%distutils.sysconfig import get_python_lib; print (get_python_lib())")}
|
|
|
64c9a7b |
|
|
|
64c9a7b |
Name: fedocal
|
|
|
a30eb7c |
Version: 0.15
|
|
|
a30eb7c |
Release: 1%{?dist}
|
|
|
64c9a7b |
Summary: A web based calendar application
|
|
|
64c9a7b |
|
|
|
64c9a7b |
License: GPLv3+
|
|
|
64c9a7b |
URL: http://fedorahosted.org/fedocal/
|
|
|
64c9a7b |
Source0: https://fedorahosted.org/releases/f/e/fedocal/%{name}-%{version}.tar.gz
|
|
|
64c9a7b |
|
|
|
64c9a7b |
BuildArch: noarch
|
|
|
64c9a7b |
|
|
|
64c9a7b |
BuildRequires: python2-devel
|
|
|
64c9a7b |
BuildRequires: python-flask
|
|
|
64c9a7b |
BuildRequires: pytz
|
|
|
64c9a7b |
BuildRequires: python-wtforms
|
|
|
64c9a7b |
BuildRequires: python-flask-wtf
|
|
|
64c9a7b |
BuildRequires: python-vobject
|
|
|
64c9a7b |
BuildRequires: python-kitchen
|
|
|
ef2f647 |
BuildRequires: python-fedora >= 0.3.33
|
|
|
ef2f647 |
BuildRequires: python-fedora-flask >= 0.3.33
|
|
|
64c9a7b |
BuildRequires: python-alembic
|
|
|
bbac941 |
BuildRequires: python-dateutil >= 1:0
|
|
|
64c9a7b |
BuildRequires: python-setuptools
|
|
|
ef2f647 |
BuildRequires: python-markdown
|
|
|
ef2f647 |
BuildRequires: python-docutils
|
|
|
e54acf5 |
BuildRequires: python-bleach
|
|
|
64c9a7b |
|
|
|
3c41357 |
# EPEL6
|
|
|
3c41357 |
%if ( 0%{?rhel} && 0%{?rhel} == 6 )
|
|
|
3c41357 |
BuildRequires: python-sqlalchemy0.7
|
|
|
3c41357 |
Requires: python-sqlalchemy0.7
|
|
|
3c41357 |
%else
|
|
|
3c41357 |
BuildRequires: python-sqlalchemy > 0.5
|
|
|
3c41357 |
Requires: python-sqlalchemy > 0.5
|
|
|
3c41357 |
%endif
|
|
|
3c41357 |
|
|
|
e54acf5 |
Requires: python-bleach
|
|
|
64c9a7b |
Requires: python-flask
|
|
|
64c9a7b |
Requires: pytz
|
|
|
64c9a7b |
Requires: python-wtforms
|
|
|
64c9a7b |
Requires: python-flask-wtf
|
|
|
64c9a7b |
Requires: python-vobject
|
|
|
64c9a7b |
Requires: python-kitchen
|
|
|
ef2f647 |
Requires: python-fedora >= 0.3.32.3-3
|
|
|
64c9a7b |
Requires: python-fedora-flask
|
|
|
64c9a7b |
Requires: python-alembic
|
|
|
bbac941 |
Requires: python-dateutil >= 1:0
|
|
|
64c9a7b |
Requires: python-setuptools
|
|
|
ef2f647 |
Requires: python-markdown
|
|
|
ef2f647 |
Requires: python-docutils
|
|
|
64c9a7b |
Requires: mod_wsgi
|
|
|
64c9a7b |
|
|
|
64c9a7b |
%description
|
|
|
64c9a7b |
fedocal is a web- based calendar application for Fedora. It aims at replacing
|
|
|
64c9a7b |
the tables in the wiki which are hard to edit and maintain.
|
|
|
64c9a7b |
Calendar can be exported to an iCal format allowing read-only integration with
|
|
|
64c9a7b |
most calendar application.
|
|
|
64c9a7b |
|
|
Mathieu Bridon |
bddf484 |
|
|
|
64c9a7b |
%prep
|
|
|
64c9a7b |
%setup -q
|
|
|
64c9a7b |
|
|
|
ef2f647 |
sed -i -e 's|script_location = alembic|script_location = /usr/share/fedocal/alembic|' alembic.ini.sample
|
|
|
ef2f647 |
|
|
Mathieu Bridon |
bddf484 |
|
|
|
64c9a7b |
%build
|
|
|
64c9a7b |
%{__python} setup.py build
|
|
|
64c9a7b |
|
|
|
64c9a7b |
|
|
|
64c9a7b |
%install
|
|
|
64c9a7b |
rm -rf $RPM_BUILD_ROOT
|
|
|
64c9a7b |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
64c9a7b |
|
|
|
ef2f647 |
# Install apache configuration file
|
|
|
64c9a7b |
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d/
|
|
|
64c9a7b |
install -m 644 fedocal.conf $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d/fedocal.conf
|
|
|
64c9a7b |
|
|
|
ef2f647 |
# Install configuration file
|
|
|
64c9a7b |
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/fedocal
|
|
|
64c9a7b |
install -m 644 fedocal.cfg.sample $RPM_BUILD_ROOT/%{_sysconfdir}/fedocal/fedocal.cfg
|
|
|
3c41357 |
install -m 644 alembic.ini.sample $RPM_BUILD_ROOT/%{_sysconfdir}/fedocal/alembic.ini
|
|
|
64c9a7b |
|
|
|
ef2f647 |
# Install WSGI file
|
|
|
ef2f647 |
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/fedocal
|
|
|
ef2f647 |
cp -r alembic/ $RPM_BUILD_ROOT/%{_datadir}/fedocal/
|
|
|
ef2f647 |
install -m 644 fedocal.wsgi $RPM_BUILD_ROOT/%{_datadir}/fedocal/fedocal.wsgi
|
|
|
ef2f647 |
|
|
|
ef2f647 |
# Install the createdb script
|
|
|
ef2f647 |
install -m 644 createdb.py $RPM_BUILD_ROOT/%{_datadir}/fedocal/fedocal_createdb.py
|
|
|
ef2f647 |
|
|
|
ef2f647 |
|
|
|
64c9a7b |
%files
|
|
|
64c9a7b |
%doc README.rst LICENSE doc/
|
|
|
64c9a7b |
%config(noreplace) %{_sysconfdir}/httpd/conf.d/fedocal.conf
|
|
|
64c9a7b |
%config(noreplace) %{_sysconfdir}/fedocal/fedocal.cfg
|
|
|
3c41357 |
%config(noreplace) %{_sysconfdir}/fedocal/alembic.ini
|
|
|
64c9a7b |
%dir %{_sysconfdir}/fedocal/
|
|
|
ef2f647 |
%{_datadir}/fedocal/
|
|
|
64c9a7b |
%{python_sitelib}/fedocal/
|
|
|
64c9a7b |
%{python_sitelib}/fedocal*.egg-info
|
|
|
3c41357 |
%{_bindir}/fedocal_cron.py
|
|
|
64c9a7b |
|
|
|
64c9a7b |
|
|
|
64c9a7b |
%changelog
|
|
|
a30eb7c |
* Tue Jan 10 2017 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.15-1
|
|
|
a30eb7c |
- Update to 0.15
|
|
|
a30eb7c |
|
|
|
476fcd2 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-8
|
|
|
476fcd2 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
476fcd2 |
|
|
|
07a633f |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-7
|
|
|
07a633f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
07a633f |
|
|
|
db5d013 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-6
|
|
|
db5d013 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
db5d013 |
|
|
|
bbac941 |
* Sun Feb 22 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.5.1-5
|
|
|
bbac941 |
- Update requires to allow any dateutils from epoch 1
|
|
|
bbac941 |
|
|
|
53e2f01 |
* Wed Aug 06 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.5.1-4
|
|
|
53e2f01 |
- Requires dateutils =< 1.5 or > 2.0
|
|
|
53e2f01 |
|
|
|
62ed4ec |
* Wed Aug 06 2014 Jon Ciesla <limburgher@gmail.com> - 0.5.1-3
|
|
|
62ed4ec |
- Fix python-dateutil Requires.
|
|
|
62ed4ec |
|
|
|
bf08b29 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
|
|
|
bf08b29 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
bf08b29 |
|
|
|
7886958 |
* Tue Mar 04 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.5.1-1
|
|
|
7886958 |
- Update to 0.5.1
|
|
|
7886958 |
- Fix the link in the reminder email sent (does not hardcode the url anymore and
|
|
|
7886958 |
has the appropriate meeting id)
|
|
|
7886958 |
|
|
|
f973559 |
* Tue Mar 04 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.5.0-1
|
|
|
f973559 |
- Update to 0.5.0
|
|
|
f973559 |
- Rework the monthly calendar
|
|
|
f973559 |
- Add a list view to locations
|
|
|
f973559 |
- Fix visualization of full day meeting over multiple days
|
|
|
f973559 |
|
|
|
84eafc3 |
* Wed Feb 26 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.4.7-1
|
|
|
84eafc3 |
- Update to 0.4.7
|
|
|
84eafc3 |
- Add the 3 and 4 weeks recursion frequency
|
|
|
84eafc3 |
|
|
|
ef2f647 |
* Thu Feb 13 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.4.6-1
|
|
|
ef2f647 |
- Update to 0.4.6
|
|
|
ef2f647 |
- Bug fix release fixing bug in the propagation of the manager in recurrent
|
|
|
ef2f647 |
meetings
|
|
|
ef2f647 |
|
|
|
ef2f647 |
* Sat Feb 08 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.4.5-1
|
|
|
ef2f647 |
- Update to 0.4.5
|
|
|
ef2f647 |
- Bug fix release fixing bug in the reminder/fedmsg msg for recursive meetings
|
|
|
ef2f647 |
|
|
|
ef2f647 |
* Thu Jan 30 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.4.4-1
|
|
|
ef2f647 |
- Update to 0.4.4
|
|
|
ef2f647 |
- Bug fix release fixing bug when editing recursive meeting that have never
|
|
|
ef2f647 |
occured so far
|
|
|
ef2f647 |
|
|
|
ef2f647 |
* Thu Jan 30 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.4.3-1
|
|
|
ef2f647 |
- Update to 0.4.3
|
|
|
ef2f647 |
- Bug fix release fixing bug when deleting recursive meeting that have never
|
|
|
ef2f647 |
occured so far
|
|
|
ef2f647 |
|
|
|
ef2f647 |
* Thu Jan 30 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.4.2-1
|
|
|
ef2f647 |
- Update to 0.4.2
|
|
|
ef2f647 |
- Bug fix release fixing bug in the iCal output
|
|
|
ef2f647 |
|
|
|
ef2f647 |
* Thu Jan 30 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.4.1-1
|
|
|
ef2f647 |
- Update to 0.4.1
|
|
|
ef2f647 |
|
|
|
ef2f647 |
* Tue Jan 28 2014 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.4.0-1
|
|
|
ef2f647 |
- Update to 0.4.0
|
|
|
ef2f647 |
|
|
|
ef2f647 |
* Fri Nov 15 2013 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.3.1-1
|
|
|
ef2f647 |
- Update to 0.3.1
|
|
|
ef2f647 |
|
|
|
ef2f647 |
* Thu Nov 14 2013 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.3.0-1
|
|
|
ef2f647 |
- Update to 0.3.0
|
|
|
ef2f647 |
- Move the createdb script into %%{_datadir}/fedocal/
|
|
|
ef2f647 |
|
|
|
ef2f647 |
* Mon Oct 28 2013 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.2.9-1
|
|
|
ef2f647 |
- First pre-release before 0.3.0
|
|
|
ef2f647 |
|
|
|
ef2f647 |
* Fri Sep 27 2013 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.2.0-1
|
|
|
ef2f647 |
- Update to release 0.2.0
|
|
|
ef2f647 |
|
|
|
fdf1589 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-2
|
|
|
fdf1589 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
fdf1589 |
|
|
|
3a9f3f6 |
* Fri Mar 15 2013 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.2.-1
|
|
|
3a9f3f6 |
- Update to 0.1.2 which includes the alembic files
|
|
|
3a9f3f6 |
|
|
|
3c41357 |
* Fri Mar 15 2013 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.1.-1
|
|
|
3c41357 |
- Update to 0.1.1
|
|
|
3c41357 |
- Include the createdb.py script as %%doc
|
|
|
3c41357 |
- Add the alembic.ini into /etc/fedocal
|
|
|
3c41357 |
|
|
|
cb3e8b1 |
* Fri Mar 08 2013 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.0-3
|
|
|
cb3e8b1 |
- Fix import of flask-fas which fixes build on EL6
|
|
|
cb3e8b1 |
- Fix Requires and BuilRequires for EL6
|
|
|
cb3e8b1 |
|
|
|
64c9a7b |
* Tue Feb 26 2013 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.0-2
|
|
|
64c9a7b |
- Fix BR to python2-devel
|
|
|
64c9a7b |
- Be more specific on the %%{python_sitelib} inclusion in %%files
|
|
|
64c9a7b |
- Remove flask_fas for a BR and R on python-fedora-flask
|
|
|
64c9a7b |
|
|
|
64c9a7b |
* Fri Feb 15 2013 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.1.0-1
|
|
|
64c9a7b |
- Initial packaging work for Fedora
|
|
|
64c9a7b |
|