make OpenEXR_CTL support optional (since it doesn't support openexr-2.x yet)
This commit is contained in:
parent
f72dac6c76
commit
e9c5475be9
@ -10,9 +10,14 @@
|
|||||||
%define priority 5
|
%define priority 5
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?fedora} < 21
|
||||||
|
# https://bugzilla.redhat.com/1017873
|
||||||
|
%define openexr_ctl 1
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: %{real_name}
|
Name: %{real_name}
|
||||||
Version: 2.0.1
|
Version: 2.0.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Viewers programs for OpenEXR
|
Summary: Viewers programs for OpenEXR
|
||||||
|
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -23,9 +28,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
|
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
|
||||||
BuildRequires: OpenEXR_CTL-devel
|
|
||||||
BuildRequires: OpenEXR_CTL
|
|
||||||
BuildRequires: fltk-devel >= 1.1
|
BuildRequires: fltk-devel >= 1.1
|
||||||
|
BuildRequires: pkgconfig(OpenEXR)
|
||||||
%if %with_Cg
|
%if %with_Cg
|
||||||
BuildRequires: Cg
|
BuildRequires: Cg
|
||||||
BuildRequires: freeglut-devel
|
BuildRequires: freeglut-devel
|
||||||
@ -34,7 +38,11 @@ Provides: OpenEXR_Viewers = %{version}
|
|||||||
BuildConflicts: Cg
|
BuildConflicts: Cg
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?openexr_ctl}
|
||||||
|
BuildRequires: OpenEXR_CTL-devel
|
||||||
|
BuildRequires: OpenEXR_CTL
|
||||||
Requires: OpenEXR_CTL
|
Requires: OpenEXR_CTL
|
||||||
|
%endif
|
||||||
Requires(post): /usr/sbin/alternatives
|
Requires(post): /usr/sbin/alternatives
|
||||||
Requires(preun): /usr/sbin/alternatives
|
Requires(preun): /usr/sbin/alternatives
|
||||||
|
|
||||||
@ -131,6 +139,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 10 2013 Rex Dieter <rdieter@fedoraproject.org> 2.0.1-2
|
||||||
|
- make OpenEXR_CTL support optional (since it doesn't support openexr-2.x yet)
|
||||||
|
|
||||||
* Sat Oct 05 2013 Nicolas Chauvet <kwizart@gmail.com> - 2.0.1-1
|
* Sat Oct 05 2013 Nicolas Chauvet <kwizart@gmail.com> - 2.0.1-1
|
||||||
- Update to 2.0.1
|
- Update to 2.0.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user