69 lines
2.2 KiB
RPMSpec
69 lines
2.2 KiB
RPMSpec
|
Name: python-twitter
|
||
|
Version: 1.10.2
|
||
|
Release: 1mamba
|
||
|
Summary: An API and command-line toolset for Twitter (twitter.com)
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://pypi.python.org/pypi/twitter
|
||
|
Source: http://pypi.python.org/packages/source/t/twitter/twitter-%{version}.tar.gz
|
||
|
#Patch0: %{name}-<pck-version>-<patch-description>.patch
|
||
|
License: MIT
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: libpython-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
Requires: python >= %python_version
|
||
|
Requires: python-irclib
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
An API and command-line toolset for Twitter (twitter.com).
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n twitter-%{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)
|
||
|
%doc README
|
||
|
|
||
|
%changelog
|
||
|
* Fri Nov 22 2013 Automatic Build System <autodist@mambasoft.it> 1.10.2-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Fri Jun 28 2013 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.4-1mamba
|
||
|
- python 2.7 mass rebuild
|
||
|
|
||
|
* Mon Mar 25 2013 Automatic Build System <autodist@mambasoft.it> 1.9.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Feb 20 2013 Automatic Build System <autodist@mambasoft.it> 1.9.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Fri Aug 10 2012 Automatic Build System <autodist@mambasoft.it> 1.9.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon Apr 16 2012 Automatic Build System <autodist@mambasoft.it> 1.7.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue Apr 05 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-1mamba
|
||
|
- package created by autospec
|