]> git.pld-linux.org Git - packages/OpenEXR.git/blob - OpenEXR.spec
- rel 4; link libraries between themselfs
[packages/OpenEXR.git] / OpenEXR.spec
1 Summary:        High dynamic-range (HDR) image file format support libraries
2 Summary(pl):    Biblioteki obs³uguj±ce format plików obrazu o wysokiej dynamice (HDR)
3 Name:           OpenEXR
4 Version:        1.2.2
5 Release:        4
6 License:        Industrial Light & Magic
7 Group:          Libraries
8 Source0:        http://savannah.nongnu.org/download/openexr/%{name}-%{version}.tar.gz
9 # Source0-md5:  a2e56af78dc47c7294ff188c8f78394b
10 Patch0:         %{name}-gcc4.patch
11 Patch1:         %{name}-libs.patch
12 URL:            http://www.openexr.com/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  fltk-gl-devel
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  libtool
18 BuildRequires:  pkgconfig
19 BuildRequires:  zlib-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 OpenEXR is a high dynamic-range (HDR) image file format developed by
24 Industrial Light & Magic for use in computer imaging applications.
25 OpenEXR is used by ILM on all motion pictures currently in production.
26 The first movies to employ OpenEXR were Harry Potter and the Sorcerers
27 Stone, Men in Black II, Gangs of New York, and Signs. Since then,
28 OpenEXR has become ILM's main image file format.
29
30 %description -l pl
31 OpenEXR to format plików obrazu o wysokiej dynamice (HDR - High
32 Dynamic-Range) stworzony przez Industrial Light & Magic do u¿ywania w
33 aplikacjach do grafiki komputerowej. OpenEXR jest u¿ywany przez ILM do
34 wszystkich aktualnie produkowanych obrazów ruchomych. Pierwszymi
35 filmami wykorzystuj±cymi OpenEXR by³y Harry Potter and the Sorcerers
36 Stone, Men in Black II, Gangs of New York oraz Signs. Od tamtego czasu
37 OpenEXR sta³ siê g³ównym formatem obrazu ILM.
38
39 %package devel
40 Summary:        Header files for OpenEXR libraries
41 Summary(pl):    Pliki nag³ówkowe bibliotek OpenEXR
42 Group:          Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44 Requires:       libstdc++-devel
45
46 %description devel
47 Header files for OpenEXR libraries.
48
49 %description devel -l pl
50 Pliki nag³ówkowe bibliotek OpenEXR.
51
52 %package static
53 Summary:        Static OpenEXR libraries
54 Summary(pl):    Statyczne biblioteki OpenEXR
55 Group:          Development/Libraries
56 Requires:       %{name}-devel = %{version}-%{release}
57
58 %description static
59 Static OpenEXR libraries.
60
61 %description static
62 Statyczne biblioteki OpenEXR.
63
64 %package progs
65 Summary:        OpenEXR utilities
66 Summary(pl):    Narzêdzia do obrazów OpenEXR
67 Group:          Applications/Graphics
68 Requires:       %{name} = %{version}-%{release}
69
70 %description progs
71 OpenEXR utilities.
72
73 %description progs
74 Narzêdzia do obrazów OpenEXR.
75
76 %prep
77 %setup -q
78 %patch0 -p1
79 %patch1 -p1
80
81 %build
82 cp -f /usr/share/automake/config.sub admin
83 %{__aclocal}
84 %{__libtoolize}
85 %{__autoconf}
86 %{__automake}
87
88 %configure
89
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %post   -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
103
104 %files
105 %defattr(644,root,root,755)
106 %doc AUTHORS COPYING ChangeLog NEWS README
107 %attr(755,root,root) %{_libdir}/libHalf.so.*.*.*
108 %attr(755,root,root) %{_libdir}/libIex.so.*.*.*
109 %attr(755,root,root) %{_libdir}/libIlmImf.so.*.*.*
110 %attr(755,root,root) %{_libdir}/libImath.so.*.*.*
111
112 %files devel
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/lib*.so
115 %{_libdir}/lib*.la
116 %{_includedir}/%{name}
117 %{_aclocaldir}/*
118 %{_pkgconfigdir}/*
119
120 %files static
121 %defattr(644,root,root,755)
122 %{_libdir}/lib*.a
123
124 %files progs
125 %defattr(644,root,root,755)
126 %attr(755,root,root) %{_bindir}/exrdisplay
127 %attr(755,root,root) %{_bindir}/exrenvmap
128 %attr(755,root,root) %{_bindir}/exrheader
129 %attr(755,root,root) %{_bindir}/exrmakepreview
130 %attr(755,root,root) %{_bindir}/exrmaketiled
131 %attr(755,root,root) %{_bindir}/exrstdattr
This page took 0.059383 seconds and 3 git commands to generate.