]>
Commit | Line | Data |
---|---|---|
2e2abafc | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
2e2abafc MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = libpng |
548a5f3e | 7 | version = 1.6.39 |
4704797f | 8 | release = 2 |
0a035458 | 9 | |
802ea3af MT |
10 | groups = System/Libraries |
11 | url = http://www.libpng.org/pub/png/ | |
12 | license = zlib | |
13 | summary = A library of functions for manipulating PNG image format files. | |
2e2abafc | 14 | |
802ea3af | 15 | description |
7fd54289 SS |
16 | The libpng package contains a library of functions for creating and |
17 | manipulating PNG (Portable Network Graphics) image format files. | |
18 | PNG is a bit-mapped graphics format similar to the GIF format. PNG | |
19 | was created to replace the GIF format, since GIF uses a patented | |
2e2abafc | 20 | data compression algorithm. |
802ea3af MT |
21 | end |
22 | ||
0a035458 SS |
23 | source_dl = http://downloads.sourceforge.net/project/libpng/libpng16/%{version}/ |
24 | ||
802ea3af MT |
25 | build |
26 | requires | |
27 | pkg-config | |
28 | zlib-devel | |
29 | end | |
4704797f MT |
30 | |
31 | configure_options += \ | |
32 | --disable-static | |
33 | ||
34 | install_cmds | |
35 | # Remove libtool archives manually as they are installed incorrectly | |
36 | rm -vf %{BUILDROOT}%{libdir}/*.la | |
37 | end | |
802ea3af MT |
38 | end |
39 | ||
40 | packages | |
41 | package %{name} | |
d8b4c3fa | 42 | |
802ea3af MT |
43 | package %{name}-devel |
44 | template DEVEL | |
1f9bc2f0 | 45 | |
802ea3af MT |
46 | requires = zlib-devel |
47 | end | |
1f9bc2f0 MT |
48 | |
49 | package %{name}-debuginfo | |
50 | template DEBUGINFO | |
51 | end | |
802ea3af | 52 | end |