]> git.pld-linux.org Git - packages/libtiff.git/blame - libtiff.spec
- updated to 4.1.0
[packages/libtiff.git] / libtiff.spec
CommitLineData
b757d9b6
JK
1#
2# Conditional build:
ace3440b
JB
3%bcond_without opengl # do not build OpenGL viewer
4%bcond_with jpeg12 # dual 8/12-bit libjpeg mode
b757d9b6 5#
ed5d0549 6Summary: Library for handling TIFF files
de17f669
ER
7Summary(de.UTF-8): Library zum Verwalten von TIFF-Dateien
8Summary(fr.UTF-8): Bibliothèque de gestion des fichiers TIFF
c3393b89 9Summary(pl.UTF-8): Biblioteka do manipulacji plikami w formacie TIFF
de17f669 10Summary(tr.UTF-8): TIFF dosyalarını işleme kitaplığı
12e805ef 11Name: libtiff
870af192 12Version: 4.1.0
8c0eba6a 13Release: 1
1681c00e 14License: BSD-like
12e805ef 15Group: Libraries
dd1b0305 16Source0: http://download.osgeo.org/libtiff/tiff-%{version}.tar.gz
870af192 17# Source0-md5: 2165e7aba557463acc0664e71a3ed424
078b9114 18Patch0: %{name}-glut.patch
4bca8548 19URL: http://www.simplesystems.org/libtiff/
b757d9b6 20%{?with_opengl:BuildRequires: OpenGL-glut-devel}
66e083c2 21BuildRequires: autoconf >= 2.64
0903de51 22BuildRequires: automake >= 1:1.11
d13d9e9c 23BuildRequires: jbigkit-devel
fa9d2f68 24BuildRequires: libjpeg-devel
ace3440b 25%{?with_jpeg12:BuildRequires: libjpeg12-devel}
dd9b3cdb 26BuildRequires: libstdc++-devel
845fd3d0 27BuildRequires: libtool >= 2:2.2
a662a451 28BuildRequires: libwebp-devel
062d5959
JB
29%{?with_opengl:BuildRequires: xorg-lib-libX11-devel}
30BuildRequires: xz-devel
b8102648 31BuildRequires: zlib-devel
a662a451
JB
32BuildRequires: zstd-devel >= 1.0.0
33Requires: zstd >= 1.0.0
71d4c69c 34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
06657097 35
36%description
37This package is a library of functions that manipulate TIFF images.
38
43617c5d 39%description -l de.UTF-8
96905d58 40Eine Library von Funktionen zur Manipulation von TIFFs.
06657097 41
43617c5d
JR
42%description -l fr.UTF-8
43Bibliothèque de fonctions pour manipuler des images TIFF.
06657097 44
43617c5d
JR
45%description -l pl.UTF-8
46Ten pakiet zawiera bibliotekę pozwalającą manipulować plikami w
f432c827 47formacie TIFF.
06657097 48
43617c5d
JR
49%description -l tr.UTF-8
50Bu paket TIFF resimlerini işleyen fonksiyonlardan oluşan bir
51kitaplıktır.
06657097 52
c2f32c05 53%package devel
5d31ce99 54Summary: Header files for developing programs using libtiff
de17f669
ER
55Summary(de.UTF-8): Header zur Entwicklung von Programmen unter Verwendung von libtiff
56Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki libtiff
12e805ef 57Group: Development/Libraries
1681c00e 58Requires: %{name} = %{version}-%{release}
d1a9894b 59Requires: jbigkit-devel
dd9b3cdb 60Requires: libjpeg-devel
ace3440b 61%{?with_jpeg12:Requires: libjpeg12-devel}
a662a451 62Requires: libwebp-devel
062d5959 63Requires: xz-devel
dd9b3cdb 64Requires: zlib-devel
a662a451 65Requires: zstd-devel >= 1.0.0
06657097 66
67%description devel
68This package is all you need to develop programs that manipulate tiff
69images.
70
43617c5d
JR
71%description devel -l de.UTF-8
72Dieses Paket enthält alles, was Sie zum Entwickeln von Programmen zum
73Bearbeiten von tiff-Bildern benötigen.
06657097 74
43617c5d
JR
75%description devel -l fr.UTF-8
76Ce package contient tout le nécessaire pour réaliser des programmes
06657097 77manipulant des images au format tiff.
78
43617c5d
JR
79%description devel -l pl.UTF-8
80Pakiet ten zawiera wszystko co potrzebujesz przy pisaniu programów
81operujących na formacie tiff.
ed5d0549 82
43617c5d
JR
83%description devel -l tr.UTF-8
84tiff resimlerini işleyen programlar yazmak için gerekli dosyalar bu
85pakette yer alır.
06657097 86
1681c00e
JB
87%package static
88Summary: Static version libtiff library
de17f669 89Summary(pl.UTF-8): Biblioteka statyczna libtiff
1681c00e
JB
90Group: Development/Libraries
91Requires: %{name}-devel = %{version}-%{release}
92
93%description static
94Static libtiff library.
95
43617c5d 96%description static -l pl.UTF-8
1681c00e
JB
97Statyczna biblioteka libtiff.
98
dd9b3cdb
JB
99%package cxx
100Summary: libtiff C++ streams library
de17f669 101Summary(pl.UTF-8): Biblioteka strumieni C++ dla libtiff
dd9b3cdb
JB
102Group: Libraries
103Requires: %{name} = %{version}-%{release}
104
105%description cxx
106libtiff C++ streams library.
107
43617c5d 108%description cxx -l pl.UTF-8
dd9b3cdb
JB
109Biblioteka strumieni C++ dla libtiff.
110
111%package cxx-devel
112Summary: libtiff C++ streams API
de17f669 113Summary(pl.UTF-8): API strumieni C++ dla libtiff
dd9b3cdb
JB
114Group: Development/Libraries
115Requires: %{name}-cxx = %{version}-%{release}
116Requires: %{name}-devel = %{version}-%{release}
117Requires: libstdc++-devel
118
119%description cxx-devel
120libtiff C++ streams API.
121
43617c5d 122%description cxx-devel -l pl.UTF-8
dd9b3cdb
JB
123API strumieni C++ dla libtiff.
124
125%package cxx-static
126Summary: libtiff C++ streams static library
de17f669 127Summary(pl.UTF-8): Statyczna biblioteka strumieni C++ dla libtiff
dd9b3cdb
JB
128Group: Development/Libraries
129Requires: %{name}-cxx-devel = %{version}-%{release}
130
131%description cxx-static
132libtiff C++ streams static library.
133
43617c5d 134%description cxx-static -l pl.UTF-8
dd9b3cdb
JB
135Statyczna biblioteka strumieni C++ dla libtiff.
136
c2f32c05 137%package progs
12e805ef 138Summary: Simple clients for manipulating tiff images
de17f669
ER
139Summary(de.UTF-8): Einfachen Clients zur Manipulation von tiff
140Summary(fr.UTF-8): Clients simples pour manipuler de telles images
141Summary(pl.UTF-8): Kilka prostych programów do manipulowania na plikach tiff
a109d805 142Group: Applications/Graphics
1681c00e 143Requires: %{name} = %{version}-%{release}
06657097 144
145%description progs
146Simple clients for manipulating tiff images.
147
43617c5d 148%description progs -l de.UTF-8
06657097 149Einfachen Clients zur Manipulation von tiff.
150
43617c5d 151%description progs -l fr.UTF-8
06657097 152Clients simples pour manipuler de telles images.
153
43617c5d
JR
154%description progs -l pl.UTF-8
155Kilka prostych programów do manipulowania na plikach tiff.
06657097 156
1681c00e
JB
157%package progs-gl
158Summary: tiffgt - OpenGL-based tiff viewer
de17f669 159Summary(pl.UTF-8): tiffgt - program do oglądania plików tiff oparty o OpenGL
1681c00e
JB
160Group: Applications/Graphics
161Requires: %{name} = %{version}-%{release}
06657097 162
1681c00e
JB
163%description progs-gl
164tiffgt - OpenGL-based tiff viewer.
06657097 165
43617c5d
JR
166%description progs-gl -l pl.UTF-8
167tiffgt - program do oglądania plików tiff oparty o OpenGL.
06657097 168
06657097 169%prep
1681c00e 170%setup -q -n tiff-%{version}
062d5959 171%patch0 -p1
98ec66eb 172
06657097 173%build
1681c00e 174%{__libtoolize}
98ec66eb 175%{__aclocal} -I m4
1681c00e
JB
176%{__autoconf}
177%{__autoheader}
178%{__automake}
8d2addb3 179%configure \
ace3440b
JB
180 %{!?with_opengl:--without-x} \
181 %{?with_jpeg12:--enable-jpeg12 --with-jpeg12-include-dir=%{_includedir}/libjpeg12 --with-jpeg12-lib=-ljpeg12}
1681c00e
JB
182
183%{__make}
06657097 184
185%install
186rm -rf $RPM_BUILD_ROOT
1189da32 187
1681c00e
JB
188%{__make} install \
189 DESTDIR=$RPM_BUILD_ROOT
34ea33ac 190
078b9114 191%{__rm} -r html{,/*}/Makefile* $RPM_BUILD_ROOT%{_docdir}/tiff-%{version}
06657097 192
61c4f216 193# libtiff*.la kept - no .pc file for libtiffxx
062d5959 194
06657097 195%clean
196rm -rf $RPM_BUILD_ROOT
197
b8102648
JB
198%post -p /sbin/ldconfig
199%postun -p /sbin/ldconfig
200
06657097 201%files
c6061f80 202%defattr(644,root,root,755)
8c0eba6a 203%doc COPYRIGHT ChangeLog README.md TODO
dd9b3cdb 204%attr(755,root,root) %{_libdir}/libtiff.so.*.*.*
062d5959 205%attr(755,root,root) %ghost %{_libdir}/libtiff.so.5
06657097 206
207%files devel
1189da32 208%defattr(644,root,root,755)
fa9d2f68 209%doc html/*
dd9b3cdb
JB
210%attr(755,root,root) %{_libdir}/libtiff.so
211%{_libdir}/libtiff.la
212%{_includedir}/tiff*.h
062d5959 213%{_pkgconfigdir}/libtiff-4.pc
0903de51
JB
214%{_mandir}/man3/TIFF*.3tiff*
215%{_mandir}/man3/libtiff.3tiff*
06657097 216
1681c00e
JB
217%files static
218%defattr(644,root,root,755)
dd9b3cdb
JB
219%{_libdir}/libtiff.a
220
221%files cxx
222%defattr(644,root,root,755)
4f61b455 223%attr(755,root,root) %{_libdir}/libtiffxx.so.*.*.*
062d5959 224%attr(755,root,root) %ghost %{_libdir}/libtiffxx.so.5
dd9b3cdb
JB
225
226%files cxx-devel
227%defattr(644,root,root,755)
4f61b455
KK
228%attr(755,root,root) %{_libdir}/libtiffxx.so
229%{_libdir}/libtiffxx.la
dd9b3cdb
JB
230%{_includedir}/tiffio.hxx
231
232%files cxx-static
233%defattr(644,root,root,755)
4f61b455 234%{_libdir}/libtiffxx.a
1681c00e 235
06657097 236%files progs
1189da32 237%defattr(644,root,root,755)
062d5959
JB
238%attr(755,root,root) %{_bindir}/fax2ps
239%attr(755,root,root) %{_bindir}/fax2tiff
062d5959
JB
240%attr(755,root,root) %{_bindir}/pal2rgb
241%attr(755,root,root) %{_bindir}/ppm2tiff
062d5959 242%attr(755,root,root) %{_bindir}/raw2tiff
062d5959 243%attr(755,root,root) %{_bindir}/tiff[!g]*
062d5959
JB
244%{_mandir}/man1/fax2ps.1*
245%{_mandir}/man1/fax2tiff.1*
062d5959
JB
246%{_mandir}/man1/pal2rgb.1*
247%{_mandir}/man1/ppm2tiff.1*
062d5959 248%{_mandir}/man1/raw2tiff.1*
062d5959 249%{_mandir}/man1/tiff[!g]*.1*
06657097 250
b757d9b6 251%if %{with opengl}
1681c00e 252%files progs-gl
c6061f80 253%defattr(644,root,root,755)
1681c00e
JB
254%attr(755,root,root) %{_bindir}/tiffgt
255%{_mandir}/man1/tiffgt.1*
b757d9b6 256%endif
This page took 0.151873 seconds and 4 git commands to generate.