Group :: Sistema/Bibliotecas
RPM: libqt3-imageformat-tiff
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define dist TiffIO
%define major 1
%define minor 2
%define beta 0
%define distrel e
%define altrel alt2
#
%define tar %dist-%major%minor%beta%distrel
%define INSTDIR %_qt3dir/plugins/imageformats
%define PLUGIN libTiffIO.so
%define rel %altrel
%if %distrel != "%nil"
%define rel %altrel.%distrel
%endif
Name: libqt3-imageformat-tiff
Version: %major%minor%beta
Release: %rel
Group: System/Libraries
Summary: Plugin to add TIFF images read/write capabilities to the Qt3
Url: http://artis.inrialpes.fr/Logiciels/TiffIO
License: CeCILL_V1
Source: ftp://tiffio.sourceforge.net/%tar.tgz
# Automatically added by buildreq on Thu Dec 13 2007 (-bi)
#BuildRequires: gcc-c++ libXext-devel libjpeg-devel libqt3-devel libtiff-devel
BuildRequires: gcc-c++ xorg-x11-devel libjpeg-devel libqt3-devel libtiff-devel
%description
TiffIO is a plugin that add TIFF images read/write capabilities to the Qt3
QImage class.
Adding the generated plugin in the Qt's tree enable any Qt application to
manipulate TIFF images. TiffIO come with a self-test suite, and have been
compiled and used successfully on a variety of windows and unixes platforms.
All TIFF operations are based on libtiff 3.7.2, this plugin is just a wrapper
that enable to use it transparently from the QImage class, and the QImageIO
%prep
%setup -n %tar
rm -rf libtiff-*
echo "QMAKE_CXXFLAGS_RELEASE += %optflags %optflags_shared" >> rules.pri
qmake-qt3 CONFIG+=libtiff TIFF=%_includedir TiffIO.pro
%build
%make_build
%install
mkdir -p %buildroot/%INSTDIR
install -m 0644 %PLUGIN %buildroot/%INSTDIR
%files
%doc README* Licence*
%INSTDIR/%PLUGIN
%docdir %DOCDIR
%changelog
…
Todas as alterações você pod ver aqui
%define major 1
%define minor 2
%define beta 0
%define distrel e
%define altrel alt2
#
%define tar %dist-%major%minor%beta%distrel
%define INSTDIR %_qt3dir/plugins/imageformats
%define PLUGIN libTiffIO.so
%define rel %altrel
%if %distrel != "%nil"
%define rel %altrel.%distrel
%endif
Name: libqt3-imageformat-tiff
Version: %major%minor%beta
Release: %rel
Group: System/Libraries
Summary: Plugin to add TIFF images read/write capabilities to the Qt3
Url: http://artis.inrialpes.fr/Logiciels/TiffIO
License: CeCILL_V1
Source: ftp://tiffio.sourceforge.net/%tar.tgz
# Automatically added by buildreq on Thu Dec 13 2007 (-bi)
#BuildRequires: gcc-c++ libXext-devel libjpeg-devel libqt3-devel libtiff-devel
BuildRequires: gcc-c++ xorg-x11-devel libjpeg-devel libqt3-devel libtiff-devel
%description
TiffIO is a plugin that add TIFF images read/write capabilities to the Qt3
QImage class.
Adding the generated plugin in the Qt's tree enable any Qt application to
manipulate TIFF images. TiffIO come with a self-test suite, and have been
compiled and used successfully on a variety of windows and unixes platforms.
All TIFF operations are based on libtiff 3.7.2, this plugin is just a wrapper
that enable to use it transparently from the QImage class, and the QImageIO
%prep
%setup -n %tar
rm -rf libtiff-*
echo "QMAKE_CXXFLAGS_RELEASE += %optflags %optflags_shared" >> rules.pri
qmake-qt3 CONFIG+=libtiff TIFF=%_includedir TiffIO.pro
%build
%make_build
%install
mkdir -p %buildroot/%INSTDIR
install -m 0644 %PLUGIN %buildroot/%INSTDIR
%files
%doc README* Licence*
%INSTDIR/%PLUGIN
%docdir %DOCDIR
%changelog
…
Todas as alterações você pod ver aqui