af02401
Name:           rednotebook
abb39a9
Version:        1.11
45720f6
Release:        1%{?dist}
a8753ee
Summary:        Daily journal with calendar, templates and keyword searching
af02401
af02401
License:        GPLv2+
d0e6553
URL:            http://rednotebook.sourceforge.net
af02401
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
af02401
BuildArch:      noarch
af02401
8319c60
BuildRequires:  python-devel
26496e8
BuildRequires:  python-setuptools
af02401
BuildRequires:  desktop-file-utils
af02401
af02401
Requires:       PyYAML
af02401
Requires:       pygtk2
0e55ab5
Requires:       pywebkitgtk
d9fef2d
Requires:       python-chardet
af02401
Requires:       gnome-python2-extras
f31c1ec
Requires:       hicolor-icon-theme
af02401
af02401
%description
68981d4
RedNotebook is a modern desktop journal. It lets you format, tag and
68981d4
search your entries. You can also add pictures, links and customizable
68981d4
templates, spell check your notes, and export to plain text, HTML,
68981d4
Latex or PDF.
af02401
af02401
%prep
af02401
%setup -q
d4d99ef
af02401
%build
68a9506
%{__python} setup.py build
af02401
af02401
%install
68a9506
%{__python} setup.py install --skip-build --root %{buildroot}
0e55ab5
desktop-file-install                                    \
0e55ab5
    --add-category="Calendar"                           \
0e55ab5
    --delete-original                                   \
0e55ab5
    --dir=%{buildroot}%{_datadir}/applications          \
0e55ab5
    %{buildroot}/%{_datadir}/applications/%{name}.desktop
af02401
f3bb32a
# 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
35ff4d3
%post
35ff4d3
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
35ff4d3
35ff4d3
%postun
35ff4d3
if [ $1 -eq 0 ] ; then
35ff4d3
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
35ff4d3
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
35ff4d3
fi
35ff4d3
35ff4d3
%posttrans
35ff4d3
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
35ff4d3
f3bb32a
%files -f %{name}.lang
abb39a9
%doc AUTHORS CHANGELOG LICENSE README.md
af02401
%{_bindir}/%{name}
af02401
%{_datadir}/applications/%{name}.desktop
c484cc5
%{_datadir}/icons/hicolor/scalable/apps/rednotebook.svg
f3bb32a
# be careful to not list locales twice
f3bb32a
%dir %{python_sitelib}/%{name}/
68a9506
%{python_sitelib}/%{name}/*.py*
68a9506
%{python_sitelib}/%{name}/external/
68a9506
%{python_sitelib}/%{name}/files/
68a9506
%{python_sitelib}/%{name}/gui/
68a9506
%{python_sitelib}/%{name}/images/
68a9506
%{python_sitelib}/%{name}/util/
68a9506
%{python_sitelib}/%{name}*.egg-info
af02401
af02401
%changelog
68981d4
* Sat Jan 09 2016 Mike DePaulo <mikedep333@fedoraproject.org> - 1.11-1
abb39a9
- Update to new upstream version 1.11
a8753ee
- Update Summary to that of 0.7.0+
68981d4
- Update Description to latest
abb39a9
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