resetting manifest requested domain to floor
[platform/upstream/libpng.git] / packaging / libpng.spec
1 Name:           libpng
2 Version:        1.2.50
3 Release:        1
4 License:        zlib
5 Summary:        A library of functions for manipulating PNG image format files
6 Url:            http://www.libpng.org/pub/png/
7 Group:          Graphics/Libraries
8 Source:         %{name}-%{version}.tar.bz2
9 Source1001:     libpng.manifest
10 BuildRequires:  zlib-devel
11
12 %description
13 The libpng package contains a library of functions for creating and
14 manipulating PNG (Portable Network Graphics) image format files.  PNG
15 is a bit-mapped graphics format similar to the GIF format.  PNG was
16 created to replace the GIF format, since GIF uses a patented data
17 compression algorithm.
18
19 Libpng should be installed if you need to manipulate PNG format image
20 files.
21
22 %package devel
23 Summary:        Development tools for programs to manipulate PNG image format files
24 Group:          Development/Libraries
25 Requires:       %{name} = %{version}
26 Requires:       libpng = %{version}
27 Requires:       zlib-devel
28
29 %description devel
30 The libpng-devel package contains header files and documentation necessary
31 for developing programs using the PNG (Portable Network Graphics) library.
32
33 %prep
34 %setup -q
35 cp %{SOURCE1001} .
36
37 %build
38
39 %configure --disable-static
40 make %{?_smp_mflags}
41
42 %install
43 %make_install
44 rm -rf %{buildroot}/usr/share/man
45
46 %post -p /sbin/ldconfig
47 %postun -p /sbin/ldconfig
48
49 %files
50 %manifest %{name}.manifest
51 %license LICENSE
52 %{_libdir}/libpng*.so.*
53
54 %files devel
55 %manifest %{name}.manifest
56 %{_bindir}/*
57 %{_includedir}/*
58 %{_libdir}/libpng*.so
59 %{_libdir}/pkgconfig/*
60