]> git.pld-linux.org Git - packages/libmng.git/blobdiff - libmng.spec
- updated to 1.0.2,
[packages/libmng.git] / libmng.spec
index 547ddd006d6c320468f62ea40830564f488a01bc..752161d4acd473f565fb80a1a9b1e23ddd1f7f86 100644 (file)
@@ -1,17 +1,20 @@
 Summary:       A library of functions for manipulating MNG format files
 Name:          libmng
-Version:       0.9.2
+Version:       1.0.2
 Release:       1
-License:       AS IS
+License:       BSD-like
 Group:         Libraries
-Group(pl):     Biblioteki
+Group(de):     Libraries
 Group(fr):     Librairies
-Source0:       ftp://download.sourceforge.net/pub/sourceforge/libmng/%{name}-%{version}.tar.gz
-Patch0:                libmng-automake.patch
+Group(pl):     Biblioteki
+Source0:       http://prdownloads.sourceforge.net/libmng/%{name}-%{version}.tar.gz
+Patch0:                %{name}-automake.patch
 URL:           http://www.libmng.com/
-BuildPrereq:   automake
-BuildPrereq:   autoconf
-BuildPrereq:   zlib-devel
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: libjpeg-devel
+BuildRequires: libtool
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,9 +25,12 @@ popular PNG image-format.
 %package devel
 Summary:       Development tools for programs to manipulate MNG format files
 Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
+Group(de):     Entwicklung/Libraries
 Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
 Requires:      %{name} = %{version}
+Requires:      libjpeg-devel
+Requires:      zlib-devel
 
 %description devel
 The libmng-devel package contains the header files and static
@@ -38,8 +44,9 @@ the libmng package.
 %package static
 Summary:       Static MNG libraries
 Group:         Development/Libraries
-Group(pl):     Programowanie/Biblioteki
+Group(de):     Entwicklung/Libraries
 Group(fr):     Development/Librairies
+Group(pl):     Programowanie/Biblioteki
 Requires:      %{name}-devel = %{version}
 
 %description static
@@ -50,11 +57,16 @@ Static MNG libraries.
 %patch -p1
 
 %build
+rm -f acinclude.m4 missing
+libtoolize --copy --force
 aclocal
-automake
 autoconf
-LDFLAGS="-s"; export LDFLAGS
-%configure
+automake -a -c
+%configure \
+       --enable-shared \
+       --enable-static \
+       --with-zlib \
+       --with-jpeg
 %{__make}
 
 %install
@@ -62,10 +74,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
-
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
-       CHANGES README* doc/{doc.readme,libmng.txt}
+gzip -9nf Changes README* doc/{doc.readme,libmng.txt}
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
This page took 0.089133 seconds and 4 git commands to generate.