Hello community,
here is the log from the commit of package lcms2 for openSUSE:Factory
checked in at Thu Oct 14 00:55:57 CEST 2010.
--------
New Changes file:
--- /dev/null 2010-07-09 01:59:37.000000000 +0200
+++ /mounts/work_src_done/STABLE/lcms2/lcms2.changes 2010-10-08 17:12:56.000000000 +0200
@@ -0,0 +1,12 @@
+-------------------------------------------------------------------
+Fri Oct 8 15:11:49 UTC 2010 - mrdocs@opensuse.org
+
+-more spec file cleanups and prepare for factory submit
+-test building against it in my home repo
+
+-------------------------------------------------------------------
+Tue May 18 14:17:45 UTC 2010 - adrian@suse.de
+
+- initial lcms2 package, based on package from version 1
+- use OBS source services to download tar ball
+
calling whatdependson for head-i586
New:
----
_service
_service:download_url:lcms2-2.0a.tar.gz
baselibs.conf
lcms-2.0.tar.bz2
lcms-endian.patch
lcms-fix-return-values.patch
lcms2.changes
lcms2.spec
workaround-gcc-bug.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lcms2.spec ++++++
#
# spec file for package lcms2 (Version 2.0a)
#
# 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: lcms2
License: MIT License (or similar)
Group: Productivity/Graphics/Other
Summary: Little CMS Engine - A color managment library and tools
Url: http://www.littlecms.com/
Version: 2.0a
Release: 1
%if 0%{?suse_version}
BuildRequires: libjpeg-devel libtiff-devel pkg-config zlib-devel
%endif
%if 0%{?fedora_version}
BuildRequires: gcc libjpeg-devel libtiff-devel pkgconfig zlib-devel
%endif
%if 0%{?mandriva_version}
BuildRequires: gcc libjpeg-devel libtiff-devel pkgconfig zlib-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.gz
Source1: baselibs.conf
Patch: lcms-endian.patch
Patch1: lcms-fix-return-values.patch
Patch2: workaround-gcc-bug.diff
%description
Littlecms is a small speed optimized color management engine.
Little CMS intends to be a small-footprint color management engine
with a special focus on accuracy and performance. It uses the International
Color Consortium standard (ICC), which is the modern standard when
regarding to color management. The ICC specification is widely used and is
referred to in many International and other de-facto standards.
%package -n liblcms2-2
License: MIT License (or similar)
Summary: Libraries for the Little CMS Engine
Group: System/Libraries
%description -n liblcms2-2
Little CMS Engine - A color managment library and tools.
%package -n liblcms2-devel
License: MIT License (or similar)
Summary: Include Files and Libraries Mandatory for Development
Requires: liblcms2-2 = %{version} glibc-devel
Group: Development/Libraries/C and C++
%description -n liblcms2-devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
%package -n liblcms2-doc
License: MIT License (or similar)
Summary: User and developer documentation for lcms2
Group: Documentation/Other
%description -n liblcms2-doc
This package contains user and developer documentation for lcms2.
%prep
%setup -q -n lcms-2.0
%patch
%patch1
%if 0%{?suse_version} == 01110
%patch2
%endif
chmod a-x doc/* COPYING AUTHORS NEWS
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure --disable-static
make %{?_smp_flags}
#%check
# FIXME before submitting to factory
# make %{?_smp_flags} check || true
# make utils
%install
%makeinstall
rm $RPM_BUILD_ROOT/%_libdir/liblcms2.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -n liblcms2-2 -p /sbin/ldconfig
%postun -n liblcms2-2 -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING AUTHORS NEWS
%{_bindir}/*
%{_mandir}/man?/*.*
%files -n liblcms2-2
%defattr(-,root,root)
%{_libdir}/liblcms2.so.2*
%files -n liblcms2-devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%files -n liblcms2-doc
%defattr(-,root,root)
%doc doc/*.pdf
%changelog
++++++ baselibs.conf ++++++
liblcms2-2
provides "liblcms2-<targettype> = <version>"
obsoletes "liblcms2-<targettype> <= <version>"
liblcms2-2-devel
requires -liblcms2-<targettype>
requires "liblcms2-<targettype> = <version>"
++++++ lcms-endian.patch ++++++
--- include/lcms2.h.orig 2010-05-18 16:11:48.852037802 +0200
+++ include/lcms2.h 2010-05-18 16:12:22.116041439 +0200
@@ -30,8 +30,10 @@
// ********** Configuration toggles ****************************************
-// Uncomment this one if you are using big endian machines
-// #define CMS_USE_BIG_ENDIAN 1
+#include