update to 2.2.2 [release 2.2.2-1mamba;Tue Jan 12 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 07:39:02 +01:00
parent 60c16d6911
commit b4be064780

View File

@ -1,19 +1,19 @@
Name: nicotine+ Name: nicotine+
Version: 1.2.16 Version: 2.2.2
Release: 3mamba Release: 1mamba
Summary: A SoulSeek client written in Python Summary: A SoulSeek client written in Python
Group: Graphical Desktop/Applications/Internet Group: Graphical Desktop/Applications/Internet
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://nicotine-plus.sourceforge.net/ URL: https://nicotine-plus.github.io/nicotine-plus/
Source: http://downloads.sourceforge.net/project/nicotine-plus/nicotine-plus/%{version}/nicotine%2B-%{version}.tar.bz2 Source: https://github.com/Nicotine-Plus/nicotine-plus.git/%{version}/nicotine-plus-%{version}.tar.bz2
Patch0: nicotine+-1.2.16-fix-desktop-icon.patch Patch0: nicotine+-1.2.16-fix-desktop-icon.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel BuildRequires: libpython3-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: python >= %python_version Requires: python3
Requires: miniupnpc Requires: miniupnpc
BuildRoot: %{_tmppath}/%{name}-%{version}-root 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. 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 %prep
%setup -q %setup -q -n nicotine-plus-%{version}
%patch0 -p1 #%patch0 -p1
%build %build
CFLAGS="%{optflags}" %{__python} setup.py build CFLAGS="%{optflags}" %{__python3} setup.py build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \ %{__python3} setup.py install \
-O1 --skip-build \ -O1 --skip-build \
--root="%{buildroot}" \ --root="%{buildroot}" \
--install-headers=%{_includedir}/python \ --install-headers=%{python3_inc} \
--install-lib=%{python_sitearch} \ --install-lib=%{python3_sitearch} \
--record=%{name}.filelist --record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{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 %doc COPYING
%changelog %changelog
* Tue Jan 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.2-1mamba
- update to 2.2.2
* Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.16-3mamba * Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.16-3mamba
- python 2.7 mass rebuild - python 2.7 mass rebuild