rpms/python-BeautifulSoup/EL-5 python-BeautifulSoup.spec,1.1,1.2
Chauvet Nicolas
kwizart at fedoraproject.org
Mon Jan 12 21:56:15 UTC 2009
- Previous message: rpms/HamFax/F-10 HamFax-0.6.4-configure.patch, NONE, 1.1 HamFax.desktop, NONE, 1.1 HamFax.png, NONE, 1.1 HamFax.spec, NONE, 1.1 import.log, NONE, 1.1
- Next message: rpms/python-BeautifulSoup/EL-5 sources,1.2,1.3 .cvsignore,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kwizart
Update of /cvs/pkgs/rpms/python-BeautifulSoup/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18682
Modified Files:
python-BeautifulSoup.spec
Log Message:
Backport 3.0.7a for EL-5
Index: python-BeautifulSoup.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-BeautifulSoup/EL-5/python-BeautifulSoup.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- python-BeautifulSoup.spec 4 May 2007 07:54:58 -0000 1.1
+++ python-BeautifulSoup.spec 12 Jan 2009 21:55:45 -0000 1.2
@@ -1,49 +1,98 @@
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
+
+%define oname BeautifulSoup
Name: python-BeautifulSoup
-Version: 3.0.4
-Release: 1%{?dist}
+Version: 3.0.7a
+Release: 2%{?dist}
Summary: HTML/XML parser for quick-turnaround applications like screen-scraping
Group: Development/Languages
-License: Python Software Foundation License
+License: BSD
URL: http://www.crummy.com/software/BeautifulSoup/
-Source0: http://www.crummy.com/software/BeautifulSoup/download/BeautifulSoup-%{version}.tar.gz
+Source0: http://www.crummy.com/software/BeautifulSoup/download/3.x/%{oname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
%description
-Beautiful Soup parses arbitrarily invalid SGML and provides a variety
-of methods and Pythonic idioms for iterating and searching the parse tree.
+Beautiful Soup is a Python HTML/XML parser designed for quick
+turnaround projects like screen-scraping. Three features make it
+powerful:
+
+Beautiful Soup won't choke if you give it bad markup.
+
+Beautiful Soup provides a few simple methods and Pythonic idioms for
+navigating, searching, and modifying a parse tree.
+
+Beautiful Soup automatically converts incoming documents to Unicode
+and outgoing documents to UTF-8.
+
+Beautiful Soup parses anything you give it.
+
+Valuable data that was once locked up in poorly-designed websites is
+now within your reach. Projects that would have taken hours take only
+minutes with Beautiful Soup.
%prep
-%setup -q -n BeautifulSoup-%{version}
+%setup -q -n %{oname}-%{version}
%build
%{__python} setup.py build
+%{__python} -c 'import %{oname} as bs; print bs.__doc__' > COPYING
+touch -r %{oname}.py COPYING
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+#Files installed by error
+rm -rf $RPM_BUILD_ROOT%{_bindir}
+
%clean
rm -rf $RPM_BUILD_ROOT
+%check
+%{__python} BeautifulSoupTests.py
+
+
%files
%defattr(-,root,root,-)
-%doc PKG-INFO
-# For noarch packages: sitelib
-%{python_sitelib}/*
-
+%doc COPYING
+%{python_sitelib}/%{oname}.py*
+%exclude %{python_sitelib}/%{oname}Tests.py*
%changelog
+* Mon Jan 12 2009 kwizart < kwizart at gmail.com > - 3.0.7a-2
+- Backport for EL-5
+
+* Wed Oct 15 2008 kwizart < kwizart at gmail.com > - 3.0.7a-1
+- Update to 3.0.7a
+
+* Mon Jun 30 2008 Terje Rosten <terje.rosten at ntnu.no> - 3.0.7-2
+- Rebuild
+
+* Mon Jun 23 2008 Michel Alexandre Salim <salimma at fedoraproject.org> - 3.0.7-1
+- Update to 3.0.7
+
+* Tue Feb 5 2008 Terje Rosten <terje.rosten at ntnu.no> - 3.0.5-3
+- Fix typo
+
+* Tue Feb 5 2008 Terje Rosten <terje.rosten at ntnu.no> - 3.0.5-2
+- Handle egg info
+- Bump release
+
+* Tue Feb 5 2008 Terje Rosten <terje.rosten at ntnu.no> - 3.0.5-1
+- Update to 3.0.5
+- Minor tweaks to spec file
+
* Wed Apr 18 2007 kwizart < kwizart at gmail.com > - 3.0.4-1
- Update to 3.0.4
- Previous message: rpms/HamFax/F-10 HamFax-0.6.4-configure.patch, NONE, 1.1 HamFax.desktop, NONE, 1.1 HamFax.png, NONE, 1.1 HamFax.spec, NONE, 1.1 import.log, NONE, 1.1
- Next message: rpms/python-BeautifulSoup/EL-5 sources,1.2,1.3 .cvsignore,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list