Name: timeline Version: 1.19.0 Release: 2%{?dist} Summary: Displays and navigates events on a timeline License: GPLv3 and CC-BY-SA URL: http://thetimelineproj.sourceforge.net/ Source0: http://downloads.sourceforge.net/thetimelineproj/%{name}-%{version}.zip Source1: timeline.desktop Patch0: paths.patch BuildArch: noarch BuildRequires: desktop-file-utils BuildRequires: gettext #BuildRequires: python2-devel /usr/bin/pathfix.py Requires: python2-wxpython Requires: python2-markdown Requires: python2-icalendar Requires: python2-svg Requires: python2-humblewx Requires: hicolor-icon-theme %description Timeline is a cross-platform application for displaying and navigating events on a timeline. %prep %setup -q %patch0 -p0 #pathfix.py -pni "%{__python2} %{py2_shbang_opts}" . %build python2 ./tools/generate-mo-files.py %install mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_datadir}/timeline install -m 755 source/timeline.py $RPM_BUILD_ROOT%{_bindir}/timeline cp -pr icons $RPM_BUILD_ROOT%{_datadir}/timeline/ cp -pr dependencies $RPM_BUILD_ROOT%{_datadir}/timeline/ mkdir -p $RPM_BUILD_ROOT%{python2_sitelib}/timelinelib cp -pr source/timelinelib/* $RPM_BUILD_ROOT%{python2_sitelib}/timelinelib/ mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps install -p -m 644 icons/48.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/timeline.png desktop-file-install \ --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale cp -a translations/*/ $RPM_BUILD_ROOT%{_datadir}/locale/ #Drop bundled python dependencies. rm -rf $RPM_BUILD_ROOT%{_datadir}/timeline/dependencies %find_lang %{name} %files -f %{name}.lang %license COPYING %doc AUTHORS README documentation/ %{_bindir}/* %{_datadir}/timeline %{_datadir}/applications/timeline.desktop %{_datadir}/icons/hicolor/48x48/apps/timeline.png %{python2_sitelib}/timelinelib* %changelog * Sat Jul 27 2019 Fedora Release Engineering - 1.19.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed May 01 2019 Gwyn Ciesla - 0.19.0-1 - 0.19.0 * Sun Feb 03 2019 Fedora Release Engineering - 1.18.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Sep 10 2018 Gwyn Ciesla - 1.18.0-2 - Fix shebang handling. * Wed Aug 01 2018 Gwyn Ciesla - 1.18.0-1 - 1.18.0 * Sat Jul 14 2018 Fedora Release Engineering - 1.17.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Mar 27 2018 Gwyn Ciesla - 1.17.0-1 - Latest upstream. * Fri Feb 09 2018 Fedora Release Engineering - 1.16.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Feb 01 2018 Iryna Shcherbina - 1.16.0-3 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Thu Jan 18 2018 Igor Gnatenko - 1.16.0-2 - Remove obsolete scriptlets * Mon Nov 13 2017 Gwyn Ciesla - 1.16.0-1 - Latest upstream. * Tue Aug 01 2017 Gwyn Ciesla - 1.15.0-1 - Latest upstream. * Thu Jul 27 2017 Fedora Release Engineering - 1.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon May 08 2017 Gwyn Ciesla - 1.14.0-1 - Latest upstream. * Sat Feb 11 2017 Fedora Release Engineering - 1.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Jan 31 2017 Jon Ciesla - 1.13.0-1 - Latest upstream. * Mon Oct 31 2016 Jon Ciesla - 1.12.0-1 - Latest upstream. * Mon Aug 08 2016 Jon Ciesla - 1.11.0-1 - Latest upstream. * Tue Jul 19 2016 Fedora Release Engineering - 1.10.0-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Mon May 02 2016 Jon Ciesla - 1.10.0-1 - Latest upstream. * Fri Feb 05 2016 Fedora Release Engineering - 1.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Jan 31 2016 Rickard Lindberg - 1.9.0-1 - Latest upstream. * Thu Nov 26 2015 Rickard Lindberg - 1.8.1-1 - Latest upstream. * Wed Nov 04 2015 Jon Ciesla - 1.5.0-3 - Fix python2 macros and BR, BZ 1277701. * Fri Jun 19 2015 Fedora Release Engineering - 1.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Feb 03 2015 Jon Ciesla - 1.5.0-1 - Latest upstream. * Sun Jun 08 2014 Fedora Release Engineering - 1.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Apr 24 2014 Jon Ciesla - 1.2.4-1 - Latest upstream. * Mon Oct 21 2013 Jon Ciesla - 1.0.1-1 - Latest upstream. * Fri Oct 11 2013 Jon Ciesla - 0.20.0-3 - Fix typo, BZ 1018161. * Sun Aug 04 2013 Fedora Release Engineering - 0.20.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed May 15 2013 Jon Ciesla - 0.20.0-1 - Latest upstream. * Fri Feb 15 2013 Fedora Release Engineering - 0.18.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Nov 19 2012 Jon Ciesla - 0.18.0-1 - Latest upstream. - Fix end-of-line encodings. * Mon Nov 19 2012 Jon Ciesla - 0.16.0-3 - Use system python libs. * Sat Jul 21 2012 Fedora Release Engineering - 0.16.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Feb 20 2012 Jon Ciesla - 0.16.0-1 - New upstream. * Sat Jan 14 2012 Fedora Release Engineering - 0.14.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Oct 28 2011 Jon Ciesla - 0.14.0-3 - Incorporated Mamoru's .po fixes. - Moved scriptlet back to post. - Moved update icon cache to postrans. - Dropped scons BR. * Wed Oct 26 2011 Jon Ciesla - 0.14.0-2 - Fixed license tag. - Fixed mandir macro. - Moved scriptlet to posttrans. - Dropped INSTALL. * Thu Oct 20 2011 Jon Ciesla - 0.14.0-1 - First build.