Name: nicotine+ Version: 1.2.16 Release: 3mamba Summary: A SoulSeek client written in Python Group: Graphical Desktop/Applications/Internet Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://nicotine-plus.sourceforge.net/ Source: http://downloads.sourceforge.net/project/nicotine-plus/nicotine-plus/%{version}/nicotine%2B-%{version}.tar.bz2 Patch0: nicotine+-1.2.16-fix-desktop-icon.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: libpython-devel ## AUTOBUILDREQ-END Requires: python >= %python_version Requires: miniupnpc BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Nicotine is a SoulSeek client written in Python, based on the PySoulSeek project by Alexander Kanavin. It features, among other things, a completely rewritten graphical user interface which uses the PyGTK-2 toolkit and a less strict user request policy. %prep %setup -q %patch0 -p1 %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} \ --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files -f %{name}.filelist %defattr(-,root,root) %doc COPYING %changelog * Sun Jun 02 2013 Silvan Calarco 1.2.16-3mamba - python 2.7 mass rebuild * Thu Jan 03 2013 Silvan Calarco 1.2.16-2mamba - fixed desktop menu icon * Thu Jan 03 2013 Silvan Calarco 1.2.16-1mamba - package created by silvan using the webbuild interface