use gutenprint per default for current development/future distribution
versions (Fedora >= 7, RHEL >= 6)
This commit is contained in:
parent
aa12b7027f
commit
8eede9b486
21
gimp.spec
21
gimp.spec
@ -4,6 +4,7 @@
|
|||||||
#
|
#
|
||||||
# modular_x: modular X deps
|
# modular_x: modular X deps
|
||||||
# lcms: lcms support
|
# lcms: lcms support
|
||||||
|
# gutenprint: gutenprint support (instead of gimp-print)
|
||||||
# python: python support
|
# python: python support
|
||||||
# mp: multi processor support
|
# mp: multi processor support
|
||||||
# static: build static libraries
|
# static: build static libraries
|
||||||
@ -18,6 +19,12 @@
|
|||||||
%define _enable_lcms 0%{?_with_lcms:1}
|
%define _enable_lcms 0%{?_with_lcms:1}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?fedora}%{?rhel} == 0 || 0%{?fedora} >= 7 || 0%{?rhel} >= 6
|
||||||
|
%define _enable_gutenprint 0%{!?_without_gutenprint:1}
|
||||||
|
%else
|
||||||
|
%define _enable_gutenprint 0%{?_with_gutenprint:1}
|
||||||
|
%endif
|
||||||
|
|
||||||
%define _enable_python 0%{!?_without_python:1}
|
%define _enable_python 0%{!?_without_python:1}
|
||||||
%define _enable_mp 0%{!?_without_mp:1}
|
%define _enable_mp 0%{!?_without_mp:1}
|
||||||
%define _enable_static 0%{!?_without_static:1}
|
%define _enable_static 0%{!?_without_static:1}
|
||||||
@ -36,7 +43,7 @@ Version: 2.2.13
|
|||||||
%define age 0
|
%define age 0
|
||||||
%define minorver 200
|
%define minorver 200
|
||||||
%define microver %(ver=%{version}; echo ${ver##*.*.})
|
%define microver %(ver=%{version}; echo ${ver##*.*.})
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
License: GPL, LGPL
|
License: GPL, LGPL
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -67,7 +74,11 @@ BuildRequires: libXt-devel
|
|||||||
%else
|
%else
|
||||||
BuildRequires: xorg-x11-devel
|
BuildRequires: xorg-x11-devel
|
||||||
%endif
|
%endif
|
||||||
|
%if %_enable_gutenprint
|
||||||
|
BuildRequires: gutenprint-devel >= 5.0.0
|
||||||
|
%else
|
||||||
BuildRequires: gimp-print-devel >= 4.2.0
|
BuildRequires: gimp-print-devel >= 4.2.0
|
||||||
|
%endif
|
||||||
BuildRequires: automake >= 1.7
|
BuildRequires: automake >= 1.7
|
||||||
BuildRequires: autoconf >= 2.54
|
BuildRequires: autoconf >= 2.54
|
||||||
BuildRequires: libtool >= 1.5
|
BuildRequires: libtool >= 1.5
|
||||||
@ -84,7 +95,11 @@ Requires: glib2 >= 2.4.8
|
|||||||
Requires: gtk2 >= 2.4.14
|
Requires: gtk2 >= 2.4.14
|
||||||
Requires: pango >= 1.6.0
|
Requires: pango >= 1.6.0
|
||||||
Requires: fontconfig >= 2.2.0
|
Requires: fontconfig >= 2.2.0
|
||||||
|
%if %_enable_gutenprint
|
||||||
|
Requires: gutenprint >= 5.0.0
|
||||||
|
%else
|
||||||
Requires: gimp-print >= 4.2.0
|
Requires: gimp-print >= 4.2.0
|
||||||
|
%endif
|
||||||
Requires(post): /usr/bin/update-desktop-database
|
Requires(post): /usr/bin/update-desktop-database
|
||||||
Requires(post): hicolor-icon-theme
|
Requires(post): hicolor-icon-theme
|
||||||
Requires(postun): /usr/bin/update-desktop-database
|
Requires(postun): /usr/bin/update-desktop-database
|
||||||
@ -403,6 +418,10 @@ fi
|
|||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 26 2007 Nils Philippsen <nphilipp@redhat.com> - 2:2.2.13-3
|
||||||
|
- use gutenprint per default for current development/future distribution
|
||||||
|
versions (Fedora >= 7, RHEL >= 6)
|
||||||
|
|
||||||
* Mon Mar 26 2007 Nils Philippsen <nphilipp@redhat.com> - 2:2.2.13-2
|
* Mon Mar 26 2007 Nils Philippsen <nphilipp@redhat.com> - 2:2.2.13-2
|
||||||
- own used directories in gimp-devel (#233794)
|
- own used directories in gimp-devel (#233794)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user