Group :: Sistema/Bibliotecas
RPM: libqwtplot3d
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: libqwtplot3d
Version: 0.2.4
Release: alt0.2beta
Summary: 3D plotting widget extension to the Qt GUI
License: LGPL
Group: System/Libraries
Url: http://qwtplot3d.sourceforge.net/
Packager: Vitaly Lipatov <lav at altlinux.ru>
%define qtdir %_libdir/qt3
Source: qwtplot3d-%version-beta.tar.bz2
# Automatically added by buildreq on Fri Dec 03 2004
BuildRequires: fontconfig freetype2 gcc-c++ libqt3-devel libqt3-settings libstdc++-devel xorg-x11-devel xorg-x11-libs
%description
QwtPlot3D is a feature-rich Qt/OpenGL-based C++ programming library.
It provides essentially a bunch of 3D-widgets for programmers.
%package devel
Summary: Development tools for programs which uses QwtPlot3D Widget set
Group: System/Libraries
Requires: %name = %version
%description devel
QwtPlot3D is a feature-rich Qt/OpenGL-based C++ programming library.
It provides essentially a bunch of 3D-widgets for programmers.
%prep
%setup -q -n qwtplot3d
%build
export QTDIR=%qtdir
export PATH=$QTDIR/bin:$PATH
qmake qwtplot3d.pro
make
%install
mkdir -p %buildroot%qtdir/include/qwtplot3d
mkdir -p %buildroot%_libdir
for n in include/*.h ; do
install -m 644 $n %buildroot%qtdir/include/qwtplot3d
done
# install, preserving links
chmod 644 lib/libqwtplot3d.so*
for n in lib/libqwtplot3d.so* ; do
cp -d $n %buildroot%_libdir
done
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%_libdir/libqwtplot3d.so.*
%files devel
%qtdir/include/qwtplot3d
%_libdir/libqwtplot3d.so
%changelog
…
Todas as alterações você pod ver aqui
Version: 0.2.4
Release: alt0.2beta
Summary: 3D plotting widget extension to the Qt GUI
License: LGPL
Group: System/Libraries
Url: http://qwtplot3d.sourceforge.net/
Packager: Vitaly Lipatov <lav at altlinux.ru>
%define qtdir %_libdir/qt3
Source: qwtplot3d-%version-beta.tar.bz2
# Automatically added by buildreq on Fri Dec 03 2004
BuildRequires: fontconfig freetype2 gcc-c++ libqt3-devel libqt3-settings libstdc++-devel xorg-x11-devel xorg-x11-libs
%description
QwtPlot3D is a feature-rich Qt/OpenGL-based C++ programming library.
It provides essentially a bunch of 3D-widgets for programmers.
%package devel
Summary: Development tools for programs which uses QwtPlot3D Widget set
Group: System/Libraries
Requires: %name = %version
%description devel
QwtPlot3D is a feature-rich Qt/OpenGL-based C++ programming library.
It provides essentially a bunch of 3D-widgets for programmers.
%prep
%setup -q -n qwtplot3d
%build
export QTDIR=%qtdir
export PATH=$QTDIR/bin:$PATH
qmake qwtplot3d.pro
make
%install
mkdir -p %buildroot%qtdir/include/qwtplot3d
mkdir -p %buildroot%_libdir
for n in include/*.h ; do
install -m 644 $n %buildroot%qtdir/include/qwtplot3d
done
# install, preserving links
chmod 644 lib/libqwtplot3d.so*
for n in lib/libqwtplot3d.so* ; do
cp -d $n %buildroot%_libdir
done
%post
%post_ldconfig
%postun
%postun_ldconfig
%files
%_libdir/libqwtplot3d.so.*
%files devel
%qtdir/include/qwtplot3d
%_libdir/libqwtplot3d.so
%changelog
…
Todas as alterações você pod ver aqui