/[pkgs]/devel/DevIL/DevIL.spec
ViewVC logotype

Contents of /devel/DevIL/DevIL.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (show annotations) (download)
Fri Aug 21 13:18:30 2009 UTC (3 months ago) by jwrdegoede
Branch: MAIN
CVS Tags: F-12-split, DevIL-1_7_8-3_fc12, HEAD
Changes since 1.15: +4 -1 lines
* Fri Aug 21 2009 Hans de Goede <hdegoede@redhat.com> 1.7.8-3
- Switch Source0 to respun upstream tarbal (added a missing header)
1 Name: DevIL
2 Version: 1.7.8
3 Release: 3%{?dist}
4 Summary: A cross-platform image library
5 Group: System Environment/Libraries
6 License: LGPLv2
7 URL: http://openil.sourceforge.net/
8 Source0: http://downloads.sourceforge.net/openil/%{name}-%{version}.tar.gz
9 Patch0: DevIL-1.7.5-allegropicfix.patch
10 Patch1: DevIL-1.7.5-il_endian_h.patch
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12 BuildRequires: allegro-devel
13 BuildRequires: lcms-devel
14 BuildRequires: libGLU-devel
15 BuildRequires: libICE-devel
16 BuildRequires: libXext-devel
17 BuildRequires: libjpeg-devel
18 BuildRequires: libmng-devel
19 BuildRequires: libpng-devel
20 BuildRequires: libtiff-devel
21 BuildRequires: jasper-devel
22 BuildRequires: SDL-devel => 1.2.5
23
24 %description
25 Developer's Image Library (DevIL) is a programmer's library to develop
26 applications with very powerful image loading capabilities, yet is easy for a
27 developer to learn and use. Ultimate control of images is left to the
28 developer, so unnecessary conversions, etc. are not performed. DevIL utilizes
29 a simple, yet powerful, syntax. DevIL can load, save, convert, manipulate,
30 filter and display a wide variety of image formats.
31
32
33 %package devel
34 Summary: Development files for DevIL
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}, pkgconfig
37 Requires(post): info
38 Requires(preun): info
39
40 %description devel
41 Development files for DevIL
42
43
44 %package ILUT
45 Summary: The libILUT component of DevIL
46 Group: System Environment/Libraries
47 Requires: %{name} = %{version}-%{release}
48
49 %description ILUT
50 The libILUT component of DevIL
51
52
53 %package ILUT-devel
54 Summary: Development files for the libILUT component of DevIL
55 Group: Development/Libraries
56 Requires: %{name}-ILUT = %{version}-%{release}
57 Requires: %{name}-devel = %{version}-%{release}
58 Requires: pkgconfig allegro-devel libGLU-devel
59
60 %description ILUT-devel
61 Development files for the libILUT component of DevIL
62
63
64 %prep
65 %setup -q -n devil-%{version}
66 %patch0 -p1
67 %patch1 -p1
68 iconv -f iso8859-1 CREDITS -t utf8 > CREDITS.conv
69 touch -r CREDITS CREDITS.conv
70 mv CREDITS.conv CREDITS
71 chmod -x src-IL/src/il_*.c
72
73
74 %build
75 %configure --enable-ILU --enable-ILUT --disable-static --disable-allegrotest
76 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
77 sed -i 's|LD_RUN_PATH|DIE_RPATH_DIE|g' libtool
78 make %{?_smp_mflags}
79
80
81 %install
82 rm -rf %{buildroot}
83 make install DESTDIR=%{buildroot}
84 rm %{buildroot}%{_libdir}/*.la
85 rm %{buildroot}%{_infodir}/dir
86
87
88 %clean
89 rm -rf %{buildroot}
90
91
92 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %post devel
96 /sbin/install-info %{_infodir}/DevIL_manual.info %{_infodir}/dir 2> /dev/null || :
97 %preun devel
98 if [ $1 = 0 ] ; then
99 /sbin/install-info --delete %{_infodir}/DevIL_manual.info %{_infodir}/dir 2> /dev/null || :
100 fi
101
102 %post ILUT -p /sbin/ldconfig
103 %postun ILUT -p /sbin/ldconfig
104
105
106 %files
107 %defattr(-,root,root,-)
108 %{_bindir}/ilur
109 %{_libdir}/libIL.so.*
110 %{_libdir}/libILU.so.*
111 %doc AUTHORS ChangeLog COPYING CREDITS README TODO
112
113
114 %files devel
115 %defattr(-,root,root,-)
116 %{_libdir}/libIL.so
117 %{_libdir}/libILU.so
118 %{_libdir}/pkgconfig/IL.pc
119 %{_libdir}/pkgconfig/ILU.pc
120 %dir %{_includedir}/IL
121 %{_includedir}/IL/devil_cpp_wrapper.hpp
122 %{_includedir}/IL/il.h
123 %{_includedir}/IL/ilu.h
124 %{_includedir}/IL/ilu_region.h
125 %{_infodir}/DevIL_manual.info.gz
126
127
128 %files ILUT
129 %defattr(-,root,root,-)
130 %{_libdir}/libILUT.so.*
131
132
133 %files ILUT-devel
134 %defattr(-,root,root,-)
135 %{_libdir}/libILUT.so
136 %{_libdir}/pkgconfig/ILUT.pc
137 %{_includedir}/IL/ilut.h
138
139
140 %changelog
141 * Fri Aug 21 2009 Hans de Goede <hdegoede@redhat.com> 1.7.8-3
142 - Switch Source0 to respun upstream tarbal (added a missing header)
143
144 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.8-2
145 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
146
147 * Mon Mar 9 2009 Hans de Goede <hdegoede@redhat.com> 1.7.8-1
148 - Update to latest upstream: 1.7.8
149
150 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.7-2
151 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
152
153 * Tue Feb 10 2009 Hans de Goede <hdegoede@redhat.com> 1.7.7-1
154 - Update to latest upstream: 1.7.7
155
156 * Mon Jan 19 2009 Hans de Goede <hdegoede@redhat.com> 1.7.5-2
157 - Fix missing symbols (rh 480269)
158 - Fix off by one error in CVE-2008-5262 check (rh 479864)
159
160 * Tue Jan 13 2009 Hans de Goede <hdegoede@redhat.com> 1.7.5-1
161 - Update to latest upstream: 1.7.5
162 - Add patch to fix CVE-2008-5262
163
164 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.6.8-0.15.rc2
165 - Autorebuild for GCC 4.3
166
167 * Sun Jan 13 2008 Ian Chapman <packages[AT]amiga-hardware.com> 1.6.8-0.14.rc2
168 - Patch to fix headers for gcc 4.3, see BZ #428527. (Thanks to Hans de Goede)
169
170 * Wed Aug 22 2007 Ian Chapman <packages[AT]amiga-hardware.com> 1.6.8-0.13.rc2
171 - Release bump for F8 mass rebuild
172 - Added patch to fix BZ #253639
173
174 * Tue Aug 07 2007 Ian Chapman <packages[AT]amiga-hardware.com> 1.6.8-0.12.rc2
175 - Split libILUT into separate package. See BZ #250734
176 - Removed some old provides:
177 - Convert the CREDITS to UTF8
178 - Updated license field due to new guidelines
179
180 * Tue Jan 02 2007 Ian Chapman <packages[AT]amiga-hardware.com> 1.6.8-0.11.rc2
181 - Added patch to fix endian issues with some SGI files. Courtesy of Scott A.
182 Friedman (BZ #220417)
183
184 * Thu Sep 07 2006 Ian Chapman <packages[AT]amiga-hardware.com> 1.6.8-0.10.rc2
185 - Upgrade to 1.6.8-rc2
186 - Added libICE-devel buildrequire
187 - Dropped DevIL-1.6.8-rc1-64bit.patch, fixed upstream
188 - Updated allegropicfix.patch for new version
189 - Updated and split header fixes into separate files for easier maintenance
190
191 * Mon Aug 28 2006 Ian Chapman <packages[AT]amiga-hardware.com> 1.6.8-0.9.rc1
192 - Release bump for FC6 mass rebuild
193
194 * Fri Jun 09 2006 Ian Chapman <packages[AT]amiga-hardware.com> 1.6.8-0.8.rc1
195 - Added patch courtesy of Hans de Goede to fix crashes on 64bit systems
196
197 * Wed May 31 2006 Ian Chapman <packages[AT]amiga-hardware.com> 1.6.8-0.7.rc1
198 - Added libGLU-devel to buildrequires
199 - Dropped libGL-devel from requires for devel package
200
201 * Sun May 28 2006 Ian Chapman <packages[AT]amiga-hardware.com> 1.6.8-0.6.rc1.iss
202 - Dropped xorg-x11-devel as a buildrequire
203 - Dropped zlib-devel as a buildrequire
204 - Dropped xorg-x11-devel as a require for the devel package
205 - Added libGL-devel and libGLU-devel as requires for devel package
206 - Dropped superfluous documentation from devel package
207 - Added provides to offer lower case alias in preparation for probable
208 policy change
209 - Replace autoconf generated config.h in devel package to avoid potential
210 define collisions
211 - Replace source URL with primary sf site, rather than a mirror
212 - Fix ilu_region.h to use IL\il.h and not ilu_internal.h and roll into
213 a single patch incorporating previous header fixes.
214
215 * Sat May 27 2006 Ian Chapman <packages[AT]amiga-hardware.com> 1.6.8-0.5.rc1.iss
216 - Added patch to stop linking against alleg_unsharable, otherwise non PIC code
217 is included in the library
218 - Use %%{?dist} for most recent changelog entry - avoids incoherent changelog
219 versions if %%{?dist} macro is missing or different.
220
221 * Fri May 26 2006 Ian Chapman <packages[AT]amiga-hardware.com> 1.6.8-0.4.rc1.iss
222 - Made zlib-devel and xorg-x11-devel explicit buildrequires
223 - Corrected release name format to 0.%%{X}.%%{alphatag} from 0.%%{alphatag}.%%{X}
224 - Added -q to %%setup
225 - Added %%{version}-%%{release} to provides field
226
227 * Sun May 21 2006 Ian Chapman <packages[AT]amiga-hardware.com> 1.6.8-0.RC1.3.iss
228 - Use Fedora's libtool, seems to fix rpaths problem on x86_64.
229
230 * Sun May 14 2006 Ian Chapman <packages[AT]amiga-hardware.com> 1.6.8-0.RC1.2.iss
231 - Now compiled against allegro
232
233 * Sat May 13 2006 Ian Chapman <packages[AT]amiga-hardware.com> 1.6.8-0.RC1.1.iss
234 - Initial Release

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2