diff --git a/README.md b/README.md index 5fc935c..3fddd8c 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/nicotine+-1.2.16-fix-desktop-icon.patch b/nicotine+-1.2.16-fix-desktop-icon.patch new file mode 100644 index 0000000..f998f87 --- /dev/null +++ b/nicotine+-1.2.16-fix-desktop-icon.patch @@ -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; diff --git a/nicotine+.spec b/nicotine+.spec new file mode 100644 index 0000000..1d9b85a --- /dev/null +++ b/nicotine+.spec @@ -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 +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