%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: fuse-python Version: 0.2.1 Release: 10.1.TMM%{?dist} Summary: Python bindings for FUSE - filesystem in userspace Group: System Environment/Base License: LGPLv2 URL: http://sourceforge.net/apps/mediawiki/fuse/index.php?title=FusePython Source0: http://downloads.sourceforge.net/fuse/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Provides: python-fuse = %{version}-%{release} BuildRequires: pkgconfig BuildRequires: fuse-devel BuildRequires: python2-devel BuildRequires: python2-setuptools %description This package provides python bindings for FUSE. FUSE makes it possible to implement a filesystem in a userspace program. %prep %setup -q %build %{__python2} setup.py build mv -f Changelog Changelog.old iconv -f iso8859-1 -t utf-8 < Changelog.old > Changelog %install rm -rf $RPM_BUILD_ROOT %{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS COPYING Changelog FAQ example README.1st %doc README.new_fusepy_api README.new_fusepy_api.html README.package_maintainers %{python_sitearch}/* %changelog * Mon Oct 07 2019 Tomas Miljenović - - 0.2.1-10.1.TMM - s/python-*/python2-/g for build dependencies (CentOS/RHEL 8) - Use python macros in build steps - Update unversioned python macros to python2 macros * Sat Aug 16 2014 Fedora Release Engineering - 0.2.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jun 30 2014 Toshio Kuratomi - 0.2.1-9 - Replace python-setuptools-devel BR with python-setuptools * Sat Jun 07 2014 Fedora Release Engineering - 0.2.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.2.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 0.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Jul 21 2010 David Malcolm - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Fri Apr 16 2010 Peter Lemenkov 0.2.1-1 - Ver. 0.2.1 (bugfix release) - Patch dropped (upstreamed) * Wed Mar 10 2010 Peter Lemenkov 0.2-13 - Fixed URL - Added missing BR python-devel (this fixes rhbz #539185) * Thu Sep 17 2009 Peter Lemenkov 0.2-12 - rebuilt with new fuse * Fri Jul 24 2009 Fedora Release Engineering - 0.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering - 0.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.2-9 - Rebuild for Python 2.6 * Sun Apr 27 2008 Peter Lemenkov 0.2-8 - Fix issue with libewf * Tue Feb 19 2008 Fedora Release Engineering - 0.2-7 - Autorebuild for GCC 4.3 * Thu Oct 18 2007 Michel Salim 0.2-6 - Fix source URL - Include examples * Fri Oct 5 2007 Peter Lemenkov 0.2-5 - Removed BR: python-devel (excessive since we BR: python-setuptool) - Cleaned up mixed usage of macros and explicit commands ( __python and python) * Fri Oct 5 2007 Peter Lemenkov 0.2-4 - Changes according to http://fedoraproject.org/wiki/Packaging/Python/Eggs * Sun Sep 9 2007 Jan ONDREJ (SAL) 0.2-3 - removed non used macros - Changelog file converted to UTF-8 * Thu Sep 6 2007 Jan ONDREJ (SAL) 0.2-2 - changed permissions for sitearch files to 644 - added fuseparts dir to package - added egg-info directory with it's content - license changed to LGPLv2, according to documentation and sources - added provides for python-fuse (remove it on rename) * Sun Aug 5 2007 Peter Lemenkov 0.2-1 - Ver. 0.2 - Cleanups * Tue Jun 26 2007 Robin Norwood - 0.2-pre3-2 - Put everything in python_sitearch, which should allow x86_64 builds * Fri Jun 22 2007 Robin Norwood - 0.2-pre3-1 - Initial build