package added into rhel in rhel6.7
This commit is contained in:
parent
9fc7439fd9
commit
cf9c29153a
4 changed files with 1 additions and 58 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
chardet-1.0.1.tgz
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
package added into rhel in rhel6.7
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
Name: python-chardet
|
||||
Version: 2.0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Character encoding auto-detection in Python
|
||||
|
||||
Group: Development/Languages
|
||||
License: LGPLv2
|
||||
URL: http://chardet.feedparser.org
|
||||
Source0: http://chardet.feedparser.org/download/python2-chardet-%{version}.tgz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-devel, python-setuptools
|
||||
|
||||
%description
|
||||
Character encoding auto-detection in Python. As
|
||||
smart as your browser. Open source.
|
||||
|
||||
%prep
|
||||
%setup -q -n python2-chardet-%{version}
|
||||
|
||||
|
||||
|
||||
%build
|
||||
# Remove CFLAGS=... for noarch packages (unneeded)
|
||||
%{__python} setup.py build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||
chmod -x COPYING
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
# For noarch packages: sitelib
|
||||
%{python_sitelib}/*
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 13 2010 Kushal Das <kushal@fedoraproject.org> 2.0.1-1
|
||||
- New release
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Mon Aug 04 2008 Kushal Das <kushal@fedoraproject.org> 1.0.1-1
|
||||
- Initial release
|
||||
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
ec771971bab5dd1943a10362ebd2fd4c python2-chardet-2.0.1.tgz
|
||||
Loading…
Add table
Add a link
Reference in a new issue