diff --git a/README.md b/README.md index f0e79d2..f5da058 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libmng +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. + diff --git a/libmng.spec b/libmng.spec new file mode 100644 index 0000000..084667d --- /dev/null +++ b/libmng.spec @@ -0,0 +1,101 @@ +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 +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 2.0.2-1mamba +- automatic update by autodist + +* Fri Jul 02 2010 Silvan Calarco 1.0.10-3mamba +- rebuilt with libjpeg 8 + +* Tue Nov 03 2009 Silvan Calarco 1.0.10-2mamba +- rebuilt against libjpeg 7 + +* Tue Jun 03 2008 Silvan Calarco 1.0.10-1mamba +- update to 1.0.10 + +* Tue Nov 29 2005 Stefano Cotta Ramusino 1.0.9-3qilnx +- specfile fixed +- license changed + +* Tue Nov 29 2005 Massimo Pintore 1.0.9-2qilnx +- rebuilt using autotools + +* Mon Nov 28 2005 Silvan Calarco 1.0.9-1qilnx +- update to version 1.0.9 by autospec + +* Wed May 21 2003 Silvan Calarco 1.0.5-1qilnx +- first build