From 5abfe6b68ac05c3c9da9af277be02d55095ed214 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 10 Jan 2024 01:48:26 +0300 Subject: [PATCH] import nautilus-python-1.2.3-10.el9 --- .gitignore | 1 + .nautilus-python.metadata | 1 + SOURCES/nautilus-python.rpmlintrc | 2 + SPECS/nautilus-python.spec | 283 ++++++++++++++++++++++++++++++ 4 files changed, 287 insertions(+) create mode 100644 .gitignore create mode 100644 .nautilus-python.metadata create mode 100644 SOURCES/nautilus-python.rpmlintrc create mode 100644 SPECS/nautilus-python.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..83faf3a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/nautilus-python-1.2.3.tar.xz diff --git a/.nautilus-python.metadata b/.nautilus-python.metadata new file mode 100644 index 0000000..29e5341 --- /dev/null +++ b/.nautilus-python.metadata @@ -0,0 +1 @@ +6b11ff66603053c8355328969dffbeaab0aaa2ff SOURCES/nautilus-python-1.2.3.tar.xz diff --git a/SOURCES/nautilus-python.rpmlintrc b/SOURCES/nautilus-python.rpmlintrc new file mode 100644 index 0000000..c62c8f9 --- /dev/null +++ b/SOURCES/nautilus-python.rpmlintrc @@ -0,0 +1,2 @@ +# empty index +addFilter(r'zero-length /usr/share/gtk-doc/html/nautilus-python/index\.sgml') diff --git a/SPECS/nautilus-python.spec b/SPECS/nautilus-python.spec new file mode 100644 index 0000000..f63a70b --- /dev/null +++ b/SPECS/nautilus-python.spec @@ -0,0 +1,283 @@ +%if 0%{?fedora} && 0%{?fedora} <= 29 || 0%{?rhel} && 0%{?rhel} <= 7 +%global with_python3 0 +%else +%global with_python3 1 +%endif + +%global _legacy_common_support 1 + +Name: nautilus-python +Version: 1.2.3 +Release: 10%{?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 + +BuildRequires: make +BuildRequires: gtk-doc +BuildRequires: nautilus-devel +BuildRequires: pygobject3-devel +%if %{with_python3} +BuildRequires: python3-devel +%else +BuildRequires: python2-devel +%endif + +Requires: nautilus >= 3.0 +%if %{with_python3} +Requires: python3-gobject-base%{?_isa} +%else +%if 0%{?rhel} == 7 +Requires: python-gobject-base%{?_isa} +%else +Requires: python2-gobject-base%{?_isa} +%endif +%endif + +# Renamed / Obsoleted in F30 +Provides: python2-nautilus = %{version}-%{release} +Provides: python2-nautilus%{?_isa} = %{version}-%{release} +Obsoletes: python2-nautilus < %{version}-%{release} +# 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: python2-nautilus-devel = %{version}-%{release} +Provides: python2-nautilus-devel%{?_isa} = %{version}-%{release} +Obsoletes: python2-nautilus-devel < %{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 +%setup -q + +%build +%if %{with_python3} +export PYTHON="%{__python3}" +%else +export PYTHON="%{__python2}" +%endif +%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 +* Wed Jan 10 2024 MSVSphere Packaging Team - 1.2.3-10 +- Rebuilt for MSVSphere 9.3 + +* 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