Fabian Affolter 9c4e5b
%global srcname pystatgrab
Fabian Affolter 9c4e5b
7ad847
Name:           pystatgrab
7ad847
Version:        0.7
7ad847
Release:        18%{?dist}
7ad847
Summary:        Python bindings for libstatgrab
Soumya Kanti Chakraborty 7ccca0
7ad847
License:        LGPLv2+
7ad847
URL:            http://www.i-scream.org/pystatgrab/
7ad847
Source0:        https://ftp.i-scream.org/pub/i-scream/pystatgrab/%{name}-%{version}.tar.gz
Soumya Kanti Chakraborty 7ccca0
Tim Orling 3a9961
BuildRequires:  gcc
Fabian Affolter 7dd0b1
BuildRequires:  libstatgrab-devel > 0.90
Soumya Kanti Chakraborty 7ccca0
Soumya Kanti Chakraborty 7ccca0
%description
Soumya Kanti Chakraborty 7ccca0
Pystatgrab contains Python bindings for libstatgrab.
Soumya Kanti Chakraborty 7ccca0
Fabian Affolter 9c4e5b
%package -n python3-%{name}
7ad847
Summary:        %{sumumary}
7ad847
7ad847
BuildRequires:  python3-Cython
7ad847
BuildRequires:  python3-devel
Fabian Affolter 9c4e5b
%{?python_provide:%python_provide python3-%{name}}
Fabian Affolter 9c4e5b
Fabian Affolter 9c4e5b
%description -n python3-%{name}
Fabian Affolter 9c4e5b
Pystatgrab contains Python bindings for libstatgrab.
Fabian Affolter 9c4e5b
Soumya Kanti Chakraborty 7ccca0
%prep
Fabian Affolter 9c4e5b
%autosetup -n %{srcname}-%{version}
Soumya Kanti Chakraborty 7ccca0
Soumya Kanti Chakraborty 7ccca0
%build
259916
rm -rf statgrab.c
Fabian Affolter 9c4e5b
%py3_build
Soumya Kanti Chakraborty 7ccca0
Soumya Kanti Chakraborty 7ccca0
%install
Fabian Affolter 9c4e5b
%py3_install
Soumya Kanti Chakraborty 7ccca0
Fabian Affolter 7dd0b1
%check
Fabian Affolter 7dd0b1
PYTHONPATH=%{buildroot}/%{python3_sitearch} %{__python3} test.py
Fabian Affolter 7dd0b1
Fabian Affolter 9c4e5b
%files -n python3-%{name}
Fabian Affolter 1938ad
%doc AUTHORS NEWS README
Fabian Affolter 1938ad
%license COPYING.LGPL
77b6f7
%{python3_sitearch}/*
Soumya Kanti Chakraborty 7ccca0
Soumya Kanti Chakraborty 7ccca0
%changelog
7ad847
* Sat Aug 31 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.7-18
7ad847
- Remove Python 2 subpackage (rhbz#1746756)
7ad847
0ecbc6
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.7-17
0ecbc6
- Rebuilt for Python 3.8
0ecbc6
0956e9
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-16
0956e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0956e9
60811e
* Tue Jun 04 2019 Tim Orling <ticotimo@gmail.com> - 0.7-15
60811e
- Fix build for rawhide and python 3.8 (rhbz#1716485) 
60811e
77b6f7
* Sat Mar 23 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.7-14
77b6f7
- Fix ownership (rhbz#1672099)
77b6f7
6d96ac
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-13
6d96ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6d96ac
c79a27
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-12
c79a27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c79a27
79ceb2
* Fri Jul 06 2018 Tim Orling <ticotimo@gmail.com> - 0.7-11
79ceb2
- Remove bundled statgrab.c so cython will generate it
79ceb2
- Drop unnecessary Provides/Obsoletes
79ceb2
259916
* Fri Jul 06 2018 Tim Orling <ticotimo@gmail.com> - 0.7-10
259916
- Add python[2,3]-Cython to BuildRequires
259916
- Remove bundled statgrab.c before python3 build
259916
- Fixes FTBFS on python3.7 (changes in tstate API)
259916
b325be
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.7-9
b325be
- Rebuilt for Python 3.7
b325be
Tim Orling 3a9961
* Sat Feb 24 2018 Tim Orling <ticotimo@gmail.com> - 0.7-8
Tim Orling 3a9961
- Add gcc to BuildRequires
Tim Orling 3a9961
- Use https for Source0
Tim Orling 3a9961
- Add rpmlint filters for spelling errors
Tim Orling 3a9961
68a292
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-7
68a292
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
68a292
b7a895
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-6
b7a895
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b7a895
d5277f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-5
d5277f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d5277f
6c8fc5
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.7-4
6c8fc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6c8fc5
7b3a94
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.7-3
7b3a94
- Rebuild for Python 3.6
7b3a94
7b9159
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-2
7b9159
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
7b9159
Tim Orling a55b68
* Wed Apr 13 2016 Tim Orling <ticotimo@gmail.com> - 0.7-1
Tim Orling a55b68
- Upstream bump to 0.7 for python3 fixes
Tim Orling a55b68
- Drop merged patch
Tim Orling a55b68
Tim Orling 5e9fc5
* Sun Mar 27 2016 Tim Orling <ticotimo@gmail.com> - 0.6-2
Tim Orling 5e9fc5
- Add patch to fix pkg-config bytes to string exception
Tim Orling 5e9fc5
- whitespace cleanup
Tim Orling 5e9fc5
Fabian Affolter 9c4e5b
* Fri Mar 25 2016 Fabian Affolter <mail@fabian-affolter.ch> - 0.6-1
Fabian Affolter 9c4e5b
- Update for py3
Fabian Affolter 96b86a
- Update to latest upstream release 0.6
Fabian Affolter 9c4e5b
462e31
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-17
462e31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
462e31
ad4e9a
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-16
ad4e9a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ad4e9a
4737e2
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-15
4737e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
4737e2
bcce99
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-14
bcce99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
bcce99
e87440
* Mon Sep 16 2013 Fabian Affolter <mail@fabian-affolter.ch> - 0.5-13
e87440
- Spec file update
e87440
- Rebuild against libstatgrab 0.90
e87440
650ca1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-12
650ca1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
650ca1
281240
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-11
281240
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
281240
8fc4cd
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-10
8fc4cd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8fc4cd
105472
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-9
105472
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
105472
022f60
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-8
022f60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
022f60
978a77
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.5-7
978a77
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
978a77
ca4e75
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-6
ca4e75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ca4e75
4f1fc0
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-5
4f1fc0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4f1fc0
033a02
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.5-4
033a02
- Fix locations for Python 2.6
033a02
c3b618
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.5-3
c3b618
- Rebuild for Python 2.6
c3b618
Soumya Kanti Chakraborty 7ccca0
* Sun Sep 28 2008 Soumya Chakraborty <soumya@fedoraproject.org> 0.5-2
Soumya Kanti Chakraborty 7ccca0
- Changed from the noarch package to sitearch package and changed the name from python-statgrab to pystatgrab.
Soumya Kanti Chakraborty 7ccca0
923099
* Wed Aug 13 2008 Soumya Chakraborty <soumya@fedoraproject.org> 0.5-1
Soumya Kanti Chakraborty 7ccca0
- Initial Package Release