1 Summary: Full featured image library
2 Summary(pl.UTF-8): Biblioteka obsługi obrazów z mnóstwem funkcji
8 Source0: http://downloads.sourceforge.net/openil/%{name}-%{version}.tar.gz
9 # Source0-md5: 4d8c21aa4822ac86d77e44f8d7c9becd
10 Patch0: %{name}-cmake.patch
11 Patch1: %{name}-info.patch
12 Patch2: %{name}-ILUT.patch
13 Patch3: %{name}-jasper3.patch
14 URL: http://openil.sourceforge.net/
15 BuildRequires: OpenEXR-devel
16 BuildRequires: OpenGL-GLU-devel
17 BuildRequires: SDL-devel >= 1.2.5
18 BuildRequires: allegro-devel >= 4.1.16
19 BuildRequires: cmake >= 2.6
20 BuildRequires: jasper-devel >= 3
21 BuildRequires: lcms2-devel >= 2
22 BuildRequires: libjpeg-devel
23 BuildRequires: libmng-devel
24 BuildRequires: libpng-devel
25 BuildRequires: libtiff-devel
26 BuildRequires: pkgconfig
27 BuildRequires: rpm-build >= 4.6
28 BuildRequires: rpmbuild(macros) >= 1.605
29 BuildRequires: squish-devel
30 BuildRequires: sed >= 4.0
32 BuildRequires: xorg-lib-libXext-devel
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 Developer's Image Library (DevIL) is a programmer's library to develop
37 applications with very powerful image loading capabilities, yet is
38 easy for a developer to learn and use. Ultimate control of images is
39 left to the developer, so unnecessary conversions, etc. are not
40 performed. DevIL utilizes a simple, yet powerful, syntax. DevIL can
41 load, save, convert, manipulate, filter and display a wide variety of
44 Currently, DevIL can load .bmp, .cut, .dds, .doom, .gif, .ico, .icns,
45 .jp2, .jpg, .lbm, .mdl, .mng, .pal, .pbm, .pcd, .pcx, .pgm, .pic,
46 .png, .ppm, .psd, .psp, .raw, .sgi, .tga and .tif files.
48 Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm,
49 .pcx, .pgm, .png, .ppm, .raw, .sgi, .tga and .tif.
51 %description -l pl.UTF-8
52 Developer's Image Library (DevIL) jest biblioteką programisty
53 pozwalającą tworzyć aplikacje z potężnymi możliwościami ładowania
54 obrazów. Pozostaje przy tym łatwa w użyciu i prosta do nauczenia się.
55 Ostateczna kontrola nad obrazami jest zostawiona programiście, nie
56 wprowadza się niepotrzebnych konwersji, itp. DevIL używa prostej, lecz
57 potężnej składni poleceń, wzorowanej na OpenGL-u. DevIL potrafi
58 ładować, zapisywać, konwertować, manipulować, filtrować szeroki
59 wachlarz formatów plików graficznych.
61 W chwili obecnej DevIL odczytuje pliki z rozszerzeniami bmp, cut, dds,
62 doom, gif, icns, ico, jp2, jpg, lbm, mdl, mng, pal, pbm, pcd, pcx,
63 pgm, pic, png, ppm, psd, psp, raw, sgi, tga i tif.
65 Obsługiwane jest zapisywanie do plików bmp, dds, h, jpg, pal, pbm,
66 pcx, pgm, png, ppm, raw, sgi, tga i tif.
69 Summary: DevIL development files
70 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek DevIL
71 Group: Development/Libraries
72 Requires: %{name} = %{version}-%{release}
73 Requires: OpenEXR-devel
74 Requires: jasper-devel >= 3
76 Requires: libjpeg-devel
77 Requires: libmng-devel
78 Requires: libpng-devel
79 Requires: libtiff-devel
80 Requires: squish-devel
81 Obsoletes: DevIL-static < 1.8
84 DevIL development files (for IL and ILU libraries).
86 %description devel -l pl.UTF-8
87 Pliki nagłówkowe bibliotek DevIL (IL i ILU).
90 Summary: DevIL ILUT library
91 Summary(pl.UTF-8): Biblioteka DevIL ILUT
93 Requires: %{name} = %{version}-%{release}
94 Requires: SDL >= 1.2.5
95 Requires: allegro >= 4.1.16
98 DevIL ILUT library - connection to higher level libraries.
100 %description ILUT -l pl.UTF-8
101 Biblioteka DevIL ILUT - łącznik z bibliotekami wyższego poziomu.
104 Summary: Development files for DevIL ILUT library
105 Summary(pl.UTF-8): Pliki programistyczne biblioteki DevIL ILUT
106 Group: Development/Libraries
107 Requires: %{name}-ILUT = %{version}-%{release}
108 Requires: %{name}-devel = %{version}-%{release}
109 Requires: OpenGL-GLU-devel
110 Requires: SDL-devel >= 1.2.5
111 Requires: allegro-devel >= 4.1.16
112 Requires: xorg-lib-libXext-devel
113 Obsoletes: DevIL-ILUT-static < 1.8
115 %description ILUT-devel
116 Development files for DevIL ILUT library.
118 %description ILUT-devel -l pl.UTF-8
119 Pliki programistyczne biblioteki DevIL ILUT.
122 Summary: DevIL documentation
123 Summary(pl.UTF-8): Dokumentacja DevIL
130 %description doc -l pl.UTF-8
141 # although there is configure.ac, but it misses some auxiliary files (m4/*)
142 # and Makefile.am files are outdated (refer to no longer existing *.c files)
143 install -d DevIL/build
147 # info is not covered by CMakeLists
150 cat >version.texi <<EOF
151 @set UPDATED 8 March 2009
152 @set UPDATED-MONTH March 2009
153 @set EDITION %{version}
154 @set VERSION %{version}
156 makeinfo DevIL_manual.texi
159 rm -rf $RPM_BUILD_ROOT
161 %{__make} -C DevIL/build install \
162 DESTDIR=$RPM_BUILD_ROOT
164 install -Dp DevIL/docs/DevIL_manual.info $RPM_BUILD_ROOT%{_infodir}/DevIL_manual.info
167 rm -rf $RPM_BUILD_ROOT
169 %post -p /sbin/ldconfig
170 %postun -p /sbin/ldconfig
172 %post devel -p /sbin/postshell
173 -/usr/sbin/fix-info-dir -c %{_infodir}
175 %postun devel -p /sbin/postshell
176 -/usr/sbin/fix-info-dir -c %{_infodir}
179 %defattr(644,root,root,755)
180 %doc DevIL/{AUTHORS,CREDITS,ChangeLog,NEWS,README.md,TODO}
181 %attr(755,root,root) %{_bindir}/ilur
182 %attr(755,root,root) %{_libdir}/libIL.so.*.*.*
183 %attr(755,root,root) %ghost %{_libdir}/libIL.so.1
184 %attr(755,root,root) %{_libdir}/libILU.so.*.*.*
185 %attr(755,root,root) %ghost %{_libdir}/libILU.so.1
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_libdir}/libIL.so
190 %attr(755,root,root) %{_libdir}/libILU.so
191 %dir %{_includedir}/IL
192 %{_includedir}/IL/il.h
193 %{_includedir}/IL/ilu.h
194 %{_includedir}/IL/ilu_region.h
195 %{_pkgconfigdir}/IL.pc
196 %{_pkgconfigdir}/ILU.pc
197 %{_infodir}/DevIL_manual.info*
200 %defattr(644,root,root,755)
201 %attr(755,root,root) %{_libdir}/libILUT.so.*.*.*
202 %attr(755,root,root) %ghost %{_libdir}/libILUT.so.1
205 %defattr(644,root,root,755)
206 %attr(755,root,root) %{_libdir}/libILUT.so
207 %{_includedir}/IL/devil_cpp_wrapper.hpp
208 %{_includedir}/IL/ilut.h
209 %{_pkgconfigdir}/ILUT.pc
212 %defattr(644,root,root,755)
213 %doc DevIL-docs/DevIL*.pdf