libmng/libmng.spec

102 lines
3.0 KiB
RPMSpec

Name: libmng
Version: 2.0.2
Release: 1mamba
Summary: A library for handling MNG files
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.libmng.com
Source: http://downloads.sourceforge.net/sourceforge/libmng/%{name}-%{version}.tar.gz
License: zlib/libpng
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The libmng library supports decoding, displaying, encoding, and various other manipulations of the Multiple-image Network Graphics (MNG) format image files.
It uses the zlib compression library, and optionally the JPEG library by the Independent JPEG Group (IJG) and/or lcms (little cms), a color-management library by Marti Maria Saguar.
%package devel
Summary: Development files for a library for handling MNG files
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
The libmng library supports decoding, displaying, encoding, and various other manipulations of the Multiple-image Network Graphics (MNG) format image files.
It uses the zlib compression library, and optionally the JPEG library by the Independent JPEG Group (IJG) and/or lcms (little cms), a color-management library by Marti Maria Saguar.
This is the development package.
%prep
%setup -q
%build
#cp -a makefiles/{configure.in,Makefile.am} .
#
#aclocal
#libtoolize --force
#automake -a
#autoconf
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# install man pages
install -D doc/man/libmng.3 %{buildroot}%{_mandir}/man3/libmng.3
install -D doc/man/mng.5 %{buildroot}%{_mandir}/man5/mng.5
install -D doc/man/jng.5 %{buildroot}%{_mandir}/man5/jng.5
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libmng.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/libmng.*a
%{_libdir}/libmng.so
%{_mandir}/man3/*
%{_mandir}/man5/*
%{_libdir}/pkgconfig/libmng.pc
%changelog
* Thu Aug 22 2013 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
- automatic update by autodist
* Fri Jul 02 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.10-3mamba
- rebuilt with libjpeg 8
* Tue Nov 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.10-2mamba
- rebuilt against libjpeg 7
* Tue Jun 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.10-1mamba
- update to 1.0.10
* Tue Nov 29 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.0.9-3qilnx
- specfile fixed
- license changed
* Tue Nov 29 2005 Massimo Pintore <massimo.pintore@qilinux.it> 1.0.9-2qilnx
- rebuilt using autotools
* Mon Nov 28 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.9-1qilnx
- update to version 1.0.9 by autospec
* Wed May 21 2003 Silvan Calarco <silvan.calarco@qinet.it> 1.0.5-1qilnx
- first build