2024-01-06 05:04:34 +01:00
|
|
|
Name: libmng
|
2024-01-06 05:04:35 +01:00
|
|
|
Version: 2.0.3
|
2024-05-25 17:31:29 +02:00
|
|
|
Release: 2mamba
|
2024-01-06 05:04:34 +01:00
|
|
|
Summary: A library for handling MNG files
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-05-25 17:31:29 +02:00
|
|
|
URL: https://www.libmng.com
|
|
|
|
Source: https://downloads.sourceforge.net/sourceforge/libmng/%{name}-%{version}.tar.xz
|
2024-01-06 05:04:34 +01:00
|
|
|
License: zlib/libpng
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
2024-05-25 17:31:29 +02:00
|
|
|
BuildRequires: liblcms2-devel
|
2024-01-06 05:04:34 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%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
|
2024-05-25 17:31:29 +02:00
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 05:04:34 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2024-05-25 17:31:29 +02:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:04:34 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2024-05-25 17:31:29 +02:00
|
|
|
|
2024-01-06 05:04:34 +01:00
|
|
|
%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.*
|
2024-05-25 17:31:29 +02:00
|
|
|
%doc LICENSE
|
2024-01-06 05:04:34 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-05-25 17:31:29 +02:00
|
|
|
%{_includedir}/libmng*.h
|
2024-01-06 05:04:34 +01:00
|
|
|
%{_libdir}/libmng.so
|
2024-05-25 17:31:29 +02:00
|
|
|
%{_libdir}/libmng.a
|
2024-01-06 05:04:34 +01:00
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man5/*
|
|
|
|
%{_libdir}/pkgconfig/libmng.pc
|
|
|
|
|
|
|
|
%changelog
|
2024-05-25 17:31:29 +02:00
|
|
|
* Sat May 25 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3-2mamba
|
|
|
|
- rebuilt with debug package and specfile fixes
|
|
|
|
|
2024-01-06 05:04:35 +01:00
|
|
|
* Mon Apr 27 2015 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 05:04:34 +01:00
|
|
|
* 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
|