Name: Zim Version: 0.69.1 Release: 1%{?dist} Summary: Desktop wiki & notekeeper Group: Applications/Editors # The entire source code is GPLv2+ except ./zim/inc/xdot.py which is LGPLv3+ License: GPLv2+ and LGPLv3+ URL: http://zim-wiki.org/ Source0: http://www.zim-wiki.org/downloads/zim-%{version}.tar.gz BuildArch: noarch BuildRequires: desktop-file-utils BuildRequires: python2-devel >= 2.6 BuildRequires: pygobject2 Requires: pygtk2, python2-pyxdg %if 0%{?rhel} && 0%{?rhel} <= 7 || 0%{?fedora} && 0%{?fedora} <= 28 Requires: python-appindicator %else Requires: python2-appindicator %endif %description Zim is a WYSIWYG text editor written in PyGTK which aims to bring the concept of a wiki to your desktop. Every page is saved as a text file with wiki markup. Pages can contain links to other pages, and are saved automatically. Creating a new page is as easy as linking to a non-existing page. Pages are ordered in a hierarchical structure that gives it the look and feel of an outliner. This tool is intended to keep track of TODO lists or to serve as a personal scratch book. %prep %setup -q -n zim-%{version} %build python2 ./setup.py build %install rm -rf %{buildroot} python2 ./setup.py install --root=%{buildroot} --skip-xdg-cmd --skip-build # remove shebangs in some module files sed -i -e '/^#!\//, 1d' %{buildroot}%{python2_sitelib}/zim/inc/xdot.py %find_lang zim desktop-file-validate %{buildroot}%{_datadir}/applications/zim.desktop %if 0%{?rhel} && 0%{?rhel} <= 7 %post update-desktop-database &> /dev/null || : touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : touch --no-create %{_datadir}/mime/packages &> /dev/null || : %postun update-desktop-database &> /dev/null || : if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : touch --no-create %{_datadir}/mime/packages &> /dev/null || : update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %endif %files -f zim.lang %doc LICENSE.txt CHANGELOG.txt README.txt contrib/ %{_mandir}/man[13]/*.[13]* %{_bindir}/* %{_datadir}/zim/ %{_datadir}/pixmaps/* %{_datadir}/applications/* %{_datadir}/mime/packages/zim.xml %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/hicolor/*/mimetypes/* # No package in Fedora provides such directories %{_datadir}/icons/ubuntu-mono-*/ %{python2_sitelib}/zim-*.egg-info %{python2_sitelib}/zim/ %{_datadir}/metainfo/* %changelog * Tue Feb 19 2019 Robin Lee - 0.69.1-1 - Update to 0.69.1 * Mon Dec 17 2018 Robin Lee - 0.69-1 - Update to 0.69 - Fix Requires on Fedora <= 28 * Mon Oct 22 2018 Robin Lee - 0.68-4 - Fix for epel7 * Thu Jul 19 2018 Robin Lee - 0.68-3 - Use python2_sitelib macro (BZ#1603334) * Thu Jul 12 2018 Fedora Release Engineering - 0.68-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Apr 26 2018 Iryna Shcherbina - 0.68-2 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Mon Apr 2 2018 Robin Lee - 0.68-1 - Update to 0.68 * Wed Feb 07 2018 Fedora Release Engineering - 0.67-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Jan 30 2018 Igor Gnatenko - 0.67-3 - Remove obsolete scriptlets * Wed Jul 26 2017 Fedora Release Engineering - 0.67-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jul 11 2017 Robin Lee - 0.67-1 - Update to 0.67 * Wed Jun 14 2017 Robin Lee - 0.67-0.rc2.1 - Update to 0.67-rc2 * Wed Jun 07 2017 Oliver Haessler - 0.66-2 - added patch for "Fix for logger missing in newfs" to allow build of 0.66 on Fedora/RHEL (will be fixed in 0.67) * Tue Jun 06 2017 Oliver Haessler - 0.66-1 - Update to 0.66 * Fri Feb 10 2017 Fedora Release Engineering - 0.65-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jul 19 2016 Fedora Release Engineering - 0.65-3 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Wed Feb 03 2016 Fedora Release Engineering - 0.65-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Nov 2 2015 Robin Lee - 0.65-1 - Update to 0.65 * Wed Oct 28 2015 Robin Lee - 0.64-1 - Update to 0.64 (BZ#1275861) * Tue Jun 16 2015 Fedora Release Engineering - 0.63-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Jun 15 2015 Robin Lee - 0.63-1 - Update to 0.63 - Requires python-appindicator to fix trayicon on Plasma 5 - Drop applied 755_754.diff * Sun Nov 16 2014 Robin Lee - 0.62-2 - Backport upstream bzr755 to fix mis-matched gtk and pygtk in Fedora/RHEL * Fri Oct 3 2014 Robin Lee - 0.62-1 - Update to 0.62 * Thu Oct 02 2014 Rex Dieter 0.61-2 - update mime scriptlets * Sat Aug 2 2014 Robin Lee - 0.61-1 - Update to 0.61 * Fri Jun 06 2014 Fedora Release Engineering - 0.60-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.60-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed May 1 2013 Robin Lee - 0.60-1 - Update to 0.60 * Thu Jan 24 2013 Robin Lee - 0.59-1 - Update to 0.59 (#903621, #841803, #857820, #858250, #871030, #875776) * Mon Dec 17 2012 Robin Lee - 0.58-1 - Update to 0.58 * Mon Nov 19 2012 Robin Lee - 0.57-2 - Backport fix for #865078, #865079 * Tue Oct 9 2012 Robin Lee - 0.57-1 - Update to 0.57 (#807149, #826886) * Wed Jul 18 2012 Fedora Release Engineering - 0.56-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sun May 27 2012 Robin Lee - 0.56-3 - bug #802750 * Thu May 24 2012 Robin Lee - 0.56-2 - BZ#822454 * Wed Apr 4 2012 Robin Lee - 0.56-1 - Update to 0.56 * Wed Feb 29 2012 Robin Lee - 0.55-1 - Update to 0.55 * Thu Jan 12 2012 Fedora Release Engineering - 0.54-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Dec 23 2011 Robin Lee - 0.54-2 - Just use %%{_datadir} * Fri Dec 23 2011 Robin Lee - 0.54-1 - Update to 0.54 (#740211) * Tue Sep 20 2011 Robin Lee - 0.53-1 - Update to 0.53 (#702811, #708471, #719889, #720434, #727804) * Fri Apr 29 2011 Robin Lee - 0.52-1 - Update to 0.52 (#700001) * Wed Apr 20 2011 Robin Lee - 0.51-1 - Update to 0.51 (#683469) * Sun Mar 6 2011 Robin Lee - 0.50-2 - Fix quicknote problem (#680057) * Wed Feb 16 2011 Robin Lee - 0.50-1 - 0.50 (#654373, #657928) - Remove redundant python sitelib definition * Mon Feb 07 2011 Fedora Release Engineering - 0.49-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Nov 3 2010 Robin Lee - 0.49-1 - Update to 0.49 - Check desktop entry file in %%check section * Mon Aug 30 2010 Robin Lee - 0.48-2 - Move building command to %%build section * Sat Aug 28 2010 Robin Lee - 0.48-1 - update to 0.48 - include more icons * Sat Jul 31 2010 Thomas Spura - 0.47-2 - Rebuild for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Mon Jun 14 2010 Robin Lee - 0.47-1 - update to 0.47, upstream reimplementation with PyGTK - remove vendor from the desktop entry file name - License changed to 'GPLv2+ and LGPLv3+' - remove BuildRoot tag - clean some whitespaces * Wed Jun 02 2010 Marcela Maslanova - 0.29-2 - Mass rebuild with perl-5.12.0 * Tue Feb 09 2010 Chris Weyl - update to 0.29 - add perl_default_filter * Fri Dec 4 2009 Stepan Kasal - 0.28-3 - rebuild against perl 5.10.1 * Fri Jul 24 2009 Fedora Release Engineering - 0.28-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Mar 16 2009 Chris Weyl 0.28-1 - update to 0.28 * Mon Feb 23 2009 Fedora Release Engineering - 0.27-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Nov 21 2008 Chris Weyl 0.27-1 - update to 0.27 * Thu Sep 25 2008 Chris Weyl 0.26-1 - update to 0.26 * Tue Aug 05 2008 Chris Weyl 0.25-2 - drop tests entirely for the moment. * Sun Aug 03 2008 Chris Weyl 0.25-1 - update to 0.25 - note we nuke t/71_gui_daemon.t -- it fails under perl 5.10; per upstream it's '...not a problem during normal usage of the program.' * Thu Mar 06 2008 Tom "spot" Callaway - 0.23-2 Rebuild for new perl * Thu Nov 22 2007 Chris Weyl 0.23-1 - update to 0.23 * Wed Oct 03 2007 Chris Weyl 0.21-1 - update to 0.21 - add contrib/, TRepository.PL to doc - update license tag: GPL -> GPL+ - add a requires on scrot, for the InsertScreenshot plugin * Wed May 30 2007 Chris Weyl 0.19-2 - add a require on Gtk2::TrayIcon; not picked up automatically - some BR refactoring given perl splittage * Thu Mar 22 2007 Chris Weyl 0.19-1 - and hot on the heels of 0.18 is 0.19! :) * Sat Mar 17 2007 Chris Weyl 0.18-1 - update to 0.18 - fix homepage/download links - drop dep on shared-mime-info as bz#215972 has been resolved * Tue Nov 21 2006 Chris Weyl 0.17-3 - bump * Thu Nov 16 2006 Chris Weyl 0.17-2 - add requires on shared-mime-info * Wed Nov 15 2006 Chris Weyl 0.17-1 - initial packaging.