ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] SEvents
Date: Sat, 31 May 2008 11:31:28 +0300
Message-ID: <20080531083128.GM21621@osdn.org.ua> (raw)
In-Reply-To: <f725ea640805301545r543ef796n8fd940663d3d12e6@mail.gmail.com> <f725ea640805301502l437056a5xbc0618b77e4ac404@mail.gmail.com> <e12fd2db0805301314p8eaaed9rf6910274ce06966f@mail.gmail.com>

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

On Fri, May 30, 2008 at 11:14:52PM +0300, Eugene Ostapets wrote:
> > jar: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
> BuildRequires: /proc ?

Ага, только с учётом того, что hsh пускаю руками, а не обёрткой,
которая это учитывает и добавляет --mount=/proc -- надо добавить
и впредь не лениться проверить stderr по архивам:

http://lists.altlinux.org/pipermail/devel/2007-August/061424.html

Сам же делал http://search.altlinux.org/ %)

On Sat, May 31, 2008 at 03:02:54AM +0500, Rinat Bikov wrote:
> > Но у Вас, похоже, что-то из переменных окружения JAVA_*
> > выставлено как надо -- у меня опять ловится:
> > + jar cfm sevents-1.0.jar ../manifest.mf .
> > jar: error while loading shared libraries: libjli.so: cannot open shared
> > object file: No such file or directory
> Странно, в универе на бранч 4.0 достаточно было доставить
> java-1.6.0-sun-devel_03%a1.6.0.05-alt1_i586.rpm
> к имеющемуся пакету
> java-1.6.0-sun_03%a1.6.0.05-alt1_i586.rpm (вроде % правильно
> поставил) чтобы заработало (просто rpm установилось, из src.rpm
> так и не вышло поставить по большей степени потому, что
> интернет было закончился).

См. выше, это я медленный газ.

$ nice time hsh --mount=/proc --no-sisyphus-check ~/hasher/tmpfs /home/mike/RPM/SRPMS/sevents-1.0-alt1.1.src.rpm
[...]
Wrote: /usr/src/RPM/SRPMS/sevents-1.0-alt1.1.src.rpm
Wrote: /usr/src/RPM/RPMS/noarch/sevents-1.0-alt1.1.noarch.rpm
5.96user 0.93system 0:09.56elapsed 72%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+165939minor)pagefaults 0swaps
19.41user 8.72system 0:31.24elapsed 90%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (1major+1253566minor)pagefaults 0swaps
$ _

Спек прилагается, но по существу отличие от исходного варианта --

# Automatically added by buildreq on Fri May 30 2008
BuildRequires: java-devel unzip
BuildPreReq: rpm-build-java
BuildPreReq: java-devel >= 1.6.0
BuildRequires: /proc
BuildArch: noarch

Requires: java >= 1.6.0

On Sat, May 31, 2008 at 03:45:45AM +0500, Rinat Bikov wrote:
> Большое спасибо за помощь.  Если ещё будут замечания
> - с радостью приму.

А у меня закончились :)

Только вот смотрю на пакет и думаю -- давайте не буду его 
в сизиф за Вас забрасывать? :)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

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

Name: sevents
Version: 1.0
Release: alt1.1

Summary: System of Events programming with random factor
License: GPL
Group: Education

Url: https://sourceforge.net/projects/sevents
Source: http://downloads.sourceforge.net/sevents/%name-%version.zip
Packager: Rinat Bikov <bikr@mail.ru>

# Automatically added by buildreq on Fri May 30 2008
BuildRequires: java-devel unzip
BuildPreReq: rpm-build-java
BuildPreReq: java-devel >= 1.6.0
BuildRequires: /proc
BuildArch: noarch

Requires: java >= 1.6.0

%description
SEvents is a System of Event programming with random factor 
designed to accept script file and execute it with using extra 
modules. One module - one object, who relate on changing of some variables.
It can change variables values, manages events activity and draw himself,
using standart interface.

%description -l ru_RU.UTF8
SEvents - п©я─п╬я│я┌п╣п╧я┬п╟я▐ я│п╦я│я┌п╣п╪п╟ я│п╬п╠я▀я┌п╦п╧пҐп╬пЁп╬ п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟пҐп╦я▐ я│ я└п╟п╨я┌п╬я─п╬п╪ я│п╩я┐я┤п╟п╧пҐп╬я│я┌п╦.
п·пҐп╟ п©п╬пЄпЄп╣я─пІп╦п╡п╟п╣я┌ п©п╬пЄп╨п╩я▌я┤п╣пҐп╦п╣ пЄп╦пҐп╟п╪п╦я┤п╣я│п╨п╦я┘ п╠п╦п╠п╩п╦п╬я┌п╣п╨ (dll, dso)
п╡ п╨п╟я┤п╣я│я┌п╡п╣ п╪п╬пЄя┐п╩п╣п╧, п©я─п╦ я│я┌п╟я─я┌п╣ п╦я│п©п╬п╩пҐя▐п╣я┌ я└п╟п╧п╩ я│п╨я─п╦п©я┌п╟, я┐п╨п╟пЇп╟пҐпҐя▀п╧
п╡ ~/sevents/.cfg/sevents.conf.

%prep
%setup -q

%build
cd jar
../sevents -d . compile
jar cfm %name-%version.jar ../manifest.mf `ls -a | grep -v '..'`

%install
mkdir -p %buildroot/%_javadir
mkdir -p %buildroot/%_bindir
install -m 755 ./jar/%name-%version.jar  %buildroot/%_javadir/%name-%version.jar
install -m 755 sevents %buildroot/%_bindir/sevents
ln -s %_javadir/%name-%version.jar %buildroot/%_javadir/%name.jar
mkdir -p %buildroot/%_man1dir/
cp -r man/* %buildroot/%_man1dir/


%files
%doc README README.RUS BNF
%_man1dir/*
%_javadir/*
%_bindir/*

%changelog
* Sat May 31 2008 Michael Shigorin <mike@altlinux.org> 1.0-alt1.1
- minor spec fixup/cleanup
- comprehensive buildrequires (thanks Rinat Bikov and Eugene Ostapets)

* Fri May 30 2008 Rinat Bikov <bikr@mail.ru> 1.0-alt1
- initial build

  parent reply	other threads:[~2008-05-31  8:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-30 15:22 ` Michael Shigorin
2008-05-30 19:39     ` Michael Shigorin
2008-05-30 20:14       ` Eugene Ostapets
2008-05-31  8:31           ` Michael Shigorin [this message]
2008-05-30 20:48         ` Michael Shigorin
2008-05-30 21:23             ` 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=20080531083128.GM21621@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=community@lists.altlinux.org \
    --cc=shigorin@gmail.com \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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