Name: rednotebook Version: 1.6.0 Release: 1%{?dist} Summary: A desktop diary Group: Applications/Productivity License: GPLv2+ URL: http://rednotebook.sourceforge.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools-devel BuildRequires: desktop-file-utils Requires: PyYAML Requires: pygtk2 Requires: pywebkitgtk Requires: python-chardet Requires: gnome-python2-extras Requires: hicolor-icon-theme %description RedNotebook is a desktop diary that makes it very easy for you to keep track of the stuff you do and the thoughts you have. This journal software helps you to write whole passages or just facts, and does so in style. %prep %setup -q %build %{__python} setup.py build %install rm -rf %{buildroot} %{__python} setup.py install --skip-build --root %{buildroot} desktop-file-install \ --add-category="Calendar" \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/%{name}.desktop # heavily borrowed from /usr/lib/rpm/find-lang.sh #find %{buildroot} -type f -o -type l|sort|sed ' #s:'"%{buildroot}"':: #s:\(.*/i18n/\)\([^/_]\+\)\(.*\.mo$\):%lang(\2) \1\2\3: #s:^\([^%].*\):: #/^$/d' > %{name}.lang %find_lang %{name} %clean rm -rf %{buildroot} %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS CHANGELOG LICENSE README %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %{_datadir}/icons/hicolor/*x*/apps/%{name}.png %{_datadir}/icons/hicolor/scalable/apps/rednotebook.svg # be careful to not list locales twice %dir %{python_sitelib}/%{name}/ %{python_sitelib}/%{name}/*.py* %{python_sitelib}/%{name}/external/ %{python_sitelib}/%{name}/files/ %{python_sitelib}/%{name}/gui/ %{python_sitelib}/%{name}/images/ %{python_sitelib}/%{name}/util/ %{python_sitelib}/%{name}*.egg-info %changelog * Thu Nov 01 2012 Fabian Affolter - 1.6.0-1 - Updated to new upstream version 1.6.0 * Mon Aug 28 2012 Fabian Affolter - 1.5.0-2 - Requires fixed * Mon Aug 13 2012 Fabian Affolter - 1.5.0-1 - Updated to new upstream version 1.5.0 * Sat Jul 21 2012 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Apr 13 2012 Fabian Affolter - 1.4.0-1 - Updated to new upstream version 1.4.0 * Fri Feb 10 2012 Fabian Affolter - 1.3.0-1 - Updated to new upstream version 1.3.0 * Sat Jan 14 2012 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Thu Oct 06 2011 Christoph Wickert - 1.2.0-1 - Update to 1.2.0 * Tue Aug 09 2011 Christoph Wickert - 1.1.8-1 - Updated to new upstream version 1.1.8 - List locales correctly tagged as %%lang * Fri Jul 15 2011 Christoph Wickert - 1.1.7-1 - Updated to new upstream version 1.1.7 * Mon May 16 2011 Fabian Affolter - 1.1.5-1 - Updated to new upstream version 1.1.5 * Sun Mar 27 2011 Christoph Wickert - 1.1.4-1 - Update to 1.1.4 * Sun Mar 06 2011 Fabian Affolter - 1.1.3-1 - Updated to new upstream version 1.1.3 * Wed Feb 09 2011 Fedora Release Engineering - 1.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 27 2010 Fabian Affolter - 1.1.2-1 - Updated to new upstream version 1.1.2 * Sun Aug 29 2010 Fabian Affolter - 1.1.1-1 - Updated to new upstream version 1.1.1 * Sat Aug 14 2010 Fabian Affolter - 1.1.0-1 - Updated to new upstream version 1.1.0 * Thu Jul 22 2010 David Malcolm - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Sat Jun 26 2010 Fabian Affolter - 1.0.0-1 - Updated to new upstream version 1.0.0 * Tue May 11 2010 Christoph Wickert - 0.9.5-2 - Require python-chardet * Tue May 11 2010 Christoph Wickert - 0.9.5-1 - Update to 0.9.5 * Wed Feb 24 2010 Christoph Wickert - 0.9.3-1 - Update to 0.9.3 * Mon Feb 01 2010 Christoph Wickert - 0.9.2-1 - Update to 0.9.2 * Sun Jan 10 2010 Christoph Wickert - 0.9.1-1 - Update to 0.9.1 - Require pywebkitgtk for new print preview - Use desktop-file-install * Fri Dec 18 2009 Christoph Wickert - 0.9.0-1 - Update to 0.9.0 * Thu Nov 19 2009 Fabian Affolter - 0.8.9-2 - Updated the URL after a request from the upstream maintainer * Wed Nov 18 2009 Fabian Affolter - 0.8.9-1 - Updated to new upstream version 0.8.9 * Mon Nov 16 2009 Fabian Affolter - 0.8.8-1 - Updated to new upstream version 0.8.8 * Tue Sep 29 2009 Fabian Affolter - 0.8.7-1 - Updated to new upstream version 0.8.7 * Thu Sep 17 2009 Christoph Wickert - 0.8.6.1-1 - Update to 0.8.6.1, fixes #523880 * Thu Sep 17 2009 Christoph Wickert - 0.8.6-2 - Fix libglade error with GTK 2.16.6 (#523880) * Fri Sep 04 2009 Christoph Wickert - 0.8.6-1 - Updated to new upstream version 0.8.6 * Fri Aug 14 2009 Christoph Wickert - 0.8.5-1 - Updated to new upstream version 0.8.5 (fixes #518778) * Fri Aug 14 2009 Christoph Wickert - 0.8.4-1 - Updated to new upstream version 0.8.4 * Fri Aug 07 2009 Christoph Wickert - 0.8.3-1 - Updated to new upstream version 0.8.3 * Wed Jul 29 2009 Christoph Wickert - 0.8.2-1 - Updated to new upstream version 0.8.2 * Sat Jul 25 2009 Christoph Wickert - 0.8.1-1 - Updated to new upstream version 0.8.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Jul 22 2009 Fabian Affolter - 0.8.0-1 - Updated BR python - Icon cache update added - Updated to new upstream version 0.8.0 * Wed Jul 15 2009 Fabian Affolter - 0.7.6-1 - Updated to new upstream version 0.7.6 * Mon Jul 06 2009 Fabian Affolter - 0.7.5-1 - Removed the shebang stuff, upstream changed this - Updated to new upstream version 0.7.5 * Mon Jun 29 2009 Fabian Affolter - 0.7.4-1 - Moved the removing of the shebang to prep section - Updated to new upstream version 0.7.4 * Thu May 26 2009 Fabian Affolter - 0.7.2-1 - Updated to new upstream version 0.7.2 * Wed May 06 2009 Fabian Affolter - 0.7.1-1 - Updated to new upstream version 0.7.1 * Wed May 06 2009 Fabian Affolter - 0.6.9-1 - Updated to new upstream version 0.6.9 * Sun May 03 2009 Fabian Affolter - 0.6.8-1 - Updated to new upstream version 0.6.8 * Tue Apr 21 2009 Christoph Wickert - 0.6.7-1 - Updated to new upstream version 0.6.7 * Tue Apr 07 2009 Christoph Wickert - 0.6.6-1 - Updated to new upstream version 0.6.6 * Fri Apr 03 2009 Christoph Wickert - 0.6.5-1 - Updated to new upstream version 0.6.5 * Wed Mar 18 2009 Fabian Affolter - 0.6.2-1 - Added hicolor-icon-theme as a requirement - Added icons directory - Updated to new upstream version 0.6.2 * Sat Mar 07 2009 Fabian Affolter - 0.6.1-1 - Updated to new upstream version 0.6.1 - Renamed docs, added License file * Thu Feb 12 2009 Fabian Affolter - 0.5.5-1 - Updated to new upstream version 0.5.5 * Sat Jan 24 2009 Fabian Affolter - 0.5.2-1 - Updated to new upstream version 0.5.2 * Sat Jan 24 2009 Fabian Affolter - 0.5.1-1 - Initial package for Fedora