Репозиторий Sisyphus
Последнее обновление: 20 сентября 2019 | Пакетов: 17455 | Посещений: 15130706
en ru br
Репозитории ALT
S:0.9.8.9-alt8.svn20120124
5.1: 0.9.7.10-alt1.svn20091021.1
4.1: 0.9.2-alt1.1
4.0: 0.8.9-alt2
3.0: 0.5.8.3-alt1
www.altlinux.org/Changes

Группа :: Науки/Прочее
Пакет: qtiplot

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: qtiplot
Version: 0.8.9
#define subversion 3
Release: alt2

Summary: WYSIWYG tool to make two- and three-dimensional plots of scientific data
Summary(ru_RU.KOI8-R): Визуальное средство для отображения научных данных в виде двух- и трёхмерных графиков
Group: Sciences/Other
License: GPL
Url: http://soft.proindependent.com/%name.html

%define pkgdocdir %_docdir/%name-%version

Source: http://soft.proindependent.com/src/%name-%version.tar.bz2
Source1: %name.menu
Source2: %name.png
Source3: %name.desktop
Source4: faq.html
Source5: help.html
#The patch would be larger...
Source6: %{name}_ru.ts
Source7: %name-wrapper

Patch0: %name-0.8.4-translation-alt.patch
Patch1: %name-0.8.7-nopython-alt.patch
Patch2: %name-0.8.8-enabletranslation-alt.patch
Patch3: %name-0.8.9-paths-alt.patch.bz2

# Automatically added by buildreq on Sun May 06 2007

BuildRequires: gcc-c++ libgsl-devel libmesa-devel libqt3-devel libqwtplot3d-devel libXmu-devel python-module-qt-devel python-modules-encodings python-module-sip-devel
BuildRequires: liborigin-devel >= 20070115

%description
qtiplot is a program for scientific data visualizing. It can produce two- and three-dimensional
graphics and diagrams and export them to various graphics formats. It also can make some kind
of data processing.

%description -l ru_RU.KOI8-R
qtiplot -- программа для визуализации научных данных. Она позволяет строить двух- и трёхмерные
графики и диаграммы и экспортировать их в различные графические форматы. Также она имеет встроенные
средства для обработки данных.

%prep
%setup -q
%patch0 -p1
#patch1 -p1
%patch2 -p1
%patch3 -p1
find . -type f -name '*.pro' | while read FILE; do
   echo "QMAKE_CXXFLAGS_RELEASE = %optflags" >> "$FILE"
   echo "QMAKE_CFLAGS_RELEASE = %optflags" >> "$FILE"; done
cp -f %SOURCE6 %name/translations/

%build
export PATH='%_install_script_path:%_libdir/qt3/bin/'
qmake %name.pro
#Some virtual sex 'cause qtiplot bears its own libqwt version and links with it statically...
qmake 3rdparty/qwt/qwt.pro -o 3rdparty/qwt/Makefile
qmake 3rdparty/qwt/src/src.pro -o 3rdparty/qwt/src/Makefile
subst "s/^all:.*/all: staticlib/" 3rdparty/qwt/src/Makefile
%make_build

%install
export PATH='%_install_script_path:%_libdir/qt3/bin/'

install -pD -m755 %name/%name $RPM_BUILD_ROOT%_bindir/%name
install -pD -m644 %SOURCE1 $RPM_BUILD_ROOT%_menudir/%name
install -pD -m644 %SOURCE2 $RPM_BUILD_ROOT%_niconsdir/%name.png
mkdir -p $RPM_BUILD_ROOT%_datadir/pixmaps
ln -s %_niconsdir/%name.png $RPM_BUILD_ROOT%_datadir/pixmaps/%name.png

%ifdef _desktopdir
install -pD -m644 %SOURCE3 $RPM_BUILD_ROOT%_desktopdir/%name.desktop
%endif

mkdir -p $RPM_BUILD_ROOT%_datadir/%name/translations
cp %name/translations/*.qm $RPM_BUILD_ROOT%_datadir/%name/translations

mkdir -p $RPM_BUILD_ROOT%pkgdocdir
install -pD -m644 {%SOURCE4,%SOURCE5} $RPM_BUILD_ROOT%pkgdocdir

install -pD -m755 %SOURCE7 $RPM_BUILD_ROOT%_bindir/%name-wrapper

%post
%update_menus

%postun
%clean_menus

%files
%dir %_datadir/%name
%_datadir/%name/*
%dir %pkgdocdir
%pkgdocdir/*.html
%_bindir/*
%_iconsdir/*
%_datadir/pixmaps/*

%ifdef _desktopdir
%_desktopdir/*
%else
%_menudir/*
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin