1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
Name: DevIL
Version: 1.8.0
Release: 1
Summary: Developer's Image Library
License: LGPL-2.1-or-later
URL: https://openil.sourceforge.net/
Source0: https://downloads.sourceforge.net/openil/%{name}-%{version}.tar.gz
#Patch0000: DevIL-1.7.5-il_endian_h.patch
#Patch0001: DevIL-1.7.8-CVE-2009-3994.patch
#Patch0002: DevIL-1.7.8-libpng15.patch
#Patch0003: DevIL-1.7.8-gcc5.patch
#Patch0004: devil-1.7.8-jasper2.patch
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: gcc-c++ allegro-devel libGLU-devel libICE-devel
BuildRequires: libXext-devel libjpeg-devel libmng-devel libpng-devel
BuildRequires: libtiff-devel SDL-devel => 1.2.5
%description
DevIL is an application program for development with very powerful image
loading function, which can load, save, convert, operate, filter and
display various image formats. DevIL leaves the final control of the
image to the developer, so unnecessary conversion is not performed, etc.
%package_help
%package devel
Summary: Development files for DevIL
Requires: %{name} = %{version}-%{release}
%description devel
Development files for DevIL.
%package ILUT
Summary: The libILUT component of DevIL
Requires: %{name} = %{version}-%{release}
%description ILUT
The libILUT component of DevIL.
%package ILUT-devel
Summary: Development files for the libILUT component of DevIL
Requires: %{name}-ILUT = %{version}-%{release}
Requires: %{name}-devel = %{version}-%{release}
Requires: allegro-devel libGLU-devel
%description ILUT-devel
Development files for the libILUT component of DevIL.
%prep
%autosetup -n %{name} -p1
%build
pushd %{name}/build
%cmake
%make_build
popd
%install
%make_install -C %{name}/build
%files
%doc AUTHORS
%{_bindir}/ilur
%{_libdir}/{libIL.so.*,libILU.so.*}
%files devel
%{_libdir}/{libIL.so,libILU.so}
%{_libdir}/pkgconfig/{IL.pc,ILU.pc}
%dir %{_includedir}/IL
%{_includedir}/IL/{il.h,ilu.h,ilu_region.h}
%{_infodir}/DevIL_manual.info*
%files ILUT
%{_libdir}/libILUT.so.*
%files ILUT-devel
%{_libdir}/libILUT.so
%{_libdir}/pkgconfig/ILUT.pc
%{_includedir}/IL/{devil_cpp_wrapper.hpp,ilut.h}
%files help
%doc ChangeLog COPYING CREDITS README TODO
%changelog
* Sun Aug 18 2024 Funda Wang <fundawang@yeah.net> - 1.8.0-1
- update to 1.8.0
* Tue Mar 10 2020 songnannan <songnannan2@huaiwei.com> - 1.7.8-31
- delete the jasper
* Mon Feb 24 2020 zhoumuchen <zhoumochen@huawei.com> - 1.7.8-30
- Init package
|