libmng/libmng.spec

72 lines
1.6 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:57:00 -04:00
Name: libmng
Version: 2.0.3
2019-12-26 19:17:25 +08:00
Release: 10
2019-09-30 10:57:00 -04:00
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
2019-12-26 19:17:25 +08:00
%defattr(-,root,root)
%doc doc/* CHANGES README*
%license LICENSE
2019-09-30 10:57:00 -04:00
%{_libdir}/*.so.*
%files devel
2019-12-26 19:17:25 +08:00
%defattr(-,root,root)
2019-09-30 10:57:00 -04:00
%doc doc/*
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/libmng.pc
%files help
2019-12-26 19:17:25 +08:00
%defattr(-,root,root)
2019-09-30 10:57:00 -04:00
%{_mandir}/man3/*
%{_mandir}/man5/*
%doc CHANGES README*
2019-12-26 19:17:25 +08:00
2019-09-30 10:57:00 -04:00
%changelog
2019-12-26 19:17:25 +08:00
* Thu Dec 26 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.3-10
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the files of spec
2019-09-30 10:57:00 -04:00
* Tue Sep 17 2019 Yiru Wang <wangyiru1@huawei.com> - 2.0.3-9
- Pakcage init