]> git.pld-linux.org Git - packages/openexr_viewers.git/blob - openexr_viewers.spec
- updated to 2.0.1
[packages/openexr_viewers.git] / openexr_viewers.spec
1 #
2 # Conditional build:
3 %bcond_with     cg      # use NVIDIA Cg compiler
4 #
5 Summary:        Simple still OpenEXR image viewer
6 Summary(pl.UTF-8):      Prosta przeglądarka nieruchomych obrazów OpenEXR
7 Name:           openexr_viewers
8 Version:        2.0.1
9 Release:        1
10 License:        BSD
11 Group:          Libraries
12 Source0:        http://download.savannah.nongnu.org/releases/openexr/%{name}-%{version}.tar.gz
13 # Source0-md5:  983627bc8c6fabfb026895a05d7c613b
14 Patch0:         %{name}-am.patch
15 URL:            http://www.openexr.com/
16 BuildRequires:  OpenEXR-devel >= 2.0.0
17 BuildRequires:  OpenGL-devel
18 %{?with_cg:BuildRequires:       OpenGL-glut-devel}
19 BuildRequires:  autoconf >= 2.50
20 BuildRequires:  automake >= 1.6.3
21 %{?with_cg:BuildRequires:       cg-devel}
22 BuildRequires:  fltk-gl-devel >= 1.1
23 BuildRequires:  libstdc++-devel
24 BuildRequires:  libtool >= 2:1.5
25 BuildRequires:  openexr_ctl-devel >= 1.0.1
26 BuildRequires:  pkgconfig
27 Requires:       OpenEXR >= 2.0.0
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 exrdisplay is a simple still image viewer that optionally applies
32 color transforms to OpenEXR images, using CTL.
33
34 %if %{with cg}
35 playexr is a program that plays back OpenEXR image sequences,
36 optionally with CTL support, applying rendering and display
37 transforms.
38 %endif
39
40 %description -l pl.UTF-8
41 exrdisplay to prosta przeglądarka nieruchomych obrazów opcjonalnie
42 stosująca na obrazach OpenEXR przekształcenia kolorów przy użyciu CTL.
43
44 %if %{with cg}
45 playexr to program odtwarzający sekwencje obrazów OpenEXR z opcjonalną
46 obsługą CTL i stosowaniem przekształceń renderingu i wyświetlania.
47 %endif
48
49 %prep
50 %setup -q
51 %patch0 -p1
52
53 %build
54 %{__libtoolize}
55 %{__aclocal} -I m4
56 %{__autoconf}
57 %{__automake}
58 %configure
59
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 # useless currently
69 %{__rm} $RPM_BUILD_ROOT%{_includedir}/OpenEXR/OpenEXR_ViewersConfig.h
70 # already packaged as doc
71 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/OpenEXR_Viewers-%{version}
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc AUTHORS COPYING ChangeLog NEWS README doc/OpenEXRViewers.pdf
79 %attr(755,root,root) %{_bindir}/exrdisplay
80 %if %{with cg}
81 %attr(755,root,root) %{_bindir}/playexr
82 %endif
This page took 0.099686 seconds and 3 git commands to generate.