automatic version update by autodist [release 0.9.1-1mamba;Thu Nov 21 2013]
This commit is contained in:
parent
6c84669120
commit
e77a940575
@ -1,2 +1,4 @@
|
||||
# python-cssselect
|
||||
|
||||
cssselect parses CSS3 Selectors and translates them to XPath 1.0.
|
||||
|
||||
|
63
python-cssselect.spec
Normal file
63
python-cssselect.spec
Normal file
@ -0,0 +1,63 @@
|
||||
Name: python-cssselect
|
||||
Version: 0.9.1
|
||||
Release: 1mamba
|
||||
Summary: cssselect parses CSS3 Selectors and translates them to XPath 1.0
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://pypi.python.org/pypi/cssselect
|
||||
Source: http://pypi.python.org/packages/source/c/cssselect/cssselect-%{version}.tar.gz
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython-devel
|
||||
Requires: python >= %python_version
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n cssselect-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py install \
|
||||
-O1 --skip-build \
|
||||
--root="%{buildroot}" \
|
||||
--install-headers=%{_includedir}/python \
|
||||
--install-lib=%{python_sitearch} \
|
||||
--single-version-externally-managed \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%files -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
## note: this list is just an example; modify as required
|
||||
# %{python_sitearch}/%{name}.py*
|
||||
# %{python_sitearch}/%{name}.so
|
||||
%doc AUTHORS LICENSE
|
||||
## note: eventually add the remaining documents (if any)
|
||||
# %doc CHANGES README.rst
|
||||
|
||||
%changelog
|
||||
* Thu Nov 21 2013 Automatic Build System <autodist@mambasoft.it> 0.9.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Oct 15 2013 Automatic Build System <autodist@mambasoft.it> 0.9-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8-2mamba
|
||||
- python 2.7 mass rebuild
|
||||
|
||||
* Tue Mar 19 2013 Automatic Build System <autodist@mambasoft.it> 0.8-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Dec 23 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.1-1mamba
|
||||
- package created by silvan using the webbuild interface
|
Loading…
Reference in New Issue
Block a user