ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: andriy <l.andriy@gmail.com>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: [Comm] labplot-1.6.0.2
Date: Mon, 23 Mar 2009 08:53:48 +0200
Message-ID: <49C731FC.3040202@gmail.com> (raw)

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

Hi,community!
Есть новая версия LabPlot-1.6.0.2
В Альт3.0 была 1.5.0, мейнтейнером был Vitaly Lipatov и Михаил Шигорин.
Из исходников собирается, но rpm почему-то создать не могу.
Беру spec из предыдущих, немного правлю некоторые зависимости, но 
почему-то собрать не могу
ни с помощью простого rpmbb, ни с помощью hesher'а:
.......................................................(skiped).....................
../liborigin-20070926/OPJFile.cpp:2820: warning: ignoring return value 
of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute 
warn_unused_result
make[2]: Leaving directory `/usr/src/RPM/BUILD/LabPlot-1.6.0.2/src'
make[1]: Leaving directory `/usr/src/RPM/BUILD/LabPlot-1.6.0.2/src'
make[2]: *** [LabPlot] Error 1
make[1]: *** [all-recursive] Error 1
make: Leaving directory `/usr/src/RPM/BUILD/LabPlot-1.6.0.2'


RPM build errors:
make: *** [all-recursive] Error 1
error: Bad exit status from /usr/src/tmp/rpm-tmp.48961 (%build)
    Bad exit status from /usr/src/tmp/rpm-tmp.48961 (%build)
Command exited with non-zero status 1
585.62user 71.48system 11:23.98elapsed 96%CPU (0avgtext+0avgdata 
0maxresident)k
0inputs+153440outputs (0major+22982455minor)pagefaults 0swaps
hsh-rebuild: rebuild of `labplot-1.6.0.2-alt7.src.rpm' failed.

!!!!!!! Hasher: FAILED FAILED FAILED !!!!!!!!!
Failed with labplot-1.6.0.2-alt7.src.rpm, built only

Command exited with non-zero status 1
624.36user 85.70system 27:16.67elapsed 43%CPU (0avgtext+0avgdata 
0maxresident)k
449872inputs+2061856outputs (435major+23972254minor)pagefaults 0swaps
понеділок, 23 березня 2009 02:10:49 +0200


Видимо не разобрался в документации.
Посоветуйте как собрать rpm?
Или это к мейнтейнерам?


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

%define pre 2 
Name: labplot
Version: 1.6.0.2
Release: alt7

Summary: Function and Data Plotter
Summary(ru_RU.UTF-8): Построитель графиков по данным и функциям

Packager: Michael Shigorin <mike@altlinux.org>

Url: http://labplot.sourceforge.net
Group: Sciences/Other
License: GPL

Source: http://dl.sf.net/labplot/LabPlot-%version.tar.bz2
Source1: LabPlot-1.6.0.2.tar.bz2
#Source1: /usr/src/RPM/SOURCES/LabPlot-1.6.0.2.tar.bz2
#Source1: %name-%version.ru.po

# manually removed: boson gcc-g77 hostinfo libnetcdf-devel
# Automatically added by buildreq on Mon Dec 27 2004
BuildRequires: bzlib-devel fontconfig freetype2-devel gcc-c++ kde-settings kdelibs-devel libImageMagick-devel libarts-devel libaudiofile-devel libfftw3-devel libgsl-devel libjasper-devel libjpeg-devel liblcms-devel libpng-devel libqscintilla2-qt3-designer libqt3-devel libqt3-qsa-devel libqt3-settings libqwt-devel libstdc++-devel libtiff-devel pstoedit qt3-designer xml-utils xorg-x11-devel xorg-x11-libs zlib-devel

Requires: ImageMagick >= 5.4.7 gsl pstoedit

%description
This is a program for plotting of functions and data manipulation.

A versatile spreadsheet for data import and editing was added. Also a better
3 dimensional plot with rotation and colormaps is available.
Newly supported are data set operations and image manipulations. One can now 
import over 80 different images formats and export directly to ps, eps or pdf.
The plots now use double buffering and LabPlot supports scripting using
QSA.

%description -l ru_RU.UTF-8
Это программа для построения графиков функций и
обработки данных.

%prep
%setup -q -n LabPlot-%version
#cp -f %{SOURCE1} po/ru.po
%__subst "s/\.la/\.so/g" configure

%build
export QTDIR=%_libdir/qt3
export KDEDIR=%_libdir/kde3
export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH
%configure --disable-static	--disable-rpath \
	--enable-fftw3 --enable-gl --enable-audiofile --enable-jasper \
	--enable-gsl --enable-grass --enable-pstoedit --enable-qsa \
	--disable-cdf
# needed new packages:
#	--enable-cdf 

%make

%install
make DESTDIR="%buildroot" install

mkdir -p %buildroot%_menudir
cat >%buildroot%_menudir/%name <<EOF
?package(%name): command="LabPlot" \\
section="Applications/Sciences/Mathematics" \\
title="LabPlot" \\
longtitle="Function and Data Plotter" \\
genericname="Flowcharting and Diagramming" \\
icon="%name.png" \\
needs="x11"
EOF

%__install -D -m644 src/icons/lo32-app-LabPlot.png %buildroot%_iconsdir/%name.png
%__install -D -m644 src/icons/lo16-app-LabPlot.png %buildroot%_miconsdir/%name.png
%__install -D -m644 src/icons/hi48-app-LabPlot.png %buildroot%_liconsdir/%name.png

%find_lang LabPlot --with-kde

%post
%update_menus

%postun
%clean_menus

%files -f LabPlot.lang
%doc README TODO INSTALL ChangeLog CHANGES FEATURES LabPlot.lsm doc/cephes.doc
%_bindir/*
/usr/share/applnk/Applications/*
/usr/share/mimelnk/application/x-lpl.desktop
/usr/share/apps/LabPlot
%_iconsdir/%{name}*
%_liconsdir/%{name}*
%_miconsdir/%{name}*
%_menudir/%name
%_mandir/man?/*

#/usr/share/icons/locolor/16x16/mimetypes/lpl.png
#/usr/share/icons/locolor/32x32/mimetypes/lpl.png
#/usr/share/icons/hicolor/48x48/mimetypes/lpl.png
#/usr/share/icons/hicolor/64x64/mimetypes/lpl.png
%_libdir/*.so.*

%changelog
* Sun Mar 22 2009 Michael Shigorin <mike@altlinux.org> 1.6.0.2-alt7
Build for brahch 5.0

* Thu Mar 23 2006 Michael Shigorin <mike@altlinux.org> 1.5.0-alt0.0.4.M30.1
- built for 3.0 on request from Turkov Oleg (errata)

* Tue Oct 04 2005 Vitaly Lipatov <lav@altlinux.ru> 1.5.0-alt0.4
- new version

* Mon Dec 27 2004 Vitaly Lipatov <lav@altlinux.ru> 1.4.0-alt1
- new version

* Mon Nov 08 2004 Vitaly Lipatov <lav@altlinux.ru> 1.3.1-alt1
- release

* Fri Sep 17 2004 ALT QA Team Robot <qa-robot@altlinux.org> 1.3.1-alt0.1pre2.1
- Rebuilt with libtiff.so.4.

* Sat Jul 31 2004 Vitaly Lipatov <lav@altlinux.ru> 1.3.1-alt0.1pre2
- new version
- add russian translation

* Sat Jun 19 2004 Vitaly Lipatov <lav@altlinux.ru> 1.3.0-alt1
- first build for Sisyphus


             reply	other threads:[~2009-03-23  6:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-23  6:53 andriy [this message]
2009-03-23  6:55 ` Хихин Руслан
2009-03-23  7:42   ` andriy
2009-03-23  7:40     ` Andrey Rahmatullin
2009-03-23  7:43 ` Oleg Turkov
2009-03-23  8:19   ` andriy

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=49C731FC.3040202@gmail.com \
    --to=l.andriy@gmail.com \
    --cc=community@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 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