Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:smarty12:multimedia
lcms
lcms.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lcms.spec of Package lcms
# # spec file for package lcms # # 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: lcms Summary: Utilities for the Little CMS Engine License: MIT Group: Productivity/Graphics/Other Url: http://www.littlecms.com/ Version: 1.19 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: http://downloads.sourceforge.net/project/%{name}/%{name}/%{version}/%{name}-%{version}.tar.gz Source1: baselibs.conf Patch0: lcms-endian.patch Patch1: lcms-strict-aliasing.patch Patch2: lcms-implicit-declaration.patch # PATCH-FIX-SECURITY CVE-2013-4276.patch bnc843716 sbrabec@suse.cz -- Stack overflow fix. Patch3: CVE-2013-4276.patch Patch4: lcms-gcc14-fix.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool %if 0%{?fedora_version} BuildRequires: gcc-c++ BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: pkgconfig BuildRequires: python-devel BuildRequires: zlib-devel %endif %if 0%{?suse_version} BuildRequires: gcc-c++ BuildRequires: libjpeg-devel BuildRequires: libtiff-devel BuildRequires: pkg-config BuildRequires: python-devel BuildRequires: zlib-devel %endif # bug437293 %ifarch ppc64 Obsoletes: liblcms-64bit %endif %description Little cms is a small speed optimized color management engine. %package -n liblcms1 Summary: Libraries for the Little CMS Engine #workaround for wrong package naming Group: System/Libraries Provides: liblcms0 = %{version} Obsoletes: liblcms0 <= %{version} %description -n liblcms1 Little cms is a small speed optimized color management engine. %package -n liblcms-devel Summary: Include Files and Libraries Mandatory for Development Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: liblcms1 = %{version} # bug437293 %ifarch ppc64 Obsoletes: liblcms-devel-64bit %endif # %description -n liblcms-devel This package contains all necessary include files and libraries needed to develop applications that require these. %package -n python-lcms Summary: Python Bindings for the Little CMS Engine Group: Development/Libraries/Python %if 0%{?suse_version} %py_requires %endif %if 0%{?fedora_version} Requires: python %endif %description -n python-lcms Little cms is a small speed optimized color management engine. %prep %setup -q %patch -P 0 %patch -P 1 %patch -P 2 %patch -P 3 -p1 %patch -P 4 -p1 cp -a README.1ST README chmod -x COPYING AUTHORS NEWS README doc/*.TXT %build autoreconf -fi export CFLAGS='%{optflags} -O1' export CXXFLAGS='%{optflags} -O1' %configure\ --disable-static\ --with-python make %{?_smp_flags} %check make check %install %makeinstall rm $RPM_BUILD_ROOT%{_libdir}/*.la $RPM_BUILD_ROOT%{py_sitedir}/_lcms.la %post -n liblcms1 -p /sbin/ldconfig %postun -n liblcms1 -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING AUTHORS NEWS README %{_bindir}/* %{_mandir}/man?/*.* %files -n liblcms1 %defattr(-,root,root) %{_libdir}/liblcms.so.1* %files -n liblcms-devel %defattr(-,root,root) %doc doc/*.TXT %{_includedir}/*.h %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %files -n python-lcms %defattr(-,root,root,-) %{py_sitedir}/lcms.py* %{py_sitedir}/_lcms.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