61 lines
1.3 KiB
RPMSpec
61 lines
1.3 KiB
RPMSpec
|
|
Name: libmng
|
||
|
|
Version: 2.0.3
|
||
|
|
Release: 9
|
||
|
|
Summary: Used for supporting Multiple-image Network Graphics
|
||
|
|
License: zlib
|
||
|
|
URL: http://www.libmng.com/
|
||
|
|
Source0: http://download.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz
|
||
|
|
BuildRequires: autoconf lcms2-devel libjpeg-turbo-devel libtool zlib-devel
|
||
|
|
|
||
|
|
%description
|
||
|
|
LibMNG is a library which uesed for accessing graphics in Multi-image Network
|
||
|
|
Graphics and JPEG Network Graphics formats.
|
||
|
|
|
||
|
|
%package devel
|
||
|
|
Summary: Development files for the libmng
|
||
|
|
Requires: %{name} = %{version}-%{release}
|
||
|
|
Requires: libjpeg-devel zlib-devel
|
||
|
|
|
||
|
|
%description devel
|
||
|
|
This package contains development files.
|
||
|
|
|
||
|
|
%package help
|
||
|
|
Summary: Help documents for the libmng
|
||
|
|
|
||
|
|
%description help
|
||
|
|
This package contains help documents.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -p1
|
||
|
|
|
||
|
|
%build
|
||
|
|
cp makefiles/Makefile.am .
|
||
|
|
autoreconf -if
|
||
|
|
%configure --enable-shared --with-zlib --with-jpeg --with-gnu-ld --with-lcms2
|
||
|
|
%make_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%make_install
|
||
|
|
%delete_la_and_a
|
||
|
|
|
||
|
|
%post -p /sbin/ldconfig
|
||
|
|
%postun -p /sbin/ldconfig
|
||
|
|
|
||
|
|
%files
|
||
|
|
%doc LICENSE
|
||
|
|
%{_libdir}/*.so.*
|
||
|
|
|
||
|
|
%files devel
|
||
|
|
%doc doc/*
|
||
|
|
%{_includedir}/*
|
||
|
|
%{_libdir}/*.so
|
||
|
|
%{_libdir}/pkgconfig/libmng.pc
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%{_mandir}/man3/*
|
||
|
|
%{_mandir}/man5/*
|
||
|
|
%doc CHANGES README*
|
||
|
|
%changelog
|
||
|
|
* Tue Sep 17 2019 Yiru Wang <wangyiru1@huawei.com> - 2.0.3-9
|
||
|
|
- Pakcage init
|