%global _legacy_common_support 1 Name: nautilus-python Version: 1.2.3 Release: 13%{?dist} Summary: Python bindings for Nautilus License: GPLv2+ URL: https://wiki.gnome.org/Projects/NautilusPython Source0: https://download.gnome.org/sources/%{name}/%(v=%{version}; echo ${v:0:3}; )/%{name}-%{version}.tar.xz # Fix the build with nautilus 43 # https://gitlab.gnome.org/GNOME/nautilus-python/-/merge_requests/9 Patch0: 9.patch BuildRequires: autoconf automake libtool BuildRequires: gtk-doc BuildRequires: make BuildRequires: nautilus-devel BuildRequires: pygobject3-devel BuildRequires: python3-devel Requires: nautilus >= 3.0 Requires: python3-gobject-base%{?_isa} # Renamed / Obsoleted in F30 Provides: python3-nautilus = %{version}-%{release} Provides: python3-nautilus%{?_isa} = %{version}-%{release} Obsoletes: python3-nautilus < %{version}-%{release} %description Python bindings for Nautilus %package devel Summary: Python bindings for Nautilus Requires: %{name}%{?_isa} = %{version}-%{release} # Renamed / Obsoleted in F30 Provides: python3-nautilus-devel = %{version}-%{release} Provides: python3-nautilus-devel%{?_isa} = %{version}-%{release} Obsoletes: python3-nautilus-devel < %{version}-%{release} %description devel Python bindings for Nautilus %prep %autosetup -p1 %build autoreconf -fi export PYTHON="%{__python3}" %configure \ --enable-gtk-doc %make_build %install %make_install mkdir -p $RPM_BUILD_ROOT%{_datadir}/nautilus-python/extensions find $RPM_BUILD_ROOT -name '*.la' -delete rm -rfv $RPM_BUILD_ROOT%{_docdir} %files %license COPYING %doc README AUTHORS NEWS %{_libdir}/nautilus/extensions-3.0/libnautilus-python.so %dir %{_datadir}/nautilus-python/extensions %files devel %doc examples/ %{_libdir}/pkgconfig/nautilus-python.pc %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/nautilus-python/ %changelog * Mon Aug 01 2022 Kalev Lember - 1.2.3-13 - Fix the build with nautilus 43 - Drop python2 support from the spec file * Fri Jul 22 2022 Fedora Release Engineering - 1.2.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.2.3-11 - Rebuilt for Python 3.11 * Thu Jan 20 2022 Fedora Release Engineering - 1.2.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.2.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.2.3-8 - Rebuilt for Python 3.10 * Tue Jan 26 2021 Fedora Release Engineering - 1.2.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.2.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.2.3-5 - Rebuilt for Python 3.9 * Wed Jan 29 2020 Fedora Release Engineering - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 19 2019 Miro Hrončok - 1.2.3-3 - Rebuilt for Python 3.8 * Thu Jul 25 2019 Fedora Release Engineering - 1.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jul 18 2019 Kalev Lember - 1.2.3-1 - Update to 1.2.3 * Mon Jun 10 2019 Charalampos Stratakis - 1.2.2-4 - Add Python 3.8 compatibility * Fri Feb 01 2019 Fedora Release Engineering - 1.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Nov 07 2018 Kalev Lember - 1.2.2-2 - Add runtime requires on python2/python3-gobject * Mon Nov 05 2018 Kalev Lember - 1.2.2-1 - Update to 1.2.2 - Rename the binary package back to nautilus-python (#1636626) - Simplify packaging - Co-own gtk-doc directories - Update upstream URLs - Built against Python 3 starting with F30 * Tue Oct 30 2018 Raphael Groner - 1.2.1-4 - separate properly builds of python2 and python3, rhbz#1636626 - drop obsolete Group tag - use name macro * Wed Sep 12 2018 Raphael Groner - 1.2.1-3 - use just python3 prefix for subpackage name - because unknown how to procee with epel branches - fix build with python3 * Fri Aug 31 2018 Raphael Groner - 1.2.1-2 - add support for python3 - execute nautilus self tests with examples, currently b0rken due to a dbus bug * Sat Jul 21 2018 Raphael Groner - 1.2.1-1 - new version * Fri Jul 13 2018 Fedora Release Engineering - 1.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Feb 07 2018 Iryna Shcherbina - 1.1-16 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Sun Dec 17 2017 Zbigniew Jędrzejewski-Szmek - 1.1-15 - Python 2 binary packages renamed to python2-nautilus and python2-nautilus-devel See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Aug 03 2017 Fedora Release Engineering - 1.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Dec 09 2016 Raphael Groner - 1.1-11 - adjust for epel7 * Thu Feb 04 2016 Fedora Release Engineering - 1.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Feb 04 2014 Till Maas - 1.1-6 - Use %%{_pkgdocdir} (#1046899, #993991, #992325) - Fix date in changelog * Sat Aug 03 2013 Fedora Release Engineering - 1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Feb 15 2012 Hicham HAOUARI - 1.1-2 - BuildRequires pygobject3-devel instead of pygobject2-devel * Wed Feb 08 2012 Hicham HAOUARI - 1.1-1 - Update to 1.1 * Tue Sep 27 2011 Hicham HAOUARI - 1.0-1 - Update to 1.0 - Remove BuildRoot tag and %%clean section - Own /usr/share/nautilus-python/extensions instead of the old arch dependent locations * Sat Feb 12 2011 Tim Lauridsen - 0.7.0-4 - Make it build with latest nautilus * Tue Feb 08 2011 Fedora Release Engineering - 0.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Jul 26 2010 David Malcolm - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Sun Jul 25 2010 Patrick Dignan - New upstream version 0.7.0 * Sun Jul 25 2010 Patrick Dignan - Rebuild for F14 * Thu Jan 28 2010 Patrick Dignan - New upstream release, bugfixes * Sat Jul 25 2009 Fedora Release Engineering - 0.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering - 0.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Dec 19 2008 Alex Lancaster - 0.5.1-3 - Patch to fix build (thanks to Nicholas Wourms) * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.5.1-2 - Rebuild for Python 2.6 * Wed Sep 24 2008 Trond Danielsen - 0.5.1-1 - New upstream version * Mon Aug 11 2008 Tom "spot" Callaway - 0.4.3-6 - fix license tag * Wed Feb 20 2008 Fedora Release Engineering - 0.4.3-5 - Autorebuild for GCC 4.3 * Wed May 02 2007 Trond Danielsen - 0.4.3-4 - Added missing folder. Fixes bug #238591. * Sat Apr 21 2007 Trond Danielsen - 0.4.3-3 - Moved example code to devel package. * Thu Apr 19 2007 Jef Spaleta - 0.4.3-2 - Package review corrections * Wed Apr 04 2007 Trond Danielsen - 0.4.3-1 - Initial version