Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
jasper.6488
jasper.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jasper.spec of Package jasper.6488
# # spec file for package jasper # # Copyright (c) 2017 SUSE LINUX 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/ # Name: jasper BuildRequires: gcc-c++ BuildRequires: libdrm-devel BuildRequires: libjpeg-devel BuildRequires: unzip Url: http://www.ece.uvic.ca/~mdadams/jasper/ Version: 1.900.14 Release: 0 Summary: An Implementation of the JPEG-2000 Standard, Part 1 License: SUSE-Public-Domain Group: Productivity/Graphics/Convertors Source: %{name}-%{version}.tar.bz2 Source2: baselibs.conf Patch0: jasper-1.900.1-uninitialized.patch Patch1: jasper-CVE-2016-8654.patch Patch2: jasper-CVE-2016-9395.patch Patch3: jasper-CVE-2016-9398.patch Patch4: jasper-CVE-2016-9560.patch Patch5: jasper-CVE-2016-9591.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains an implementation of the image compression standard, JPEG-2000, Part 1. It consists of tools for conversion to and from the JP2 and JPC formats. %package -n libjasper1 Summary: JPEG-2000 library # bug437293 Group: Productivity/Graphics/Convertors %ifarch ppc64 Obsoletes: libjasper-64bit %endif # used in <= 11.3 Obsoletes: libjasper < %{version}-%{release} Provides: libjasper = %{version}-%{release} # %description -n libjasper1 This package contains libjasper, a library implementing the JPEG-2000 image compression standard Part 1. %package -n libjasper-devel Summary: JPEG-2000 library - files mandatory for development # bug437293 Group: Development/Libraries/C and C++ %ifarch ppc64 Obsoletes: libjasper-devel-64bit %endif # Requires: libjasper1 = %{version} Requires: libjpeg-devel %description -n libjasper-devel This package contains libjasper, a library implementing the JPEG-2000 image compression standard Part 1. %prep %setup -q %patch0 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %build export CFLAGS="$RPM_OPT_FLAGS -Wall -std=c99 -D_BSD_SOURCE" %configure --prefix=/usr --enable-shared --disable-static --libdir=%{_libdir} make %{?jobs:-j%jobs} # # Sanity check # With some CFLAGS sets, uint, ulong and ushort are not visible and jas_config.h # refefines system types. It can trigger build failures after # #include <jasper/jasper.h>. if grep "#define ushort" src/libjasper/include/jasper/jas_config.h ; then echo "jas_config.h redefines system types" >&2 exit 1 fi %install make install DESTDIR=$RPM_BUILD_ROOT mv doc/README doc/README.doc rm $RPM_BUILD_ROOT/usr/bin/tmrdemo # compatibility link, there was no interface change ln -s libjasper.so.1.0.0 $RPM_BUILD_ROOT%{_libdir}/libjasper-1.701.so.1 %post -n libjasper1 -p /sbin/ldconfig %postun -n libjasper1 -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYRIGHT INSTALL LICENSE NEWS README doc/* /usr/bin/imgcmp /usr/bin/imginfo /usr/bin/jasper %{_mandir}/man*/* %files -n libjasper1 %defattr(-,root,root) %{_libdir}/libjasper*.so.* %files -n libjasper-devel %defattr(-,root,root) /usr/include/jasper %{_libdir}/libjasper.so %{_libdir}/libjasper.la %{_libdir}/pkgconfig/jasper.pc %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