build with sane and printers support

This commit is contained in:
Tigro 2013-06-14 17:54:57 +04:00
parent 4548ce6a05
commit 1f27bceeb4

View file

@ -7,7 +7,7 @@
Summary: Color daemon Summary: Color daemon
Name: colord Name: colord
Version: 1.0.1 Version: 1.0.1
Release: 1 Release: 2
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
Group: System/X11 Group: System/X11
URL: http://www.freedesktop.org/software/colord/ URL: http://www.freedesktop.org/software/colord/
@ -28,6 +28,9 @@ BuildRequires: pkgconfig(sqlite3)
BuildRequires: sane-devel BuildRequires: sane-devel
BuildRequires: vala-tools BuildRequires: vala-tools
BuildRequires: gtk-doc BuildRequires: gtk-doc
BuildRequires: argyllcms
BuildRequires: pkgconfig(libsystemd-daemon)
BuildRequires: pkgconfig(libsystemd-login)
Requires(pre,postun): rpm-helper Requires(pre,postun): rpm-helper
Requires: shared-color-profiles Requires: shared-color-profiles
@ -36,6 +39,9 @@ Requires: systemd-units
Obsoletes: %{girname} < %{version} Obsoletes: %{girname} < %{version}
Provides: %{girname} = %{version}-%{release} Provides: %{girname} = %{version}-%{release}
Obsoletes: shared-color-profiles <= 0.1.6-2
Provides: shared-color-profiles
%description %description
colord is a low level system activated daemon that maps color devices colord is a low level system activated daemon that maps color devices
to color profiles in the system context. to color profiles in the system context.
@ -61,13 +67,21 @@ Files for development with %{name}.
%setup -q %setup -q
%build %build
# Set ~2 GiB limit so that colprof is forced to work in chunks when
# generating the print profile rather than trying to allocate a 3.1 GiB
# chunk of RAM to put the entire B-to-A tables in.
ulimit -Sv 2000000
%configure \ %configure \
--with-daemon-user=colord \ --with-daemon-user=colord \
--with-systemdsystemunitdir=%{_systemunitdir} \ --with-systemdsystemunitdir=%{_systemunitdir} \
--enable-vala \ --enable-vala \
--enable-sane \
--enable-print-profiles \
--with-daemon-user=colord \
--disable-static \ --disable-static \
--disable-rpath \ --disable-rpath \
--disable-examples \ --disable-examples \
--disable-silent-rules \
--disable-dependency-tracking --disable-dependency-tracking
%make %make
@ -101,7 +115,7 @@ touch %{buildroot}%{_localstatedir}/lib/colord/storage.db
%{_bindir}/* %{_bindir}/*
%{_libdir}/colord %{_libdir}/colord
%{_libdir}/colord-plugins/* %{_libdir}/colord-plugins/*
#%{_libdir}/colord-sane %{_libdir}/colord-sane
%{_libdir}/colord-sensors %{_libdir}/colord-sensors
%{_libdir}/colord-session %{_libdir}/colord-session
%dir %{_datadir}/color/icc/colord %dir %{_datadir}/color/icc/colord