mirror of
https://abf.rosa.ru/djam/colord.git
synced 2025-02-23 14:02:57 +00:00
build with sane and printers support
This commit is contained in:
parent
4548ce6a05
commit
1f27bceeb4
1 changed files with 16 additions and 2 deletions
18
colord.spec
18
colord.spec
|
@ -7,7 +7,7 @@
|
|||
Summary: Color daemon
|
||||
Name: colord
|
||||
Version: 1.0.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Group: System/X11
|
||||
URL: http://www.freedesktop.org/software/colord/
|
||||
|
@ -28,6 +28,9 @@ BuildRequires: pkgconfig(sqlite3)
|
|||
BuildRequires: sane-devel
|
||||
BuildRequires: vala-tools
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: argyllcms
|
||||
BuildRequires: pkgconfig(libsystemd-daemon)
|
||||
BuildRequires: pkgconfig(libsystemd-login)
|
||||
|
||||
Requires(pre,postun): rpm-helper
|
||||
Requires: shared-color-profiles
|
||||
|
@ -36,6 +39,9 @@ Requires: systemd-units
|
|||
Obsoletes: %{girname} < %{version}
|
||||
Provides: %{girname} = %{version}-%{release}
|
||||
|
||||
Obsoletes: shared-color-profiles <= 0.1.6-2
|
||||
Provides: shared-color-profiles
|
||||
|
||||
%description
|
||||
colord is a low level system activated daemon that maps color devices
|
||||
to color profiles in the system context.
|
||||
|
@ -61,13 +67,21 @@ Files for development with %{name}.
|
|||
%setup -q
|
||||
|
||||
%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 \
|
||||
--with-daemon-user=colord \
|
||||
--with-systemdsystemunitdir=%{_systemunitdir} \
|
||||
--enable-vala \
|
||||
--enable-sane \
|
||||
--enable-print-profiles \
|
||||
--with-daemon-user=colord \
|
||||
--disable-static \
|
||||
--disable-rpath \
|
||||
--disable-examples \
|
||||
--disable-silent-rules \
|
||||
--disable-dependency-tracking
|
||||
|
||||
%make
|
||||
|
@ -101,7 +115,7 @@ touch %{buildroot}%{_localstatedir}/lib/colord/storage.db
|
|||
%{_bindir}/*
|
||||
%{_libdir}/colord
|
||||
%{_libdir}/colord-plugins/*
|
||||
#%{_libdir}/colord-sane
|
||||
%{_libdir}/colord-sane
|
||||
%{_libdir}/colord-sensors
|
||||
%{_libdir}/colord-session
|
||||
%dir %{_datadir}/color/icc/colord
|
||||
|
|
Loading…
Add table
Reference in a new issue