rpms/python-chardet/F-10 python-chardet.spec, NONE, 1.1 sources, 1.1, 1.2

Kushal Das kushal at fedoraproject.org
Mon Apr 20 06:07:35 UTC 2009


Author: kushal

Update of /cvs/extras/rpms/python-chardet/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9506

Modified Files:
	sources 
Added Files:
	python-chardet.spec 
Log Message:
Importing for F10



--- NEW FILE python-chardet.spec ---
# sitelib for noarch packages, sitearch for others (remove the unneeded one)
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Name:           python-chardet
Version:        1.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/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 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
* Mon Aug 04 2008 Kushal Das <kushal at fedoraproject.org> 1.0.1-1
- Initial release



Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-chardet/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Aug 2008 16:27:29 -0000	1.1
+++ sources	20 Apr 2009 06:07:03 -0000	1.2
@@ -0,0 +1 @@
+f8c510a6fac300fe0ac9a0c24a76a7ba  chardet-1.0.1.tgz




More information about the scm-commits mailing list