]> git.pld-linux.org Git - packages/libmng.git/blob - libmng.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/libmng.git] / libmng.spec
1 Summary:        A library of functions for manipulating MNG format files
2 Summary(pl):    Biblioteka do obróbki plików w formacie MNG
3 Name:           libmng
4 Version:        1.0.3
5 Release:        3
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        http://prdownloads.sourceforge.net/libmng/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-automake.patch
10 URL:            http://www.libmng.com/
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake
13 BuildRequires:  libjpeg-devel
14 BuildRequires:  libtool
15 BuildRequires:  zlib-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Obsoletes:      libmng0
18
19 %description
20 libmng - library for reading, writing, displaying and examing
21 Multiple-Image Network Graphics. MNG is the animation extension to the
22 popular PNG image-format.
23
24 %description -l pl
25 libmng - biblioteka do czytania, zapisywania, wy¶wietlania i
26 pobierania informacji z plików MNG (Multiple-Image Network Graphics).
27 MNG to rozszerzenie o animacje popularnego formatu obrazków PNG.
28
29 %package devel
30 Summary:        Development tools for programs to manipulate MNG format files
31 Summary(pl):    Pakiet do tworzenia programów obrabiaj±cych pliki MNG
32 Group:          Development/Libraries
33 Requires:       %{name} = %{version}
34 Requires:       libjpeg-devel
35 Requires:       zlib-devel
36 Obsoletes:      libmng0-devel
37
38 %description devel
39 The libmng-devel package contains the header files necessary for
40 developing programs using the MNG (Multiple-Image Network Graphics)
41 library.
42
43 If you want to develop programs which will manipulate MNG image format
44 files, you should install libmng-devel. You'll also need to install
45 the libmng package.
46
47 %description devel -l pl
48 Ten pakiet zawiera pliki nag³ówkowe potrzebne do tworzenia programów
49 u¿ywaj±cych biblioteki libmng do obróbki plików MNG.
50
51 %package static
52 Summary:        Static MNG libraries
53 Summary(pl):    Biblioteki statyczne MNG
54 Group:          Development/Libraries
55 Requires:       %{name}-devel = %{version}
56
57 %description static
58 Static MNG libraries.
59
60 %description static -l pl
61 Biblioteki statyczne MNG.
62
63 %prep
64 %setup -q
65 %patch0 -p1
66
67 %build
68 rm -f acinclude.m4 missing
69 libtoolize --copy --force
70 aclocal
71 autoconf
72 automake -a -c
73 %configure \
74         --enable-shared \
75         --enable-static \
76         --with-zlib \
77         --with-jpeg
78 %{__make}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82
83 %{__make} install DESTDIR=$RPM_BUILD_ROOT
84
85 gzip -9nf Changes README* doc/{doc.readme,libmng.txt}
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post   -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
92
93 %files
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/lib*.so.*.*
96 %{_mandir}/man5/*
97
98 %files devel
99 %defattr(644,root,root,755)
100 %doc *.gz doc/*.gz
101 %{_includedir}/*
102 %attr(755,root,root) %{_libdir}/lib*.so
103 %attr(755,root,root) %{_libdir}/lib*.la
104 %{_mandir}/man3/*
105
106 %files static
107 %defattr(644,root,root,755)
108 %{_libdir}/libmng.a
This page took 0.065589 seconds and 3 git commands to generate.