8149e99
Name:           python3-chardet
8149e99
Version:        2.0.1
28e636e
Release:        3%{?dist}
8149e99
Summary:        Character encoding auto-detection in Python
8149e99
8149e99
Group:          Development/Languages
8149e99
License:        LGPLv2+
8149e99
URL:            http://chardet.feedparser.org
8149e99
Source0:        http://chardet.feedparser.org/download/python3-chardet-%{version}.tgz
8149e99
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
8149e99
8149e99
BuildArch:      noarch
8149e99
BuildRequires:  python3-devel
8149e99
8149e99
%description
8149e99
Character encoding auto-detection in Python. As 
8149e99
smart as your browser. Open source.
8149e99
8149e99
%prep
8149e99
%setup -q -n python3-chardet-%{version}
8149e99
8149e99
8149e99
8149e99
%build
8149e99
%{__python3} setup.py build
8149e99
8149e99
8149e99
%install
8149e99
rm -rf %{buildroot}
8149e99
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
8149e99
chmod -x COPYING
8149e99
8149e99
 
8149e99
%clean
8149e99
rm -rf %{buildroot}
8149e99
8149e99
8149e99
%files
8149e99
%defattr(-,root,root,-)
8149e99
%doc COPYING docs/*
8149e99
%{python3_sitelib}/chardet-%{version}-py?.?.egg-info
8149e99
%{python3_sitelib}/chardet
8149e99
8149e99
8149e99
%changelog
28e636e
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.0.1-3
28e636e
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
28e636e
8149e99
* Sat Apr 24 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.1-2
8149e99
- remove BR python3-setuptools (egg builded with distutils)
8149e99
8149e99
* Sat Apr 17 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.0.1-1
8149e99
- initial port to python3 based on the python2 spec
8149e99
8149e99
* Wed Jan 13 2010 Kushal Das <kushal@fedoraproject.org> - 2.0.1-1
8149e99
- New release
8149e99
8149e99
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
8149e99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8149e99
8149e99
* Mon Aug 04 2008 Kushal Das <kushal@fedoraproject.org> - 1.0.1-1
8149e99
- Initial release
8149e99