]> git.pld-linux.org Git - packages/OpenEXR.git/blob - OpenEXR.spec
e7bcbb99f198573babc6973532d455bbb82599b9
[packages/OpenEXR.git] / OpenEXR.spec
1 Summary:        High dynamic-range (HDR) image file format support libraries
2 Summary(pl.UTF-8):      Biblioteki obsługujące format plików obrazu o wysokiej dynamice (HDR)
3 Name:           OpenEXR
4 Version:        2.1.0
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://download.savannah.gnu.org/releases/openexr/openexr-%{version}.tar.gz
9 # Source0-md5:  33735d37d2ee01c6d8fbd0df94fb8b43
10 URL:            http://www.openexr.com/
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake >= 1.6.3
13 BuildRequires:  ilmbase-devel >= 2.1.0
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  libtool >= 2:1.5
16 BuildRequires:  pkgconfig
17 BuildRequires:  zlib-devel
18 Requires:       ilmbase >= 2.1.0
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 OpenEXR is a high dynamic-range (HDR) image file format developed by
23 Industrial Light & Magic for use in computer imaging applications.
24 OpenEXR is used by ILM on all motion pictures currently in production.
25 The first movies to employ OpenEXR were Harry Potter and the Sorcerers
26 Stone, Men in Black II, Gangs of New York, and Signs. Since then,
27 OpenEXR has become ILM's main image file format.
28
29 %description -l pl.UTF-8
30 OpenEXR to format plików obrazu o wysokiej dynamice (HDR - High
31 Dynamic-Range) stworzony przez Industrial Light & Magic do używania w
32 aplikacjach do grafiki komputerowej. OpenEXR jest używany przez ILM do
33 wszystkich aktualnie produkowanych obrazów ruchomych. Pierwszymi
34 filmami wykorzystującymi OpenEXR były Harry Potter and the Sorcerers
35 Stone, Men in Black II, Gangs of New York oraz Signs. Od tamtego czasu
36 OpenEXR stał się głównym formatem obrazu ILM.
37
38 %package devel
39 Summary:        Header files for OpenEXR libraries
40 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek OpenEXR
41 Group:          Development/Libraries
42 Requires:       %{name} = %{version}-%{release}
43 Requires:       ilmbase-devel >= 2.1.0
44 Requires:       libstdc++-devel
45 Requires:       zlib-devel
46
47 %description devel
48 Header files for OpenEXR libraries.
49
50 %description devel -l pl.UTF-8
51 Pliki nagłówkowe bibliotek OpenEXR.
52
53 %package static
54 Summary:        Static OpenEXR libraries
55 Summary(pl.UTF-8):      Statyczne biblioteki OpenEXR
56 Group:          Development/Libraries
57 Requires:       %{name}-devel = %{version}-%{release}
58
59 %description static
60 Static OpenEXR libraries.
61
62 %description static -l pl.UTF-8
63 Statyczne biblioteki OpenEXR.
64
65 %package progs
66 Summary:        OpenEXR utilities
67 Summary(pl.UTF-8):      Narzędzia do obrazów OpenEXR
68 Group:          Applications/Graphics
69 Requires:       %{name} = %{version}-%{release}
70
71 %description progs
72 OpenEXR utilities.
73
74 %description progs -l pl.UTF-8
75 Narzędzia do obrazów OpenEXR.
76
77 %package doc
78 Summary:        OpenEXR documentation
79 Summary(pl.UTF-8):      Dokumentacja do OpenEXR
80 Group:          Documentation
81
82 %description doc
83 OpenEXR documentation describing file format, library etc.
84
85 %description doc -l pl.UTF-8
86 Dokumentacja do OpenEXR, opisująca format pliku, bibliotekę itd.
87
88 %prep
89 %setup -q -n openexr-%{version}
90
91 %build
92 %{__libtoolize}
93 %{__aclocal} -I m4
94 %{__autoconf}
95 %{__automake}
96 %configure
97
98 %{__make}
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102
103 %{__make} install \
104         DESTDIR=$RPM_BUILD_ROOT
105
106 # PDFs packaged as %doc
107 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %post   -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
114
115 %files
116 %defattr(644,root,root,755)
117 %doc AUTHORS COPYING ChangeLog NEWS README
118 %attr(755,root,root) %{_libdir}/libIlmImf-Imf_2_1.so.*.*.*
119 %attr(755,root,root) %ghost %{_libdir}/libIlmImf-Imf_2_1.so.21
120
121 %files devel
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/libIlmImf.so
124 %{_libdir}/libIlmImf.la
125 %{_includedir}/OpenEXR/Imf*.h
126 %{_includedir}/OpenEXR/OpenEXRConfig.h
127 %{_aclocaldir}/openexr.m4
128 %{_pkgconfigdir}/OpenEXR.pc
129
130 %files static
131 %defattr(644,root,root,755)
132 %{_libdir}/libIlmImf.a
133
134 %files progs
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_bindir}/exrenvmap
137 %attr(755,root,root) %{_bindir}/exrheader
138 %attr(755,root,root) %{_bindir}/exrmakepreview
139 %attr(755,root,root) %{_bindir}/exrmaketiled
140 %attr(755,root,root) %{_bindir}/exrmultipart
141 %attr(755,root,root) %{_bindir}/exrmultiview
142 %attr(755,root,root) %{_bindir}/exrstdattr
143
144 %files doc
145 %defattr(644,root,root,755)
146 %doc doc/*.pdf
This page took 0.03481 seconds and 2 git commands to generate.