Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37559546
en ru br
ALT Linux repos
S:140-alt4.a
5.0: 120-alt2.e
4.1: 120-alt2.e
4.0: 120-alt2.e

Group :: System/Libraries
RPM: libqt3-imageformat-tiff

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define dist TiffIO
%define major 1
%define minor 4
%define beta  0
%define distrel   a
%define altrel  alt4
#
%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: %tar.tar


# Automatically added by buildreq on Thu Apr 21 2011 (-bi)

# optimized out: elfutils fontconfig libX11-devel libXext-devel libstdc++-devel python-base ruby zlib-devel
#BuildRequires: gcc-c++ libjpeg-devel libqt3-devel libtiff-devel rpm-build-ruby
BuildRequires: gcc-c++ 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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin