ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Шенцев Алексей Владимирович" <ashen@nsrz.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] Структура спека и файла меню для ALC30
Date: Sat, 13 May 2006 09:16:04 +0400
Message-ID: <200605130916.04923.ashen@nsrz.ru> (raw)

Попытался под чистым ALC30 (метка диска ALT Linux Comact 3.0.1) пересобрать 
bsc2.20 вот с таким спеком:
$ cat bsc-2.20-alt0.2.spec
Name: bsc
Version: 2.20
Release: alt0.2
Summary: Qt based file manager
License: GPL
URL: http://www.beesoft.org
Group: File tools
Source: http://www.beesoft.org/download/%{name}_%{version}_src.tar.gz
Requires: common-licenses

# Automatically added by buildreq on Thu Jan 12 2006
BuildRequires: fontconfig freetype2 gcc-c++ libqt3-devel libqt3-settings
BuildRequires: libstdc++-devel xorg-x11-devel common-licenses

%description
Beesoft Commander is a file manager (like Norton Commander) for Linux. It is 
based on Qt-GUI.

%description -l ru_RU.UTF-8
Beesoft Commander я└п╟п╧п╩п╬п╡я▀п╧ п╪п╣п╫п╣п╢п╤п╣я─ п╢п╩я▐ Linux, 
п©п╬п╢п╬п╠п╫я▀п╧ Norton Commander. п▒п╟п╥п╦я─я┐п╣я┌я│я▐ п╫п╟ Qt-GUI.

%prep
%setup -q -n %name

%build
$QTDIR/bin/qmake
%make_build CFLAGS="%optflags" CXXFLAGS="%optflags"

%install
install -d -m 0755 %buildroot{%_bindir,%_datadir/%name/{lang,images},
%_desktopdir,%_niconsdir}
install -m 0755 %name %buildroot%_bindir/
install -m644 %name.png %buildroot%_niconsdir/
install -m644 images/*.png %buildroot%_datadir/%name/images/
install -m 0644 *.qm %buildroot%_datadir/%name/lang/
#install -m 0644 %name.desktop %buildroot%_desktopdir/
ln -sf %_datadir/license/GPL-2 %buildroot%_datadir/%name/licence.txt
bzip2 --best --force --keep -- ChangeLog.txt

# menu
iconv -f koi8-r -t utf-8 >> %buildroot%_desktopdir/%name.desktop <<__MENU__
[Desktop Entry]
Encoding=UTF-8
Type=Application
Exec=%name
Icon=%name
Terminal=false
Name=BeesoftCommander
Comment=Qt based file manager
Categories=Application;FileManager;Utility;Qt;
__MENU__


%files
%doc ChangeLog.txt.*
%_bindir/*
%_datadir/%name
%_desktopdir/*
%_niconsdir/*

%post
%update_menus

%postun
%clean_menus

При сборка система выдала ошибку на 

%_desktopdir/*
%_niconsdir/*

Требуя что бы они начинались с /. Так вот, как правильно это должно быть 
происано в спеке? Без этих двух строк всё нормально собралось, но нет файла 
меню.
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
ICQ: 271053845

             reply	other threads:[~2006-05-13  5:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-13  5:16 Шенцев Алексей Владимирович [this message]
2006-05-15 19:14 ` Michael Shigorin
2006-05-16  5:15   ` Шенцев Алексей Владимирович
2006-05-18 12:31     ` [sisyphus] %_desktopdir, %_niconsdir backport macros Michael Shigorin
2006-05-15 19:14 ` [sisyphus] Структура спека и файла меню для ALC30 Michael Shigorin

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=200605130916.04923.ashen@nsrz.ru \
    --to=ashen@nsrz.ru \
    --cc=sisyphus@lists.altlinux.org \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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