rpms/lcms2/devel import.log, NONE, 1.1 lcms2.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Richard Hughes rhughes at fedoraproject.org
Mon Jun 21 08:00:52 UTC 2010


Author: rhughes

Update of /cvs/pkgs/rpms/lcms2/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv25636/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log lcms2.spec 
Log Message:



--- NEW FILE import.log ---
lcms2-2_0a-3_fc14:HEAD:lcms2-2.0a-3.fc14.src.rpm:1277107221


--- NEW FILE lcms2.spec ---
Name:           lcms2
Version:        2.0a
Release:        3%{?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)

BuildRequires:  libjpeg-devel
BuildRequires:  libtiff-devel
BuildRequires:  zlib-devel

%description
LittleCMS intends to be a small-footprint, speed optimized color management
engine in open source form. LCMS2 is the current version of LCMS, and can be
parallel installed with the original (deprecated) lcms.

%package        utils
Summary:        Utility applications for %{name}
Group:          Applications/Productivity

%description    utils
The %{name}-utils package contains utility applications for %{name}.

%package        devel
Summary:        Development files for LittleCMS
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Provides:       littlecms-devel = %{version}-%{release}

%description    devel
Development files for LittleCMS.

%prep
%setup -q -n lcms-2.0
#chmod +x configure

%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

make %{?_smp_mflags}

%install
rm -rf ${RPM_BUILD_ROOT}
make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
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

%clean
rm -rf ${RPM_BUILD_ROOT}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_libdir}/*.so.*

%files utils
%defattr(-,root,root,-)
%{_bindir}/*
%{_mandir}/man1/*

%files devel
%defattr(-,root,root,-)
%{_datadir}/doc/lcms2-devel-2.0/*.pdf
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc

%changelog
* Fri Jun 18 2010 Richard Hughes <richard at hughsie.com> 2.0a-3
- Address some more review comments.
- Resolves #590387

* Fri Jun 18 2010 Richard Hughes <richard at hughsie.com> 2.0a-2
- Address some review comments.
- Resolves #590387

* Fri Jun 18 2010 Richard Hughes <richard at hughsie.com> 2.0a-1
- Initial package for Fedora review


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lcms2/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	21 Jun 2010 02:34:27 -0000	1.1
+++ .cvsignore	21 Jun 2010 08:00:49 -0000	1.2
@@ -0,0 +1 @@
+lcms2-2.0a.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lcms2/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	21 Jun 2010 02:34:27 -0000	1.1
+++ sources	21 Jun 2010 08:00:51 -0000	1.2
@@ -0,0 +1 @@
+c4f115462a7a5b306c247d018d7a8982  lcms2-2.0a.tar.gz



More information about the scm-commits mailing list