Package libpng: Specfile

  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
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
%define sover 17
%define betaver 89

Name: libpng
Version: 1.7.0
Release: alt3.beta%betaver

Summary: A library of functions for manipulating PNG image format files
License: %name-2.0
Group: System/Libraries

Url: http://www.%name.org/pub/png/
Packager: Nazarov Denis <nenderus@altlinux.org>

# ftp://ftp-osl.osuosl.org/pub/%name/src/beta/%name%sover/%name-%{version}beta%betaver.tar.xz
Source: %name-%{version}beta%betaver.tar

BuildRequires: pkgconfig(zlib)

%description
%name is a library implementing an interface for reading and writing
PNG (Portable Network Graphics) format files.

This package contains the runtime library files needed to run software
using %name.

%package -n %name%sover
Summary: A library of functions for manipulating PNG image format files
Group: System/Libraries

%description -n %name%sover
%name is a library implementing an interface for reading and writing
PNG (Portable Network Graphics) format files.

This package contains the runtime library files needed to run software
using %name.

%package -n %name%sover-devel
Summary: PNG development library
Group: Development/C
Requires: pkgconfig(zlib)
Conflicts: %name-devel
Conflicts: %{name}12-devel
Conflicts: %{name}15-devel

%description -n %name%sover-devel
%name is a library implementing an interface for reading and writing
PNG (Portable Network Graphics) format files.

This package contains the header and development files needed to build
programs and packages using %name.

%package -n %name%sover-tools
Summary: Tools for Manipulating PNG Images
Group: Development/Tools

%description -n %name%sover-tools
Package consists of low level tools for manipulating and fixing particular
PNG files.

%prep
%setup -n %name-%{version}beta%betaver

%build
%autoreconf
%configure --disable-static
%make_build

%install
%makeinstall_std
rm %buildroot%_libdir/lib*.la
rm -rf %buildroot%_man5dir

%filter_from_provides /^pkgconfig(%name)/d

%check
%make_build -k check VERBOSE=1

%files -n %name%sover
%_libdir/*.so.*

%files -n %name%sover-devel
%doc ANNOUNCE CHANGES LICENSE README TODO %name-*.txt
%_bindir/%name%sover-config
%_bindir/%name-config
%_libdir/*.so
%_includedir/*
%_pkgconfigdir/*.pc
%_man3dir/*

%files -n %name%sover-tools
%_bindir/png-fix-itxt
%_bindir/pngfix

%changelog
* Thu Feb 18 2021 Nazarov Denis <nenderus@altlinux.org> 1.7.0-alt3.beta89
- Add tools subpackage
- Add requires on devel subpackage

* Wed Feb 17 2021 Nazarov Denis <nenderus@altlinux.org> 1.7.0-alt2.beta89
- Don't pack man(5) in devel package

* Wed Feb 17 2021 Nazarov Denis <nenderus@altlinux.org> 1.7.0-alt1.beta89
- 1.7.0beta89

* Tue Aug 27 2019 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.6.37-alt1
- 1.6.37 (fixes: CVE-2018-14048, CVE-2018-14550, CVE-2019-7317)

* Wed Jan 16 2019 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.6.36-alt1
- 1.6.36

* Wed Oct 10 2018 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.6.35-alt1
- 1.6.35 (fixes: CVE-2018-13785, CVE-2018-14048)

* Tue Jun 20 2017 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.6.29-alt1
- 1.6.29

* Thu Dec 29 2016 Dmitry V. Levin <ldv@altlinux.org> 1.5.28-alt1
- 1.5.27 -> 1.5.28.

* Thu May 26 2016 Dmitry V. Levin <ldv@altlinux.org> 1.5.27-alt1
- 1.5.26 -> 1.5.27.

* Mon Dec 21 2015 Dmitry V. Levin <ldv@altlinux.org> 1.5.26-alt1
- Updated to 1.5.26.

* Thu Dec 03 2015 Dmitry V. Levin <ldv@altlinux.org> 1.5.25-alt1
- Updated to 1.5.25.

* Wed Nov 18 2015 Dmitry V. Levin <ldv@altlinux.org> 1.5.24-alt1
- Updated to 1.5.24.

* Wed Dec 24 2014 Dmitry V. Levin <ldv@altlinux.org> 1.5.21-alt1
- Updated to 1.5.21.

* Wed Oct 03 2012 Dmitry V. Levin <ldv@altlinux.org> 1.5.13-alt1
- Updated to 1.5.13.

* Fri Sep 14 2012 Dmitry V. Levin <ldv@altlinux.org> 1.5.12-alt1
- Updated to 1.5.12.
- Activated chunk size limits by default.

* Wed Jul 11 2012 Dmitry V. Levin <ldv@altlinux.org> 1.2.50-alt1
- Updated to 1.2.50.
- Disabled build and packaging of libpng-devel-static.

* Thu Apr 05 2012 Dmitry V. Levin <ldv@altlinux.org> 1.2.49-alt1
- Updated to 1.2.49 (fixes CVE-2011-3048).

* Fri Mar 23 2012 Dmitry V. Levin <ldv@altlinux.org> 1.2.48-alt1
- Updated to 1.2.48 (fixes CVE-2011-3045).

* Mon Feb 20 2012 Dmitry V. Levin <ldv@altlinux.org> 1.2.47-alt1
- Updated to 1.2.47 (fixes CVE-2011-3026).

* Wed Jul 13 2011 Dmitry V. Levin <ldv@altlinux.org> 1.2.46-alt1
- Updated to 1.2.46 (fixes: CVE-2011-2690, CVE-2011-2691, CVE-2011-2692).

* Tue Feb 08 2011 Alexey Tourbin <at@altlinux.ru> 1.2.44-alt3
- Rebuilt for debuginfo.

* Tue Oct 12 2010 Dmitry V. Levin <ldv@altlinux.org> 1.2.44-alt2
- Rebuilt for soname set-versions.

* Tue Jun 29 2010 Dmitry V. Levin <ldv@altlinux.org> 1.2.44-alt1
- Updated to 1.2.44 (fixes: CVE-2010-1205, CVE-2010-2249).

* Tue Mar 09 2010 Dmitry V. Levin <ldv@altlinux.org> 1.2.43-alt1
- Updated to 1.2.43 (fixes CVE-2010-0205).

* Fri Sep 18 2009 Dmitry V. Levin <ldv@altlinux.org> 1.2.40-alt2
- libpng12: Swapped PNG_12 and PNG12_0 interfaces again (closes: #21559).

* Thu Sep 10 2009 Dmitry V. Levin <ldv@altlinux.org> 1.2.40-alt1
- Updated to 1.2.40.
- Moved "make check" to %%check section.

* Thu Jul 16 2009 Dmitry V. Levin <ldv@altlinux.org> 1.2.38-alt1
- Updated to 1.2.38.

* Tue Jun 23 2009 Dmitry V. Levin <ldv@altlinux.org> 1.2.37-alt3
- libpng12: Added compatibility interface with previous library
  versioning (by Sergey Vlasov; closes: #12886).

* Mon Jun 22 2009 Dmitry V. Levin <ldv@altlinux.org> 1.2.37-alt2
- libpng12: Changed versioning to match upstream versioning (closes: #12886).

* Sat Jun 06 2009 Dmitry V. Levin <ldv@altlinux.org> 1.2.37-alt1
- Updated to 1.2.37 (closes: #20339).

* Wed Feb 18 2009 Dmitry V. Levin <ldv@altlinux.org> 1.2.35-alt1
- Updated to 1.2.35.

* Fri Feb 13 2009 Dmitry V. Levin <ldv@altlinux.org> 1.2.34-alt1
- Updated to 1.2.34.

* Sun Dec 14 2008 Dmitry V. Levin <ldv@altlinux.org> 1.2.33-alt1
- Updated to 1.2.33.

* Sun Sep 21 2008 Dmitry V. Levin <ldv@altlinux.org> 1.2.32-alt1
- Updated to 1.2.32.

* Sat Aug 30 2008 Dmitry V. Levin <ldv@altlinux.org> 1.2.31-alt1
- Updated to 1.2.31.

* Tue Apr 29 2008 Dmitry V. Levin <ldv@altlinux.org> 1.2.27-alt1
- Updated to 1.2.27.

* Thu Apr 03 2008 Dmitry V. Levin <ldv@altlinux.org> 1.2.26-alt1
- Updated to 1.2.26.

* Sat Feb 23 2008 Dmitry V. Levin <ldv@altlinux.org> 1.2.25-alt1
- Updated to 1.2.25.

* Mon Nov 26 2007 Dmitry V. Levin <ldv@altlinux.org> 1.2.23-alt1
- Updated to 1.2.23 (CVE-2007-526[6789]).
- Enhanced comment in pngconf.h about setjmp.h (#8498).
- Added PNG12_0 versioning interface for compatibility (#12886).

* Wed May 16 2007 Dmitry V. Levin <ldv@altlinux.org> 1.2.13-alt3
- Imported upstream fix for png_handle_tRNS() bug (CVE-2007-2445:
  a grayscale PNG image with a malformed tRNS chunk may crash
  some libpng applications).

* Fri Dec 01 2006 Dmitry V. Levin <ldv@altlinux.org> 1.2.13-alt2
- libpng12: Added conflict with old libpng3 (#10341).

* Fri Nov 24 2006 Dmitry V. Levin <ldv@altlinux.org> 1.2.13-alt1
- Updated to 1.2.13 release.
- Imported FC patch for pngconf.h to disable asm code
  on non-x86 architectures (RH#196580).
- Imported Debian patch from 1.2.13-4 package.
- Moved libpng12 library to separate subpackage.
- Removed "3" suffix from -devel* subpackages.
- Switched to upstream versioning (introduced in 1.2.9) with minimal changes.
  As result, libpng12.so.0 no longer provides PNG_INTERNAL interface,
  and PNG_12 interface was changed: 22 old data names removed,
  8 old function names removed, 8 new function names added.

* Mon Mar 06 2006 Dmitry V. Levin <ldv@altlinux.org> 1.2.8-alt3
- Fixed build with --as-needed.

* Thu Feb 02 2006 ALT QA Team Robot <qa-robot@altlinux.org> 1.2.8-alt2.1
- Rebuilt for new pkg-config dependencies.

* Tue Dec 07 2004 Dmitry V. Levin <ldv@altlinux.org> 1.2.8-alt2
- Updated interpackage dependencies.
- Updated patch.

* Mon Dec 06 2004 Dmitry V. Levin <ldv@altlinux.org> 1.2.8-alt1
- Updated to 1.2.8 release.
- Fixed libpng.pc (#5632).
- Updated interpackage dependencies.

* Thu Nov 04 2004 Dmitry V. Levin <ldv@altlinux.org> 1.2.8-alt0.1
- Updated to 1.2.8beta3.

* Mon Sep 13 2004 Dmitry V. Levin <ldv@altlinux.org> 1.2.7-alt1
- Updated to 1.2.7.

* Tue Sep 07 2004 Dmitry V. Levin <ldv@altlinux.org> 1.2.6-alt2
- Applied pngwutil bugfix from upstream.

* Wed Sep 01 2004 Dmitry V. Levin <ldv@altlinux.org> 1.2.6-alt1
- Updated to 1.2.6.
- Added multilib support (#5094).

* Mon Aug 02 2004 Dmitry V. Levin <ldv@altlinux.org> 1.2.5-alt5
- Applied patch from upstream maintainer,
  to fix CAN-2004-0597, CAN-2004-0598 and CAN-2004-0599.

* Wed Jun 30 2004 Dmitry V. Levin <ldv@altlinux.org> 1.2.5-alt4
- Updated patch for the buffer overflow in
  png_do_read_filler() function (CAN-2002-1363).

* Tue May 04 2004 Dmitry V. Levin <ldv@altlinux.org> 1.2.5-alt3
- Changed shared library:
  + introduced versioning;
  + export legacy symbols on PNG_INTERNAL interface;
  + export normal symbols on PNG_12 interface.

* Sat May 01 2004 Dmitry V. Levin <ldv@altlinux.org> 1.2.5-alt2
- Applied patch to pngerror.c by Steve Grubb to fix unintended
  memory access that could result in a crash of the application
  linking against libpng [CAN-2004-0421].
- Changed shared library: restricted list of exported symbols
  to those which are mentioned in png.h and libpng(3).

* Mon Feb 17 2003 Dmitry V. Levin <ldv@altlinux.org> 1.2.5-alt1
- Updated to 1.2.5

* Tue Jan 14 2003 Dmitry V. Levin <ldv@altlinux.org> 1.2.4-alt5
- Applied patch to pngrtran.c by Glenn Randers-Pehrson to fix
  a buffer overrun.

* Thu Oct 03 2002 Dmitry V. Levin <ldv@altlinux.org> 1.2.4-alt4
- Cleanup %%build.
- Rebuilt to fix config files in devel subpackage.

* Wed Sep 04 2002 Stanislav Ievlev <inger@altlinux.ru> 1.2.4-alt3
- rebuild with gcc3

* Tue Aug 06 2002 Dmitry V. Levin <ldv@altlinux.org> 1.2.4-alt2
- Refined trigger once more.

* Sat Jul 20 2002 Dmitry V. Levin <ldv@altlinux.org> 1.2.4-alt1
- 1.2.4

* Sat Jun 15 2002 Dmitry V. Levin <ldv@altlinux.org> 1.2.3-alt3
- Fixed latest fix.

* Fri May 24 2002 Dmitry V. Levin <ldv@altlinux.org> 1.2.3-alt2
- Fixed libpng.so.3 upgrade problem.

* Thu May 23 2002 Dmitry V. Levin <ldv@altlinux.org> 1.2.3-alt1
- 1.2.3

* Thu Feb 28 2002 Dmitry V. Levin <ldv@alt-linux.org> 1.2.1-alt2
- Renamed to libpng3.
- Added buildreq substitution rules.

* Fri Dec 14 2001 Dmitry V. Levin <ldv@alt-linux.org> 1.2.1-alt1
- 1.2.1

* Fri Oct 26 2001 Mikhail Zabaluev <mhz@altlinux.ru> 1.2.0-alt2
- Prevented libpng.so.3 from being installed in man3dir.

* Wed Oct 10 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.2.0-alt1
- 1.2.0

* Mon Jun 11 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.0.12-alt1
- 1.0.12
- Updated requires on zlib-*.

* Tue May 29 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.0.11-alt1
- 1.0.11

* Tue Apr 03 2001 Dmitry V. Levin <ldv@altlinux.ru> 1.0.10-alt1
- 1.0.10
- Moved static libraries to devel-static subpackage.

* Fri Feb 02 2001 Dmitry V. Levin <ldv@fandra.org> 1.0.9-ipl1mdk
- 1.0.9

* Sat Jan 06 2001 Dmitry V. Levin <ldv@fandra.org> 1.0.8-ipl2mdk
- Fixed Url.
- Specfile cleanup (since we have brp-adjust_libraries).

* Wed Jul 26 2000 Dmitry V. Levin <ldv@fandra.org> 1.0.8-ipl1mdk
- 1.0.8

* Wed Jul 05 2000 Dmitry V. Levin <ldv@fandra.org> 1.0.7-ipl1mdk
- 1.0.7
- RE and Fandra adaptions.

* Mon Jun 26 2000 Alexandre Dussart <adussart@mandrakesoft.com> 1.0.6-1mdk
- 1.0.6
- Patch 1.0.6a(official)
- Patch 1.0.6b(official)
- Patch 1.0.6c(official)
- Updated mdkconf patch(some parts was obsoletes)

* Fri May 19 2000 Pixel <pixel@mandrakesoft.com> 1.0.5-3mdk
- fix *ugly* install of man pages
- add soname

* Mon Mar 27 2000 Daouda Lo <daouda@mandrakesoft.com> 1.0.5-2mdk
- fix group

* Sun Oct 31 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
- 1.0.5
- redo patch with perl (yay perl)
- SMP check/build

* Mon Jul 12 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
- libpng.so.2.1.0.3 is not a man pages lets not put it in usr/man/man3

* Tue May 11 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com>
- Mandrake adaptions

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 2)

* Sun Feb 07 1999 Michael Johnson <johnsonm@redhat.com>
- rev to 1.0.3

* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
- build for 6.0

* Wed Sep 23 1998 Cristian Gafton <gafton@redhat.com>
- we are Serial: 1 now because we are reverting the 1.0.2 version from 5.2
  beta to this prior one
- install man pages; set defattr defaults

* Thu May 07 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
- devel subpackage moved to Development/Libraries

* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
- upgraded to 1.0.1
- added buildroot

* Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
- updated to new version
- spec file cleanups

* Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
- built against glibc