af02401
Name:           rednotebook
ebfb1e7
Version:        2.17
b0236f6
Release:        1%{?dist}
c63cc72
Summary:        Daily journal with calendar, templates and keyword searching
af02401
af02401
License:        GPLv2+
d0e6553
URL:            http://rednotebook.sourceforge.net
ebfb1e7
Source0:        https://github.com/jendrikseipp/rednotebook/archive/v%{version}/%{name}-%{version}.tar.gz
af02401
BuildArch:      noarch
af02401
Fabian Affolter 815acb4
BuildRequires:  python3-devel
af02401
BuildRequires:  desktop-file-utils
af02401
Fabian Affolter e565dcf
Requires:       python3-PyYAML
Fabian Affolter 815acb4
Requires:       webkitgtk4
Fabian Affolter 815acb4
Requires:       python3-chardet
Fabian Affolter 815acb4
Requires:       python3-enchant
f31c1ec
Requires:       hicolor-icon-theme
fbed5ae
Requires:       gtksourceview3
af02401
af02401
%description
95a79f3
RedNotebook is a modern desktop journal. It lets you format, tag and
95a79f3
search your entries. You can also add pictures, links and customizable
95a79f3
templates, spell check your notes, and export to plain text, HTML,
95a79f3
Latex or PDF.
af02401
af02401
%prep
Fabian Affolter 815acb4
%autosetup
d4d99ef
af02401
%build
Fabian Affolter 815acb4
%py3_build
af02401
af02401
%install
Fabian Affolter 815acb4
%py3_install
0e55ab5
desktop-file-install                                    \
0e55ab5
    --add-category="Calendar"                           \
0e55ab5
    --delete-original                                   \
0e55ab5
    --dir=%{buildroot}%{_datadir}/applications          \
0e55ab5
    %{buildroot}/%{_datadir}/applications/%{name}.desktop
Fabian Affolter e565dcf
mkdir -p %{buildroot}/%{_datadir}/appdata/
Fabian Affolter e565dcf
mv %{buildroot}/%{_datadir}/metainfo/%{name}.appdata.xml %{buildroot}/%{_datadir}/appdata/
ebfb1e7
# Heavily borrowed from /usr/lib/rpm/find-lang.sh
c484cc5
#find %{buildroot} -type f -o -type l|sort|sed '
c484cc5
#s:'"%{buildroot}"'::
c484cc5
#s:\(.*/i18n/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3:
c484cc5
#s:^\([^%].*\)::
c484cc5
#/^$/d' > %{name}.lang
c484cc5
%find_lang %{name}
f3bb32a
f3bb32a
%files -f %{name}.lang
7cc2888
%doc README.md
5e4ae1e
%license LICENSE
af02401
%{_bindir}/%{name}
af02401
%{_datadir}/applications/%{name}.desktop
Fabian Affolter e565dcf
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
Fabian Affolter e565dcf
%{_datadir}/appdata/%{name}.appdata.xml
ebfb1e7
# Be careful to not list locales twice
Fabian Affolter 815acb4
%dir %{python3_sitelib}/%{name}/
Fabian Affolter 815acb4
%{python3_sitelib}/%{name}/*.py*
Fabian Affolter 815acb4
%{python3_sitelib}/%{name}/external/
Fabian Affolter 815acb4
%{python3_sitelib}/%{name}/files/
Fabian Affolter 815acb4
%{python3_sitelib}/%{name}/gui/
Fabian Affolter 815acb4
%{python3_sitelib}/%{name}/images/
Fabian Affolter 815acb4
%{python3_sitelib}/%{name}/util/
Fabian Affolter 815acb4
%{python3_sitelib}/%{name}*.egg-info
Fabian Affolter e565dcf
%{python3_sitelib}/%{name}/__pycache__
af02401
af02401
%changelog
ebfb1e7
* Thu Mar 19 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.17-1
ebfb1e7
- Update to latest upstream release 2.17
ebfb1e7
b0236f6
* Thu Jan 30 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.16-1
b0236f6
- Update to latest upstream release 2.16
b0236f6
fbed5ae
* Sat Jan 18 2020 Fabian Affolter <mail@fabian-affolter.ch> - 2.15-2
fbed5ae
- Update requirements (rhbz#1768788)
fbed5ae
7cc2888
* Thu Dec 12 2019 Fabian Affolter <mail@fabian-affolter.ch> - 2.15-1
7cc2888
- Update to latest upstream release 2.15
7cc2888
96ec9ec
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.11.1-4
96ec9ec
- Rebuilt for Python 3.8.0rc1 (#1748018)
96ec9ec
49fe065
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.11.1-3
49fe065
- Rebuilt for Python 3.8
49fe065
f352882
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-2
f352882
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f352882
27dfb68
* Fri May 10 2019 Fabian Affolter <mail@fabian-affolter.ch> - 2.11.1-1
27dfb68
- Update to latest upstream release 2.11.1
27dfb68
a412a3b
* Mon Mar 18 2019 Fabian Affolter <mail@fabian-affolter.ch> - 2.9-1
a412a3b
- Update to latest upstream release 2.9
a412a3b
3179924
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
3179924
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3179924
99b19fe
* Tue Jan 22 2019 Fabian Affolter <mail@fabian-affolter.ch> - 2.8-1
99b19fe
- Update to latest upstream release 2.8
99b19fe
f767584
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
f767584
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f767584
Fabian Affolter 9620090
* Fri Jul 06 2018 Fabian Affolter <mail@fabian-affolter.ch> - 2.5-1
Fabian Affolter 9620090
- Update to latest upstream release 2.5
Fabian Affolter 9620090
d06d77b
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.4-2
d06d77b
- Rebuilt for Python 3.7
d06d77b
Fabian Affolter 0456e06
* Sat Mar 17 2018 Fabian Affolter <mail@fabian-affolter.ch> - 2.4-1
Fabian Affolter 0456e06
- Update to latest upstream release 2.4
Fabian Affolter 0456e06
01e5f6d
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-2
01e5f6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
01e5f6d
Fabian Affolter 815acb4
* Fri Oct 13 2017 Fabian Affolter <mail@fabian-affolter.ch> - 2.3-1
Fabian Affolter 815acb4
- Update to latest upstream release 2.3
Fabian Affolter 815acb4
- Fix requirements (rhbz#1498766, rhbz#1501182)
Fabian Affolter 0456e06
- Move to Python 3 (rhbz#1375797, rhbz#1482931)
Fabian Affolter 815acb4
677448a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-4
677448a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
677448a
58931fb
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-3
58931fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
58931fb
5e4ae1e
* Tue Jan 17 2017 Fabian Affolter <mail@fabian-affolter.ch> - 1.14-2
5e4ae1e
- Update docs
5e4ae1e
28671b2
* Tue Jan 17 2017 Fabian Affolter <mail@fabian-affolter.ch> - 1.14-1
28671b2
- Update to new upstream version 1.14 (rhbz#1403474)
28671b2
8b94ee7
* Tue Aug 30 2016 Fabian Affolter <mail@fabian-affolter.ch> - 1.13-1
698cefb
- Update to new upstream version 1.13
698cefb
d04697d
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
d04697d
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
d04697d
Fabian Affolter 5d66696
* Sat Apr 16 2016 Fabian Affolter <mail@fabian-affolter.ch> - 1.12-1
Fabian Affolter 5d66696
- Update to new upstream version 1.12
Fabian Affolter 5d66696
a8aa1d9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-2
a8aa1d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a8aa1d9
95a79f3
* Sat Jan 09 2016 Mike DePaulo <mikedep333@fedoraproject.org> - 1.11-1
155c354
- Update to new upstream version 1.11
c63cc72
- Update Summary to that of 0.7.0+
95a79f3
- Update Description to latest
155c354
df74a32
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.0-2
df74a32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
df74a32
Fabian Affolter 8337f81
* Tue Mar 17 2015 Fabian Affolter <mail@fabian-affolter.ch> - 1.9.0-1
Fabian Affolter 8337f81
- Update to new upstream version 1.9.0
Fabian Affolter 8337f81
a30b224
* Fri Oct 17 2014 Christoph Wickert <cwickert@fedoraproject.org> - 1.8.1-1
a30b224
- Update to 1.8.1
a30b224
7d740d4
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-2
7d740d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7d740d4
c5f1e39
* Mon Jan 06 2014 Fabian Affolter <mail@fabian-affolter.ch> - 1.8.0-1
c5f1e39
- Update to new upstream version 1.8.0
c5f1e39
85ecbf9
* Sat Nov 16 2013 Fabian Affolter <mail@fabian-affolter.ch> - 1.7.3-1
c5f1e39
- Update to new upstream version 1.7.3
85ecbf9
fa5e275
* Wed Jul 31 2013 Fabian Affolter <mail@fabian-affolter.ch> - 1.7.2-1
c5f1e39
- Update to new upstream version 1.7.2
fa5e275
791a273
* Sat Jun 08 2013 Fabian Affolter <mail@fabian-affolter.ch> - 1.7.1-1
c5f1e39
- Update to new upstream version 1.7.1
791a273
d43bca9
* Fri Mar 01 2013 Fabian Affolter <mail@fabian-affolter.ch> - 1.7.0-1
c5f1e39
- Update to new upstream version 1.7.0
d43bca9
f174576
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.6-2
f174576
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f174576
904c966
* Wed Jan 23 2013 Fabian Affolter <mail@fabian-affolter.ch> - 1.6.6-1
c5f1e39
- Update to new upstream version 1.6.6
904c966
fa5e275
* Sun Jan 06 2013 Fabian Affolter <mail@fabian-affolter.ch> - 1.6.5-1
c5f1e39
- Update to new upstream version 1.6.5
df2ea86
df2ea86
* Tue Dec 25 2012 Fabian Affolter <mail@fabian-affolter.ch> - 1.6.4-1
c5f1e39
- Update to new upstream version 1.6.4
df2ea86
d398b5c
* Sat Dec 08 2012 Fabian Affolter <mail@fabian-affolter.ch> - 1.6.3-1
c5f1e39
- Update to new upstream version 1.6.3
7a1fde4
fa5e275
* Mon Nov 19 2012 Fabian Affolter <mail@fabian-affolter.ch> - 1.6.2-1
c5f1e39
- Update to new upstream version 1.6.2
c143758
cb1fbd8
* Thu Nov 15 2012 Fabian Affolter <mail@fabian-affolter.ch> - 1.6.1-1
c5f1e39
- Update to new upstream version 1.6.1
cb1fbd8
de7097c
* Thu Nov 01 2012 Fabian Affolter <mail@fabian-affolter.ch> - 1.6.0-1
c5f1e39
- Update to new upstream version 1.6.0
de7097c
fa5e275
* Tue Aug 28 2012 Fabian Affolter <mail@fabian-affolter.ch> - 1.5.0-2
c5f1e39
- Fix Requires
bdab23f
21f1e5a
* Mon Aug 13 2012 Fabian Affolter <mail@fabian-affolter.ch> - 1.5.0-1
c5f1e39
- Update to new upstream version 1.5.0
21f1e5a
0359b15
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
0359b15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0359b15
9bf89f6
* Fri Apr 13 2012 Fabian Affolter <mail@fabian-affolter.ch> - 1.4.0-1
c5f1e39
- Update to new upstream version 1.4.0
9bf89f6
45720f6
* Fri Feb 10 2012 Fabian Affolter <mail@fabian-affolter.ch> - 1.3.0-1
c5f1e39
- Update to new upstream version 1.3.0
45720f6
166dc28
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
166dc28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
166dc28
fa5e275
* Tue Nov 08 2011 Fabian Affolter <mail@fabian-affolter.ch> - 1.2.0-2
63fa315
- Spec file synced with master branch
63fa315
f3cdcae
* Thu Oct 06 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.2.0-1
f3cdcae
- Update to 1.2.0
f3cdcae
f3cdcae
* Tue Aug 09 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.8-1
c5f1e39
- Update to new upstream version 1.1.8
f3bb32a
- List locales correctly tagged as %%lang
f3bb32a
f3cdcae
* Fri Jul 15 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.7-1
c5f1e39
- Update to new upstream version 1.1.7
0bb9fb5
0bb9fb5
* Mon May 16 2011 Fabian Affolter <mail@fabian-affolter.ch> - 1.1.5-1
c5f1e39
- Update to new upstream version 1.1.5
Fabian Affolter 97b5ed4
0e50d9f
* Sun Mar 27 2011 Christoph Wickert <cwickert@fedoraproject.org> - 1.1.4-1
0e50d9f
- Update to 1.1.4
0e50d9f
0bb9fb5
* Sun Mar 06 2011 Fabian Affolter <mail@fabian-affolter.ch> - 1.1.3-1
c5f1e39
- Update to new upstream version 1.1.3
Fabian Affolter 6e75f5b
14f12a0
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
14f12a0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
14f12a0
0bb9fb5
* Mon Dec 27 2010 Fabian Affolter <mail@fabian-affolter.ch> - 1.1.2-1
c5f1e39
- Update to new upstream version 1.1.2
77c8777
0bb9fb5
* Sun Aug 29 2010 Fabian Affolter <mail@fabian-affolter.ch> - 1.1.1-1
c5f1e39
- Update to new upstream version 1.1.1
9401cda
0bb9fb5
* Sat Aug 14 2010 Fabian Affolter <mail@fabian-affolter.ch> - 1.1.0-1
c5f1e39
- Update to new upstream version 1.1.0
Fabian Affolter 8a181ce
9dfb4ab
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.0.0-2
9dfb4ab
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
9dfb4ab
0bb9fb5
* Sat Jun 26 2010 Fabian Affolter <mail@fabian-affolter.ch> - 1.0.0-1
c5f1e39
- Update to new upstream version 1.0.0
27a4d61
d9fef2d
* Tue May 11 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.9.5-2
d9fef2d
- Require python-chardet
d9fef2d
8d4b7c5
* Tue May 11 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.9.5-1
8d4b7c5
- Update to 0.9.5
8d4b7c5
50b7c6b
* Wed Feb 24 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.9.3-1
50b7c6b
- Update to 0.9.3
50b7c6b
0e55ab5
* Mon Feb 01 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.9.2-1
0e55ab5
- Update to 0.9.2
0e55ab5
0e55ab5
* Sun Jan 10 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.9.1-1
0e55ab5
- Update to 0.9.1
0e55ab5
- Require pywebkitgtk for new print preview
0e55ab5
- Use desktop-file-install
0e55ab5
a3a1752
* Fri Dec 18 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.9.0-1
a3a1752
- Update to 0.9.0
a3a1752
0bb9fb5
* Thu Nov 19 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.9-2
c5f1e39
- Update the URL after a request from the upstream maintainer
d0e6553
0bb9fb5
* Wed Nov 18 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.9-1
c5f1e39
- Update to new upstream version 0.8.9
ce6262d
0bb9fb5
* Mon Nov 16 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.8-1
c5f1e39
- Update to new upstream version 0.8.8
05ac7e2
0bb9fb5
* Tue Sep 29 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.7-1
c5f1e39
- Update to new upstream version 0.8.7
de6fed0
c0ddcc5
* Thu Sep 17 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.6.1-1
c0ddcc5
- Update to 0.8.6.1, fixes #523880
c0ddcc5
d59e653
* Thu Sep 17 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.6-2
d59e653
- Fix libglade error with GTK 2.16.6 (#523880)
d59e653
d6e9142
* Fri Sep 04 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.6-1
d6e9142
- Updated to new upstream version 0.8.6
d6e9142
91b7d2d
* Fri Aug 14 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.5-1
c5f1e39
- Update to new upstream version 0.8.5 (fixes #518778)
91b7d2d
8a1e021
* Fri Aug 14 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.4-1
c5f1e39
- Update to new upstream version 0.8.4
8a1e021
3375a07
* Fri Aug 07 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.3-1
3375a07
- Updated to new upstream version 0.8.3
3375a07
d76433a
* Wed Jul 29 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.2-1
c5f1e39
- Update to new upstream version 0.8.2
d76433a
b245cc3
* Sat Jul 25 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.8.1-1
c5f1e39
- Update to new upstream version 0.8.1
b245cc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b245cc3
0bb9fb5
* Wed Jul 22 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.8.0-1
c5f1e39
- Update BR python
35ff4d3
- Icon cache update added
c5f1e39
- Update to new upstream version 0.8.0
35ff4d3
0bb9fb5
* Wed Jul 15 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.6-1
c5f1e39
- Update to new upstream version 0.7.6
4ae44e6
0bb9fb5
* Mon Jul 06 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.5-1
c5f1e39
- Remove the shebang stuff, upstream changed this
c5f1e39
- Update to new upstream version 0.7.5
97d1c8d
0bb9fb5
* Mon Jun 29 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.4-1
c5f1e39
- Move the removing of the shebang to prep section
c5f1e39
- Update to new upstream version 0.7.4
c86e43e
fa5e275
* Tue May 26 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.2-1
c5f1e39
- Update to new upstream version 0.7.2
b054464
0bb9fb5
* Wed May 06 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.1-1
c5f1e39
- Update to new upstream version 0.7.1
35cdcf7
0bb9fb5
* Wed May 06 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.9-1
c5f1e39
- Update to new upstream version 0.6.9
ef07dc1
0bb9fb5
* Sun May 03 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.8-1
c5f1e39
- Update to new upstream version 0.6.8
ab46037
8356fea
* Tue Apr 21 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.7-1
c5f1e39
- Update to new upstream version 0.6.7
8356fea
7411eb9
* Tue Apr 07 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.6-1
c5f1e39
- Update to new upstream version 0.6.6
7411eb9
b320a86
* Fri Apr 03 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.6.5-1
c5f1e39
- Update to new upstream version 0.6.5
b320a86
0bb9fb5
* Wed Mar 18 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.2-1
c5f1e39
- Add hicolor-icon-theme as a requirement
c5f1e39
- Add icons directory
c5f1e39
- Update to new upstream version 0.6.2
f31c1ec
0bb9fb5
* Sat Mar 07 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.6.1-1
c5f1e39
- Update to new upstream version 0.6.1
c5f1e39
- Rename docs, add License file
af02401
0bb9fb5
* Thu Feb 12 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.5-1
c5f1e39
- Update to new upstream version 0.5.5
af02401
0bb9fb5
* Sat Jan 24 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.2-1
c5f1e39
- Update to new upstream version 0.5.2
af02401
0bb9fb5
* Sat Jan 24 2009 Fabian Affolter <mail@fabian-affolter.ch> - 0.5.1-1
af02401
- Initial package for Fedora