Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
libmng
libmng.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmng.spec of Package libmng
# # spec file for package libmng (Version 1.0.10) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libmng BuildRequires: libjpeg-devel liblcms-devel zlib-devel License: GPLv2+ ; Other uncritical OpenSource License Group: System/Libraries Summary: Library for Support of MNG and JNG Formats Version: 1.0.10 Release: 93 # bug437293 %ifarch ppc64 Obsoletes: libmng-64bit %endif # Url: http://www.libmng.com/ Source0: libmng-%version.tar.bz2 Source1: baselibs.conf Patch: libmng.diff Patch2: libmng-no-jpeg.diff Patch3: libmng-1.0.9-dont-leak-zlib-streams.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This library can handle MNG and JNG formats that contain animated pictures. These formats should replace the GIF format. Authors: -------- Gerard Juyn <gerard@libmng.com> %package devel License: GPLv2+ ; Other uncritical OpenSource License Requires: libjpeg-devel %{name} = %{version} liblcms-devel zlib-devel Summary: Include Files and Libraries mandatory for Development. Group: Development/Libraries/C and C++ # bug437293 %ifarch ppc64 Obsoletes: libmng-devel-64bit %endif # %description devel This library can handle MNG and JNG formats which contain animated pictures. These formats should replace the GIF format. This package contains the static library and the header files. Authors: -------- Gerard Juyn <gerard@libmng.com> %prep %setup -q %patch %patch3 %build make %{?jobs:-j%jobs} -f makefiles/makefile.linux _LIB=%_lib %install make -f makefiles/makefile.linux DESTDIR=$RPM_BUILD_ROOT _LIB=%_lib install mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3/ $RPM_BUILD_ROOT/%{_mandir}/man5/ install -m 0644 doc/man/*.3 $RPM_BUILD_ROOT/%{_mandir}/man3/ install -m 0644 doc/man/*.5 $RPM_BUILD_ROOT/%{_mandir}/man5/ # # build a mini libmng # make -f makefiles/makefile.linux clean patch -p0 < %PATCH2 make -f makefiles/makefile.linux _LIB=%_lib install -m 0755 libmng.a $RPM_BUILD_ROOT/%_libdir/libmng-mini.a %{__rm} -v %{buildroot}%_libdir/libmng.a %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc LICENSE README doc/doc.readme doc/libmng.txt %{_libdir}/libmng.so.* %files devel %defattr(-,root,root) /usr/include/*.h %doc %_mandir/*/* %_libdir/libmng-mini.a %_libdir/libmng.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor