From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type; bh=giHXFm0YoNYwAQPPnTwxccJwD9jFCDpoxizEliCtLes=; b=HpHirvMDiv4Jnc9+AN24Xcwzvit/1RoMsDaWPOwo/oDYGynptnvA14xzQ0MPUZwMQf +dhC0xslxdwfdNdSn0kGh8fZ7ui1tm1CrhgeyCAX1lJYhPy3YGwu2hMGV1huFSJSvZBi 1tjZqf4Gs4sEhg0XJ13iBu1zq/4/q9PgAkYjY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; b=t/2nRg0tiknNKvIP0f5vx7cGhk23bVlQG4f2p74gBlOVZpCeUsiVpLPbrlq4rN+dL2 6MELpO5bY/zxZqwm4jiHUYlebBf5tnAfcOOtDHWi4+avoTAWB+z5m8yd3C4/XlY2Dsyn 257Nv16pZiKL4fnRgeEEAmqaoWYsRrnGkUk/U= Message-ID: <4A85AEAC.2010206@gmail.com> Date: Fri, 14 Aug 2009 22:36:28 +0400 From: Andrew Clark User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1pre) Gecko/20090604 Thunderbird/3.0b3pre MIME-Version: 1.0 To: ALT Linux Sisyphus discussions Content-Type: multipart/mixed; boundary="------------060409060807070806010904" Subject: [sisyphus] nicotine-1.2.12 X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2009 18:36:48 -0000 Archived-At: List-Archive: List-Post: This is a multi-part message in MIME format. --------------060409060807070806010904 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Добрый день! В сизифе старая версия программы, я решил собрать новую. После обработки rpmcs имеющегося спека, и последующей доработки последнего под текущие изменения, собрал пакет. Однако, файл nicotine.desktop содержит строку Exec=nicotine хотя у меня [andy@timelock SPECS]$ rpm -ql nicotine-plus-1.2.12-alt1 /usr/bin/nicotine-import-winconfig /usr/bin/nicotine.py Я раньше не упаковывал python приложения, поэтому возникает резонный вопрос - в чем моя ошибка? Если таковая имеет место быть, разумеется. Спек в аттаче. --------------060409060807070806010904 Content-Type: text/plain; name="nicotine-plus.spec" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="nicotine-plus.spec" %define py_geoip_pkg python-module-GeoIP %define oname nicotine+ Name: nicotine-plus Version: 1.2.12 Release: alt1 Summary: The client program for the SoulSeek filesharing system Summary(ru_RU.KOI8-R): Клиент для файлообменной сети SoulSeek Group: Networking/File transfer License: GPL Url: http://nicotine-plus.sourceforge.net/ Packager: Vitaly Lipatov Source: http://www.nicotine-plus.org/files/nicotine+-%version.tar.bz2 # TODO: check tranlsation Source1: nicotine.48.png #Patch: %name-alt-desktop-entry.patch BuildArch: noarch Provides: nicotine Obsoletes: nicotine # Automatically added by buildreq on Fri Aug 14 2009 BuildRequires: python-devel python-module-pygobject Requires: python-module-sexy python-module-pygtk-libglade Requires: python-module-mutagen python-module-pygnome-gtkmozembed %add_python_req_skip pywintypes win32con win32gui %description Nicotine is a feature-complete client for the SoulSeek filesharing network that is used primarily to share music. Nicotine supports everything a SoulSeek client is supposed to do, such as downloading, uploading, searching, chatting, keeping a "buddy" list and has lots of other features like finding similar users and getting listening recommendations based on user's preferences. Nicotine also supports a country code blocker using the GeoIP library. To enable this functionality install the %py_geoip_pkg package. Nicotine is a successor to the PySoulSeek project by Alexander Kanavin. Nicotine supports psyco, an inline optimizer for python code, you can install it from python-module-psyco package. %description -l ru_RU.KOI8-R Nicotine -- это полнофункциональный клиент для файлообменной сети SoulSeek, ориентированной, прежде всего, на обмен музыкой. Nicotine поддерживает все стандартные для клиента сети SoulSeek функции, такие как загрузка и пересылка файлов, поиск, чат, ведение списка "друзей", а также множество других, как, например, поиск похожих пользователей и получение рекомендаций по музыке на основе пользовательских предпочтений. Помимо этого, Nicotine умеет блокировать пользователей из определённых стран, посредством библиотеки GeoIP. Для включения данной функциональности необходимо дополнительно установить пакет %py_geoip_pkg. Nicotine является преемником проекта PySoulSeek, который создал Александр Канавин. Nicotine поддерживает оптимизатор кода psyco, вы можете установить его из пакета python-module-psyco. %prep %setup -q -n %oname-%version #%patch %build %python_build %install %__python setup.py install --root=%buildroot --optimize=2 %define _iconstheme hicolor %define _iconsbasedir %_iconsdir/%_iconstheme %define _icons16dir %_iconsbasedir/16x16/apps %define _icons48dir %_iconsbasedir/48x48/apps install -D -m644 files/%name-16px.png %buildroot%_miconsdir/%name.png install -D -m644 files/%name-32px.png %buildroot%_niconsdir/%name.png install -D -m644 %SOURCE1 %buildroot%_liconsdir/%name.png install -D -m644 files/%name-64px.png %buildroot%_iconsdir/hicolor/64x64/apps/%name.png install -D -m644 files/%name-96px.png %buildroot%_iconsdir/hicolor/96x96/apps/%name.png rm -rf %buildroot%_datadir/nicotine/documentation/ %find_lang nicotine %files -f nicotine.lang %_bindir/nicotine* %python_sitelibdir/pynicotine/ %python_sitelibdir/nicotine* %_desktopdir/* %_miconsdir/* %_niconsdir/* %_liconsdir/* %_iconsdir/hicolor/64x64/apps/* %_iconsdir/hicolor/96x96/apps/* %_man1dir/* %_pixmapsdir/* %_datadir/nicotine/ %doc doc/* %changelog * Mon Aug 10 2009 Andrew Clark 1.2.12-alt1 - new version - cleanup spec * Fri Jan 25 2008 Grigory Batalov 1.2.9-alt2.1 - Rebuilt with python-2.5. * Mon Oct 29 2007 Vitaly Lipatov 1.2.9-alt2 - remove psyco requires (fix bug #13236) - cleanup spec * Wed Oct 24 2007 Vitaly Lipatov 1.2.9-alt1 - new version 1.2.9 (with rpmrb script) * Fri Jul 06 2007 Vitaly Lipatov 1.2.8-alt2 - add provides, obsoletes: nicotine - add some useful requires - disable old russian translation (it brokes dialogs) * Fri Jun 08 2007 Vitaly Lipatov 1.2.8-alt1 - new version 1.2.8 (with rpmrb script) * Sat May 26 2007 Vitaly Lipatov 1.2.7.1-alt1 - nicotine-plus forks from nicotine * Fri Mar 25 2005 Dmitry Vukolov 1.0.8-alt2 - rebuilt with python 2.4 * Wed Mar 02 2005 Dmitry Vukolov 1.0.8-alt1 - new version * Mon Jul 19 2004 Dmitry Vukolov 1.0.7-alt3 - repackaged according to the new python policy - altered description * Mon May 10 2004 Dmitry Vukolov 1.0.7-alt2 - added Russian translation - use %%find_lang to mark language files * Sat May 01 2004 Dmitry Vukolov 1.0.7-alt1 - initial release for ALT Linux Sisyphus - patched to use the standard GTK+ directory selection dialog (Debian) --------------060409060807070806010904--