devel@ where you _can_ ask
 help / color / mirror / Atom feed
From: Andrew Clark <andrewclarkiii@gmail.com>
To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org>
Subject: [newbies] TOra
Date: Sat, 02 Jan 2010 10:46:12 +0300
Message-ID: <4B3EF9C4.8030404@gmail.com> (raw)

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

Добрый день!
Собираю утилиту для управления БД и разработки
на pl/sql. У нее странное желание пихать html документацию
в %_libdir, поскольку это не правильно, то приходится указывать
вручную места расположения файлов. Все-таки, есть сомнения
как поступить, устанавливать туда, куда указано в Makefile, или
устанавливать самому? И еще, как правильно установить
info файл вручную (какие действия необходимо сделать,
что бы файл был скомпрессирован и содержал dir файл)?
Сейчас получаю такую ошибку:

Compressing files in /home/andy/tmp/tora-buildroot (auto)
Verifying info files in /home/andy/tmp/tora-buildroot/usr/share/info
(normal)
install-info: warning: no info dir entry in
`/home/andy/tmp/tora-buildroot/usr/share/info/tora.info.bz2'
ошибка: Неверный код возврата из /home/andy/tmp/rpm-tmp.81104 (%install)

Ошибки сборки пакетов:
    Неверный код возврата из /home/andy/tmp/rpm-tmp.81104 (%install)
!!!!!!!! ERROR !!!!!
Error: Failed with /home/andy/RPM/SPECS/tora.spec

[-- Attachment #2: tora.spec --]
[-- Type: text/plain, Size: 1670 bytes --]

%define origname tora
Name: tora
Version: 2.1.1
Release: alt1
Summary: TOra is an open-source multi-platform database management GUI
License: GPL
Group: Games/Other
Url: http://www.torasql.com
Packager: Andrew Clark <andyc@altlinux.ru>
Source: http://sourceforge.net/projects/tora/files/tora/2.1.1/%name-%version.tar.gz

BuildRequires(pre): rpm-macros-cmake

# Automatically added by buildreq on Fri Jan 01 2010
BuildRequires: gcc-c++ glibc-devel-static imake libice-devel libX11-devel libpcre-devel libqscintilla2-qt4-devel xorg-cf-files

%description
TOra is a Toolkit for Oracle which aims to help the DBA or
developer of database applications. Features PL/SQL debugger,
SQL worksheet with syntax highlighting, DB browser and a full
set of DBA tools. TOra also includes support for MySQL and Postgres.

%prep
%setup -n %name-%version

%build
%configure
%make_build

%install
#%makeinstall_std

mkdir -p %buildroot/{%_bindir,%_libdir/%name,%_infodir,%_docdir/%name/{api,images}}

install -pD -m 755 %_builddir/%name-%version/src/%name %buildroot%_bindir/

install -pD -m 644 %_builddir/%name-%version/src/i18n/*.qm %buildroot%_libdir/%name/

install -pD -m 644 %_builddir/%name-%version/doc/help/%name/*.html  %buildroot%_docdir/%name/
install -pD -m 644 %_builddir/%name-%version/doc/help/images/*.png %buildroot%_docdir/%name/images

install %_builddir/%name-%version/doc/help/%name.info %buildroot%_infodir/

#install -pD -m 644 %_builddir/%name-%version/doc/help/api/ %buildroot%_docdir/%name/api

%files
%_bindir/*
%_libdir/%name/
%_docdir/%name
%_infodir/*.info*

%changelog
* Sat Jan 2 2010 Andrew Clark <andyc@altlinux.ru> 2.1.1-alt1
- initial build for ALT.


             reply	other threads:[~2010-01-02  7:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-02  7:46 Andrew Clark [this message]
2010-01-02 11:36 ` 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=4B3EF9C4.8030404@gmail.com \
    --to=andrewclarkiii@gmail.com \
    --cc=devel-newbies@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

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

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


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