]> git.pld-linux.org Git - packages/nicotine.git/commitdiff
- up to 3.1.1
authorKrzysztof Mrozowicz <mrozowik@pld-linux.org>
Sun, 14 Nov 2021 00:05:04 +0000 (00:05 +0000)
committerKrzysztof Mrozowicz <mrozowik@pld-linux.org>
Sun, 14 Nov 2021 00:05:04 +0000 (00:05 +0000)
nicotine.desktop [deleted file]
nicotine.png [deleted file]
nicotine.spec

diff --git a/nicotine.desktop b/nicotine.desktop
deleted file mode 100644 (file)
index c2cdb56..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Name=Nicotine+
-Comment=SoulSeek client for Linux
-Comment[pl]=Klient sieci SoulSeek dla Linuksa
-Exec=nicotine
-Icon=nicotine
-Terminal=false
-Type=Application
-Categories=GTK;Network;FileTransfer;
-# vi: encoding=utf-8
diff --git a/nicotine.png b/nicotine.png
deleted file mode 100644 (file)
index 8205999..0000000
Binary files a/nicotine.png and /dev/null differ
index 9718073efdfb4d3494c0ac9b64ef0ea88dac9c46..17b07b69fd39df779f7f7c7c0039fe7f0e2a29b6 100644 (file)
@@ -1,60 +1,46 @@
 Summary:       Client for SoulSeek filesharing system
 Summary(pl.UTF-8):     Klient sieci SoulSeek
 Name:          nicotine
-Version:       1.2.8
+Version:       3.1.1
 Release:       1
 License:       GPL
-Vendor:                daelstorm <daelstorm@users.sourceforge.net>
 Group:         X11/Applications
-Source0:       http://prdownloads.sourceforge.net/nicotine-plus/%{name}+-%{version}.tar.bz2
-# Source0-md5: f839436968fc6c07fe0cb5c1d045fe62
-Source1:       %{name}.desktop
-Source2:       %{name}.png
+Source0:       https://github.com/nicotine-plus/nicotine-plus/archive/refs/tags/%{version}.tar.gz
 URL:           http://nicotine-plus.sourceforge.net/
 BuildRequires: gettext-tools
-BuildRequires: python-devel > 1:2.5
-%pyrequires_eq python-libs
-Requires:      python-Numeric
-Requires:      python-pygtk-gtk >= 2:2.0.0
-Requires:      python-pyvorbis
-Requires:      python-wxPython >= 2.4.0
+BuildRequires: python3-devel
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Nicotine-Plus is a fork of Hyriand's original Nicotine Soulseek client.
-Nicotine+ is an attempt to keep Nicotine working with the latest libraries,
-kill bugs, keep current with the Soulseek protocol and add some new features
-that users want and/or need.
+Nicotine-Plus is a fork of Hyriand's original Nicotine Soulseek
+client. Nicotine+ is an attempt to keep Nicotine working with the
+latest libraries, kill bugs, keep current with the Soulseek protocol
+and add some new features that users want and/or need.
 
 %description -l pl.UTF-8
 Nicotine-Plus jest pochodną Nicotine, klienta sieci Soulseek autorstwa
-Hyrianda. Projekt Nicotine+ ma na celu utrzymywanie kodu w zgodności
-z najnowszymi bibliotekami i protokołem Soulseeka, eliminowanie błędów oraz
-dodawanie nowych funkcjonalności, których potrzebują lub życzą sobie
-użytkownicy.
+Hyrianda. Projekt Nicotine+ ma na celu utrzymywanie kodu w zgodności z
+najnowszymi bibliotekami i protokołem Soulseeka, eliminowanie błędów
+oraz dodawanie nowych funkcjonalności, których potrzebują lub życzą
+sobie użytkownicy.
 
 %prep
-%setup -q -n %{name}+-%{version}
+%setup -q -n %{name}-plus-%{version}
 
-mv -f languages/{dk,da}
+%post
+%update_icon_cache hicolor
+
+%postun
+%update_icon_cache hicolor
 
 %build
-python setup.py build
-/usr/bin/msgfmt -o languages/it/nicotine.mo languages/it/nicotine.po
-/usr/bin/msgfmt -o languages/nl/nicotine.mo languages/nl/nicotine.po
+%py3_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_desktopdir}
-install -d $RPM_BUILD_ROOT%{_pixmapsdir}
-install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
-
-python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
-mv $RPM_BUILD_ROOT%{_datadir}/%{name}/documentation $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+%py3_install
 
 %find_lang %{name}
 
@@ -65,9 +51,10 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc %{_docdir}/*
 %attr(755,root,root) %{_bindir}/*
-%{_datadir}/%{name}
-%{py_sitescriptdir}/pynicotine
-%{py_sitescriptdir}/*.egg-info
+%{py3_sitescriptdir}/pynicotine
+%{py3_sitescriptdir}/*.egg-info
 %{_desktopdir}/*.desktop
-%{_pixmapsdir}/*
 %{_mandir}/man1/*
+%{_iconsdir}/hicolor/scalable/apps/*.svg
+%{_iconsdir}/hicolor/symbolic/apps/org.nicotine_plus.Nicotine-symbolic.svg
+%{_datadir}/metainfo/org.nicotine_plus.Nicotine.metainfo.xml
This page took 0.114497 seconds and 4 git commands to generate.