python 2.7 mass rebuild [release 1.2.16-3mamba;Sun Jun 02 2013]

This commit is contained in:
Silvan Calarco 2024-01-06 07:39:02 +01:00
parent 89440fca5d
commit 60c16d6911
3 changed files with 68 additions and 1 deletions

View File

@ -1,2 +1,4 @@
# nicotinePlus
# nicotine+
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.

View File

@ -0,0 +1,12 @@
diff -Nru nicotine+-1.2.16.orig/files/nicotine.desktop nicotine+-1.2.16/files/nicotine.desktop
--- nicotine+-1.2.16.orig/files/nicotine.desktop 2010-10-30 12:54:39.000000000 +0200
+++ nicotine+-1.2.16/files/nicotine.desktop 2013-01-03 14:07:09.114797152 +0100
@@ -2,7 +2,7 @@
Name=Nicotine-Plus
Comment=SoulSeek filesharing client
Exec=nicotine.py
-Icon=nicotine-plus
+Icon=nicotine-plus-32px
Terminal=false
Type=Application
Categories=Network;P2P;GTK;

53
nicotine+.spec Normal file
View File

@ -0,0 +1,53 @@
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 <silvan.calarco@mambasoft.it>
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 <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