ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Yakshin <greycat@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] sisyphus_check / file on RPM spec
Date: Sun, 15 May 2005 18:21:54 +0400
Message-ID: <42875B02.20906@altlinux.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 648 bytes --]

Приветствую!

Расскажите, что я делаю не так: есть некий спек, на который file
говорит, что он:

$ file python-module-musicbrainz.spec
python-module-musicbrainz.spec: UTF-8 Unicode English text

В результате чего sisyphus_check ругается на этот тип файла, потому как
оно умеет принимать из UTF-8 файлов только, например, такие:

$ file python-module-ctypes.spec
python-module-ctypes.spec: UTF-8 Unicode text

Чем отличается этот Unicode English text от Unicode text и что сделать,
чтобы он прошел sisyphus_check? Спек на всякий случай прилагаю...

-- 
WBR, Mikhail Yakshin AKA GreyCat
ALT Linux [http://www.altlinux.ru] [xmpp:greycat@altlinux.org]

[-- Attachment #2: python-module-musicbrainz.spec --]
[-- Type: text/plain, Size: 2569 bytes --]

# -*- coding: utf-8 -*-
%define	version	1.0b3
%define release alt1

%setup_python_module musicbrainz

Summary: Python binding for libmusicbrainz
Summary(ru_RU.UTF-8): Обертка на Python для доступа к libmusicbrainz
Name: %packagename
Version: %version
Release: %release
Source: python-%modulename-%version-picard.tar.gz
License: GPL
Group: Development/Python
Prefix: %_prefix
Url: http://musicbrainz.org/

Requires: python-module-ctypes
BuildRequires: python-module-ctypes

%description
This is a straight python to c binding for libmusicbrainz. It uses
ctypes to avoid having to write c code. This module is used primarily
within Picard - the next generation MusicBrainz tagger.

This module is built for python %__python_version

%description -l ru_RU.UTF-8
Этот модуль предоставляет достаточно простую и прямую обертку на
Python для библиотеки libmusicbrainz на C. Он использует ctypes, чтобы
не писать никакого дополнительного кода на C. Этот модуль в основном
предназначен для использования в Picard - тэггере MusicBrainz нового
поколения.

Этот модуль собран для Python версии %__python_version

%package -n python-%modulename-doc
Summary: %modulename example programs
Summary(ru_RU.UTF-8): Примеры программ для %modulename
Group: Development/Python
Prefix: %_prefix
Requires: python-%modulename = %version
%description -n  python-%modulename-doc
%modulename provides Python to C binding for libmusicbrainz. Install
python-%modulename-doc if you need examples for this module.

%description -n  python-%modulename-doc -l ru_RU.UTF-8
%modulename предоставляет оболочку Python для библиотеки
libmusicbrainz на C. Установите python-%modulename-doc, если Вам
требуются примеры программ с использованием данного модуля.

%prep

%setup -q -n python-%modulename-%version-picard

%build
mkdir -p buildroot

CFLAGS="%optflags" %__python setup.py \
	install --optimize=2 \
		--root=`pwd`/buildroot \
		--record=INSTALLED_FILES
%install
%__mkdir_p %buildroot
cp -pr buildroot/* %buildroot

unset RPM_PYTHON

%files -f INSTALLED_FILES
%doc README COPYING

%files -n python-%modulename-doc
%doc examples

%changelog
* Sun May 15 2005 Mikhail Yakshin <greycat@altlinux.ru> 1.0b3-alt1
- Initial build for ALT Linux


             reply	other threads:[~2005-05-15 14:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-15 14:21 Mikhail Yakshin [this message]
2005-05-15 14:44 ` php-coder
2005-05-15 22:11   ` Mikhail Yakshin
2005-05-15 23:00     ` Alexey I. Froloff
2005-05-16  4:13       ` Вячеслав Диконов
2005-05-16  5:42         ` Alexey I. Froloff
2005-05-16  6:03           ` Вячеслав Диконов
2005-05-16  7:00             ` Alexey I. Froloff
2005-05-16 17:05               ` Вячеслав Диконов
2005-05-16  6:51         ` [devel] sisyphus_check / file on RPM spec [JT] Vitaly Lipatov
2005-05-16  9:00           ` Vital Khilko
2005-05-16  9:27             ` Vitaly Lipatov
2005-05-16 17:08             ` Вячеслав Диконов
2005-05-15 22:46 ` [devel] sisyphus_check / file on RPM spec Dmitry V. Levin
2005-05-16  8:41   ` Mikhail Yakshin
2005-05-16 12:19     ` Dmitry V. Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42875B02.20906@altlinux.org \
    --to=greycat@altlinux.org \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git