Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:12.3
lcms
lcms.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lcms.spec of Package lcms
# # spec file for package lcms # # Copyright (c) 2011 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/ # Name: lcms License: MIT Group: Productivity/Graphics/Other Summary: Utilities for the Little CMS Engine URL: http://www.littlecms.com/ Version: 1.19 Release: 1 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 Source1: baselibs.conf Patch: lcms-endian.patch Patch1: lcms-strict-aliasing.patch Patch2: lcms-implicit-declaration.patch %if 0%{?fedora_version} BuildRequires: gcc-c++ libjpeg-devel libtiff-devel pkgconfig python-devel zlib-devel %endif %if 0%{?suse_version} BuildRequires: gcc-c++ libjpeg-devel libtiff-devel pkg-config python-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 Group: System/Libraries #workaround for wrong package naming 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 Requires: liblcms1 = %{version} glibc-devel Group: Development/Libraries/C and C++ # 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 %patch1 %patch2 #%patch3 -p1 cp -a README.1ST README chmod -x COPYING AUTHORS NEWS README doc/*.TXT %build %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