From b4be06478022eb85b8cd515172c4f10d9ec73b7e Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:39:02 +0100 Subject: [PATCH] update to 2.2.2 [release 2.2.2-1mamba;Tue Jan 12 2021] --- nicotine+.spec | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/nicotine+.spec b/nicotine+.spec index 1d9b85a..fc5ab84 100644 --- a/nicotine+.spec +++ b/nicotine+.spec @@ -1,19 +1,19 @@ Name: nicotine+ -Version: 1.2.16 -Release: 3mamba +Version: 2.2.2 +Release: 1mamba 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 +URL: https://nicotine-plus.github.io/nicotine-plus/ +Source: https://github.com/Nicotine-Plus/nicotine-plus.git/%{version}/nicotine-plus-%{version}.tar.bz2 Patch0: nicotine+-1.2.16-fix-desktop-icon.patch License: GPL ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END -Requires: python >= %python_version +Requires: python3 Requires: miniupnpc BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -21,19 +21,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root 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 +%setup -q -n nicotine-plus-%{version} +#%patch0 -p1 %build -CFLAGS="%{optflags}" %{__python} setup.py build +CFLAGS="%{optflags}" %{__python3} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} setup.py install \ +%{__python3} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ - --install-headers=%{_includedir}/python \ - --install-lib=%{python_sitearch} \ + --install-headers=%{python3_inc} \ + --install-lib=%{python3_sitearch} \ --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist @@ -43,6 +43,9 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %doc COPYING %changelog +* Tue Jan 12 2021 Silvan Calarco 2.2.2-1mamba +- update to 2.2.2 + * Sun Jun 02 2013 Silvan Calarco 1.2.16-3mamba - python 2.7 mass rebuild