File scarse.spec of Package scarse
#
# spec file for package scarse (Version 0.4.alpha)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: scarse
BuildRequires: libtiff-devel
Version: 0.4.alpha
Release: 67
%define _version 0.4
%define __version 0.4-alpha
URL: http://www.scarse.org/
Group: Productivity/Graphics/Other
License: BSD 3-Clause, GPL v2 or later
Summary: Scanner CAlibration ReaSonably Easy
Source: %{name}-%{_version}-src.tar.bz2
Patch: scarse-0.4-alpha-gcc4.patch
Patch1: scarse-icclib-fix.patch
Patch2: scarse-0.4-alpha-integer.patch
Patch3: scarse-strip.patch
Patch4: scarse-fix.patch
Patch5: scarse-copying.patch
Patch6: scarse-destdir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Scarse is a free color calibration and management software package. It
lets you build and use ICC profiles. Custom profiles can be generated
from a variety of calibration targets.
Authors:
--------
Andrei Frolov <frolov@cita.utoronto.ca>
%prep
%setup -q -n %{name}-%{__version}
%patch
%patch1
%patch2
%patch3
%patch4 -p1
%patch5
%patch6
%build
autoreconf -fi
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}
%install
%makeinstall
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/icclib
cp CHANGES COPYING CREDITS INSTALL README TODO $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
cp icclib/BUGS icclib/COPYRIGHT icclib/README $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/icclib
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, root)
%doc %{_defaultdocdir}/%{name}
%{_bindir}/*
%{_datadir}/scarse
%changelog
* Fri Aug 10 2007 - crrodriguez@suse.de
- remove this package from the FAILED queue fixing DESTDIR issue.
* Thu Aug 09 2007 - sbrabec@suse.cz
- Changed license to make package distributable (#136910).
* Tue Dec 19 2006 - meissner@suse.de
- fixed build.
* Wed May 24 2006 - schwab@suse.de
- Don't strip binaries.
* Fri Jan 27 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 24 2006 - mmarek@suse.cz
- fix integer overflow when char is unsigned
(integer.patch)
* Thu Jan 05 2006 - sbrabec@suse.cz
- Fixed neededforbuild.
* Fri Nov 25 2005 - sbrabec@suse.cz
- New SuSE package, version 0.4-alpha.