SPECS: python-mechanize.spec (NEW) - init version

teodor teodor at pld-linux.org
Fri Feb 9 22:17:57 CET 2007


Author: teodor                       Date: Fri Feb  9 21:17:57 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init version

---- Files affected:
SPECS:
   python-mechanize.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-mechanize.spec
diff -u /dev/null SPECS/python-mechanize.spec:1.1
--- /dev/null	Fri Feb  9 22:17:57 2007
+++ SPECS/python-mechanize.spec	Fri Feb  9 22:17:52 2007
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+%define		module mechanize
+%define		_beta b
+Summary:	Library for automating interaction with web pages
+Summary(pl):	Biblioteka do automatycznej interakcji ze stronami WWW
+Name:		python-%{module}
+Version:	0.1.6
+Release:	0.%{_beta}.1
+License:	BSD
+Group:		Development/Languages/Pytho
+Source0:	http://wwwsearch.sourceforge.net/%{module}/src/%{module}-%{version}%{_beta}.tar.gz
+# Source0-md5:	98c27be9464f1342ede05784999d2757
+URL:		http://wwwsearch.sourceforge.net
+%pyrequires_eq  python-modules
+BuildRequires:  python >= 1:2.3
+BuildRequires:  python-devel >= 1:2.3
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Library for automating interaction with web pages.
+
+%description -l pl
+Biblioteka do automatycznej interakcji ze stronami WWW.
+
+%prep
+%setup -q -n %{module}-%{version}%{_beta}
+
+%build
+python setup.py build 
+
+%install
+python setup.py install \
+    --root=$RPM_BUILD_ROOT \
+    --optimize=2
+
+%py_postclean %{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%doc COPYING.txt README.html ChangeLog.txt
+%defattr(644,root,root,755)
+%dir %{py_sitescriptdir}/%{module}/
+%{py_sitescriptdir}/%{module}/*.py[oc]
+
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/02/09 21:17:52  teodor
+- init version
+
================================================================


More information about the pld-cvs-commit mailing list