nicotinePlus/nicotine+.spec

57 lines
1.9 KiB
RPMSpec

Name: nicotine+
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 <silvan.calarco@mambasoft.it>
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: libpython3-devel
## AUTOBUILDREQ-END
Requires: python3
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 -n nicotine-plus-%{version}
#%patch0 -p1
%build
CFLAGS="%{optflags}" %{__python3} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python3} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python3_inc} \
--install-lib=%{python3_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
%doc COPYING
%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
- python 2.7 mass rebuild
* Thu Jan 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.16-2mamba
- fixed desktop menu icon
* Thu Jan 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.16-1mamba
- package created by silvan using the webbuild interface