From 580ff08823a0c1aa054fcf3c81244c171fd077f9 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 1 Dec 2010 16:30:38 +0000 Subject: [PATCH] - Update to new upstream version. --- .gitignore | 1 + lcms2.spec | 28 +++++++++++----------------- sources | 2 +- 3 files changed, 13 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index 535b6dd..34d5103 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ lcms2-2.0a.tar.gz +/lcms2-2.1.tar.gz diff --git a/lcms2.spec b/lcms2.spec index 18678a1..433e36e 100644 --- a/lcms2.spec +++ b/lcms2.spec @@ -1,12 +1,10 @@ Name: lcms2 -Version: 2.0a -Release: 3%{?dist} +Version: 2.1 +Release: 1%{?dist} Summary: Color Management Engine -Group: System Environment/Libraries License: MIT URL: http://www.littlecms.com/ -Source0: http://www.littlecms.com/lcms2-2.0a.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://www.littlecms.com/lcms2-2.1.tar.gz BuildRequires: libjpeg-devel BuildRequires: libtiff-devel @@ -34,18 +32,11 @@ Provides: littlecms-devel = %{version}-%{release} Development files for LittleCMS. %prep -%setup -q -n lcms-2.0 -#chmod +x configure +%setup -q %build %configure --disable-static --program-suffix=2 -# lcms tarball is generated on cygwin -find * -type f -name "*.c" -exec chmod -x {} ';' -find * -type f -name "*.h" -exec chmod -x {} ';' -chmod -x AUTHORS -chmod -x COPYING - # remove rpath from libtool sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -60,9 +51,9 @@ install -D -m 644 include/lcms2.h $RPM_BUILD_ROOT/usr/include/lcms2.h install -D -m 644 include/lcms2_plugin.h $RPM_BUILD_ROOT/usr/include/lcms2_plugin.h # install docs as this is all we've got -install -D -m 644 doc/LittleCMS2.0\ tutorial.pdf $RPM_BUILD_ROOT/usr/share/doc/lcms2-devel-2.0/tutorial.pdf -install -D -m 644 doc/LittleCMS2.0\ API.pdf $RPM_BUILD_ROOT/usr/share/doc/lcms2-devel-2.0/api.pdf -install -D -m 644 doc/LittleCMS2.0\ Plugin\ API.pdf $RPM_BUILD_ROOT/usr/share/doc/lcms2-devel-2.0/plugin-api.pdf +install -D -m 644 doc/LittleCMS2.1\ tutorial.pdf $RPM_BUILD_ROOT/usr/share/doc/lcms2-devel-2.1/tutorial.pdf +install -D -m 644 doc/LittleCMS2.1\ API.pdf $RPM_BUILD_ROOT/usr/share/doc/lcms2-devel-2.1/api.pdf +install -D -m 644 doc/LittleCMS2.1\ Plugin\ API.pdf $RPM_BUILD_ROOT/usr/share/doc/lcms2-devel-2.1/plugin-api.pdf %clean rm -rf ${RPM_BUILD_ROOT} @@ -83,12 +74,15 @@ rm -rf ${RPM_BUILD_ROOT} %files devel %defattr(-,root,root,-) -%{_datadir}/doc/lcms2-devel-2.0/*.pdf +%{_datadir}/doc/lcms2-devel-2.1/*.pdf %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc %changelog +* Wed Dec 01 2010 Richard Hughes 2.1-1 +- Update to new upstream version. + * Fri Jun 18 2010 Richard Hughes 2.0a-3 - Address some more review comments. - Resolves #590387 diff --git a/sources b/sources index ffe9a96..586537d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c4f115462a7a5b306c247d018d7a8982 lcms2-2.0a.tar.gz +08036edb115ad74456dfa20b1998b5f4 lcms2-2.1.tar.gz