diff --git a/README.md b/README.md index 6dc3588..a27b037 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-twitter +An API and command-line toolset for Twitter (twitter.com). + diff --git a/python-twitter.spec b/python-twitter.spec new file mode 100644 index 0000000..42e449a --- /dev/null +++ b/python-twitter.spec @@ -0,0 +1,68 @@ +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 +URL: http://pypi.python.org/pypi/twitter +Source: http://pypi.python.org/packages/source/t/twitter/twitter-%{version}.tar.gz +#Patch0: %{name}--.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 1.10.2-1mamba +- automatic update by autodist + +* Fri Jun 28 2013 Automatic Build System 1.10.0-1mamba +- automatic version update by autodist + +* Fri May 17 2013 Silvan Calarco 1.9.4-1mamba +- python 2.7 mass rebuild + +* Mon Mar 25 2013 Automatic Build System 1.9.2-1mamba +- automatic version update by autodist + +* Wed Feb 20 2013 Automatic Build System 1.9.1-1mamba +- automatic version update by autodist + +* Fri Aug 10 2012 Automatic Build System 1.9.0-1mamba +- automatic version update by autodist + +* Mon Apr 16 2012 Automatic Build System 1.7.2-1mamba +- automatic version update by autodist + +* Tue Apr 05 2011 Silvan Calarco 1.6.1-1mamba +- package created by autospec