Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hcostelha
libdevil
DevIL.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File DevIL.spec of Package libdevil
# SONAME Version tags (*.so.$NUM) %define libIL 1 Summary: A full featured cross platform image library Name: libIL%{libIL} Version: 1.7.8 Release: 1.1 License: LGPL BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/Libraries URL: http://openil.sourceforge.net/ Source: DevIL-%{version}.tar.bz2 Patch0: DevIL-%{version}-return-random-data.patch # From Gentoo Patch1: DevIL-%{version}-CVE-2009-3994.patch # From Gentoo Patch2: DevIL-%{version}-libpng14.patch BuildRequires: libpng-devel zlib-devel libjpeg-devel libtiff-devel libmng-devel OpenEXR-devel BuildRequires: SDL-devel dos2unix gcc-c++ %if 0%{?suse_version} PreReq: %install_info_prereq BuildRequires: liblcms-devel BuildRequires: freeglut-devel %endif %if 0%{?mandriva_version} BuildRequires: lcms-devel BuildRequires: mesaglut-devel %endif %if 0%{?suse_version} PreReq: %install_info_prereq %endif Obsoletes: libdevil1 <= %{version} Provides: libdevil1 <= %{version} %description Developer's Image Library (DevIL) is a programmer's library to develop applications with very powerful image loading capabilities, yet is easy for a developer to learn and use. Ultimate control of images is left to the developer, so unnecessary conversions, etc. are not performed. DevIL utilizes a simple, yet powerful, syntax. DevIL can load, save, convert, manipulate, filter and display a wide variety of image formats. . Currently, DevIL can load .bmp, .cut, .dds, .doom, .gif, .ico, .jpg, .lbm, .mdl, .mng, .pal, .pbm, .pcd, .pcx, .pgm, .pic, .png, .ppm, .psd, .psp, .raw, .sgi, .tga and .tif .hdr files. Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif. . DevIL currently supports the following APIs for display: OpenGL, Windows GDI, SDL, DirectX and Allegro. Compilers that can compile DevIL or use it include Djgpp, MSVC++, Linux gcc, Delphi, Visual Basic, Power Basic and Dev-C++. %package -n DevIL-devel Summary: A full featured cross platform image library headers and static libs Group: Development/Libraries Requires: %{name} = %{version} libpng-devel zlib-devel libjpeg-devel libtiff-devel libmng-devel Requires: SDL-devel %if 0%{?suse_version} Requires: liblcms-devel Requires: freeglut-devel %endif %if 0%{?mandriva_version} Requires: lcms-devel Requires: mesaglut-devel %endif Provides: libdevil-devel <= %{version} Obsoletes: libdevil-devel < %{version} %description -n DevIL-devel Developer's Image Library (DevIL) is a programmer's library to develop applications with very powerful image loading capabilities, yet is easy for a developer to learn and use. Ultimate control of images is left to the developer, so unnecessary conversions, etc. are not performed. DevIL utilizes a simple, yet powerful, syntax. DevIL can load, save, convert, manipulate, filter and display a wide variety of image formats. . Currently, DevIL can load .bmp, .cut, .dds, .doom, .gif, .ico, .jpg, .lbm, .mdl, .mng, .pal, .pbm, .pcd, .pcx, .pgm, .pic, .png, .ppm, .psd, .psp, .raw, .sgi, .tga and .tif .hdr files. Formats supported for saving include .bmp, .dds, .h, .jpg, .pal, .pbm, .pcx, .hdr, .pgm,.png, .ppm, .raw, .sgi, .tga and .tif. . DevIL currently supports the following APIs for display: OpenGL, Windows GDI, SDL, DirectX and Allegro. Compilers that can compile DevIL or use it include Djgpp, MSVC++, Linux gcc, Delphi, Visual Basic, Power Basic and Dev-C++. . This package contains the development libraries and headers. %prep %setup -q -n devil-%{version} %patch0 %patch1 %patch2 -p1 %build # find -type f -exec dos2unix {} \; %configure --disable-static --enable-shared --enable-ILUT --enable-ILU %__make %{?_smp_mflags} %install %__make install DESTDIR=%{buildroot} rm -f %{buildroot}%{_libdir}/*.la %clean rm -rf %{buildroot} %post -n libIL%{libIL} /sbin/ldconfig %if 0%{?suse_version} %install_info --info-dir=%{_infodir} %{_infodir}/DevIL_manual.info.gz %endif %postun -n libIL%{libIL} /sbin/ldconfig %if 0%{?suse_version} %install_info_delete --info-dir=%{_infodir} %{_infodir}/DevIL_manual.info.gz %endif %files -n libIL%{libIL} %defattr(-,root,root) %{_libdir}/lib*.so.* %doc AUTHORS COPYING CREDITS NEWS README README.unix TODO %{_infodir}/DevIL_manual.info.* %files -n DevIL-devel %defattr(-,root,root) %{_libdir}/lib*.so %{_includedir}/IL %{_libdir}/pkgconfig/IL*.pc %{_bindir}/ilur %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor