Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37629696
en ru br
Репозитории ALT
5.1: 5.2.0-alt5
4.1: 5.0.2-alt2
4.0: 5.0.2-alt2
3.0: 4.2.0-alt4
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libqwt

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

Name: libqwt
Version: 5.0.2
Release: alt2

Summary: 2D plotting widget extension to the Qt GUI

License: LGPL
Group: System/Libraries
Url: http://sourceforge.net/projects/qwt

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://dl.sf.net/qwt/qwt-%version.tar.bz2
%define snapshot 20060130
#define snapshot %version
#Source: http://dl.sf.net/qwt/qwt-%snapshot.tar.bz2
Patch: %name-%version.patch

# Automatically added by buildreq on Wed Aug 01 2007

BuildRequires: gcc-c++ libqt4-devel libXext-devel

%description
Qwt is an extension to the Qt GUI library from Troll Tech AS.
The Qwt library contains widgets and components which are
primarily useful for technical and scientifical purposes.
It includes a 2-D plotting widget, different kinds of sliders,
and much more.

%package devel
Summary: Development tools for programs which uses Qwt Widget set
Group: Development/C
Requires: %name = %version

%description devel
The libqwt-devel package contains the header files and static libraries
necessary for developing programs using the Qwt Widget set

If you want to develop programs which will use this set of widgets,
you should install this package. You need also to install the libqwt package.

%prep
#setup -q -n qwt-%snapshot
%setup -q -n qwt-%version
%patch -p1
%__subst "s|/lib|/%_lib|g" qwtconfig.pri

%build
export QTDIR=%_qt4dir
export PATH=$QTDIR/bin:$PATH
qmake qwt.pro

# incompatible with SMP build

%make

%install
%make_install install INSTALL_ROOT=%buildroot

# clean up the example tree

(cd examples; make distclean)
(cd examples; rm -f .*.cache */.*.cache */*/.*.cache)
(cd examples; rm -rf Makefile */moc */obj */*/moc */*/obj)

rm -rf %buildroot/usr/doc

%post
%post_ldconfig

%postun
%postun_ldconfig

%files
%doc CHANGES README
%_libdir/libqwt.so.*
%_qt4dir/plugins/designer/*.so

%files devel
%doc doc/html/
%doc examples
%_includedir/qwt/
%_libdir/libqwt.so
#%_man3dir/*

%changelog

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

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