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 URL: http://openil.sourceforge.net/
14 BuildRequires: OpenEXR-devel
15 BuildRequires: OpenGL-GLU-devel
16 BuildRequires: SDL-devel >= 1.2.5
17 BuildRequires: allegro-devel >= 4.1.16
18 BuildRequires: cmake >= 2.6
19 BuildRequires: jasper-devel
20 BuildRequires: lcms2-devel >= 2
21 BuildRequires: libjpeg-devel
22 BuildRequires: libmng-devel
23 BuildRequires: libpng-devel
24 BuildRequires: libtiff-devel
25 BuildRequires: pkgconfig
26 BuildRequires: rpmbuild(macros) >= 1.605
27 BuildRequires: squish-devel
28 BuildRequires: sed >= 4.0
30 BuildRequires: xorg-lib-libXext-devel
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Developer's Image Library (DevIL) is a programmer's library to develop
35 applications with very powerful image loading capabilities, yet is
36 easy for a developer to learn and use. Ultimate control of images is
37 left to the developer, so unnecessary conversions, etc. are not
38 performed. DevIL utilizes a simple, yet powerful, syntax. DevIL can
39 load, save, convert, manipulate, filter and display a wide variety of
42 Currently, DevIL can load .bmp, .cut, .dds, .doom, .gif, .ico, .icns,
43 .jp2, .jpg, .lbm, .mdl, .mng, .pal, .pbm, .pcd, .pcx, .pgm, .pic,
44 .png, .ppm, .psd, .psp, .raw, .sgi, .tga and .tif files.
46 Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm,
47 .pcx, .pgm, .png, .ppm, .raw, .sgi, .tga and .tif.
49 %description -l pl.UTF-8
50 Developer's Image Library (DevIL) jest biblioteką programisty
51 pozwalającą tworzyć aplikacje z potężnymi możliwościami ładowania
52 obrazów. Pozostaje przy tym łatwa w użyciu i prosta do nauczenia się.
53 Ostateczna kontrola nad obrazami jest zostawiona programiście, nie
54 wprowadza się niepotrzebnych konwersji, itp. DevIL używa prostej, lecz
55 potężnej składni poleceń, wzorowanej na OpenGL-u. DevIL potrafi
56 ładować, zapisywać, konwertować, manipulować, filtrować szeroki
57 wachlarz formatów plików graficznych.
59 W chwili obecnej DevIL odczytuje pliki z rozszerzeniami bmp, cut, dds,
60 doom, gif, icns, ico, jp2, jpg, lbm, mdl, mng, pal, pbm, pcd, pcx,
61 pgm, pic, png, ppm, psd, psp, raw, sgi, tga i tif.
63 Obsługiwane jest zapisywanie do plików bmp, dds, h, jpg, pal, pbm,
64 pcx, pgm, png, ppm, raw, sgi, tga i tif.
67 Summary: DevIL development files
68 Summary(pl.UTF-8): Pliki nagłówkowe bibliotek DevIL
69 Group: Development/Libraries
70 Requires: %{name} = %{version}-%{release}
71 Requires: OpenEXR-devel
72 Requires: jasper-devel
74 Requires: libjpeg-devel
75 Requires: libmng-devel
76 Requires: libpng-devel
77 Requires: libtiff-devel
78 Requires: squish-devel
79 Obsoletes: DevIL-static
82 DevIL development files (for IL and ILU libraries).
84 %description devel -l pl.UTF-8
85 Pliki nagłówkowe bibliotek DevIL (IL i ILU).
88 Summary: DevIL ILUT library
89 Summary(pl.UTF-8): Biblioteka DevIL ILUT
91 Requires: %{name} = %{version}-%{release}
92 Requires: SDL >= 1.2.5
93 Requires: allegro >= 4.1.16
96 DevIL ILUT library - connection to higher level libraries.
98 %description ILUT -l pl.UTF-8
99 Biblioteka DevIL ILUT - łącznik z bibliotekami wyższego poziomu.
102 Summary: Development files for DevIL ILUT library
103 Summary(pl.UTF-8): Pliki programistyczne biblioteki DevIL ILUT
104 Group: Development/Libraries
105 Requires: %{name}-ILUT = %{version}-%{release}
106 Requires: %{name}-devel = %{version}-%{release}
107 Requires: OpenGL-GLU-devel
108 Requires: SDL-devel >= 1.2.5
109 Requires: allegro-devel >= 4.1.16
110 Requires: xorg-lib-libXext-devel
111 Obsoletes: DevIL-ILUT-static
113 %description ILUT-devel
114 Development files for DevIL ILUT library.
116 %description ILUT-devel -l pl.UTF-8
117 Pliki programistyczne biblioteki DevIL ILUT.
120 Summary: DevIL documentation
121 Summary(pl.UTF-8): Dokumentacja DevIL
127 %description doc -l pl.UTF-8
137 # although there is configure.ac, but it misses some auxiliary files (m4/*)
138 # and Makefile.am files are outdated (refer to no longer existing *.c files)
139 install -d DevIL/build
143 # info is not covered by CMakeLists
146 cat >version.texi <<EOF
147 @set UPDATED 8 March 2009
148 @set UPDATED-MONTH March 2009
149 @set EDITION %{version}
150 @set VERSION %{version}
152 makeinfo DevIL_manual.texi
155 rm -rf $RPM_BUILD_ROOT
157 %{__make} -C DevIL/build install \
158 DESTDIR=$RPM_BUILD_ROOT
160 install -Dp DevIL/docs/DevIL_manual.info $RPM_BUILD_ROOT%{_infodir}/DevIL_manual.info
163 rm -rf $RPM_BUILD_ROOT
165 %post -p /sbin/ldconfig
166 %postun -p /sbin/ldconfig
168 %post devel -p /sbin/postshell
169 -/usr/sbin/fix-info-dir -c %{_infodir}
171 %postun devel -p /sbin/postshell
172 -/usr/sbin/fix-info-dir -c %{_infodir}
175 %defattr(644,root,root,755)
176 %doc DevIL/{AUTHORS,CREDITS,ChangeLog,NEWS,README.md,TODO}
177 %attr(755,root,root) %{_bindir}/ilur
178 %attr(755,root,root) %{_libdir}/libIL.so.*.*.*
179 %attr(755,root,root) %ghost %{_libdir}/libIL.so.1
180 %attr(755,root,root) %{_libdir}/libILU.so.*.*.*
181 %attr(755,root,root) %ghost %{_libdir}/libILU.so.1
184 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_libdir}/libIL.so
186 %attr(755,root,root) %{_libdir}/libILU.so
187 %dir %{_includedir}/IL
188 %{_includedir}/IL/il.h
189 %{_includedir}/IL/ilu.h
190 %{_includedir}/IL/ilu_region.h
191 %{_pkgconfigdir}/IL.pc
192 %{_pkgconfigdir}/ILU.pc
193 %{_infodir}/DevIL_manual.info*
196 %defattr(644,root,root,755)
197 %attr(755,root,root) %{_libdir}/libILUT.so.*.*.*
198 %attr(755,root,root) %ghost %{_libdir}/libILUT.so.1
201 %defattr(644,root,root,755)
202 %attr(755,root,root) %{_libdir}/libILUT.so
203 %{_includedir}/IL/devil_cpp_wrapper.hpp
204 %{_includedir}/IL/ilut.h
205 %{_pkgconfigdir}/ILUT.pc
208 %defattr(644,root,root,755)
209 %doc DevIL-docs/DevIL*.pdf