]> git.pld-linux.org Git - packages/OpenEXR.git/blob - OpenEXR.spec
- added doc package (with PDFs), fixed build with current rpm doc scripts
[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.0.0
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://download.savannah.nongnu.org/releases/openexr/openexr-%{version}.tar.gz
9 # Source0-md5:  00e9e93348f072c0bc1bdee7464d500d
10 Patch0:         %{name}-am.patch
11 URL:            http://www.openexr.com/
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake >= 1.6.3
14 BuildRequires:  ilmbase-devel >= 2.0.0
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  libtool >= 2:1.5
17 BuildRequires:  pkgconfig
18 BuildRequires:  zlib-devel
19 Requires:       ilmbase >= 2.0.0
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.UTF-8
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.UTF-8):      Pliki nagłówkowe bibliotek OpenEXR
42 Group:          Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44 Requires:       ilmbase-devel >= 2.0.0
45 Requires:       libstdc++-devel
46 Requires:       zlib-devel
47
48 %description devel
49 Header files for OpenEXR libraries.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe bibliotek OpenEXR.
53
54 %package static
55 Summary:        Static OpenEXR libraries
56 Summary(pl.UTF-8):      Statyczne biblioteki OpenEXR
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59
60 %description static
61 Static OpenEXR libraries.
62
63 %description static -l pl.UTF-8
64 Statyczne biblioteki OpenEXR.
65
66 %package progs
67 Summary:        OpenEXR utilities
68 Summary(pl.UTF-8):      Narzędzia do obrazów OpenEXR
69 Group:          Applications/Graphics
70 Requires:       %{name} = %{version}-%{release}
71
72 %description progs
73 OpenEXR utilities.
74
75 %description progs -l pl.UTF-8
76 Narzędzia do obrazów OpenEXR.
77
78 %package doc
79 Summary:        OpenEXR documentation
80 Summary(pl.UTF-8):      Dokumentacja do OpenEXR
81 Group:          Documentation
82
83 %description doc
84 OpenEXR documentation describing file format, library etc.
85
86 %description doc -l pl.UTF-8
87 Dokumentacja do OpenEXR, opisująca format pliku, bibliotekę itd.
88
89 %prep
90 %setup -q -n openexr-%{version}
91 %patch0 -p1
92
93 %build
94 %{__libtoolize}
95 %{__aclocal} -I m4
96 %{__autoconf}
97 %{__automake}
98 %configure
99
100 %{__make}
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104
105 %{__make} install \
106         DESTDIR=$RPM_BUILD_ROOT
107
108 # PDFs packaged as %doc
109 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
110
111 %clean
112 rm -rf $RPM_BUILD_ROOT
113
114 %post   -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
116
117 %files
118 %defattr(644,root,root,755)
119 %doc AUTHORS COPYING ChangeLog NEWS README
120 %attr(755,root,root) %{_libdir}/libIlmImf-Imf_2_0.so.*.*.*
121 %attr(755,root,root) %ghost %{_libdir}/libIlmImf-Imf_2_0.so.20
122
123 %files devel
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/libIlmImf.so
126 %{_libdir}/libIlmImf.la
127 %{_includedir}/OpenEXR/Imf*.h
128 %{_includedir}/OpenEXR/OpenEXRConfig.h
129 %{_aclocaldir}/openexr.m4
130 %{_pkgconfigdir}/OpenEXR.pc
131
132 %files static
133 %defattr(644,root,root,755)
134 %{_libdir}/libIlmImf.a
135
136 %files progs
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_bindir}/exrenvmap
139 %attr(755,root,root) %{_bindir}/exrheader
140 %attr(755,root,root) %{_bindir}/exrmakepreview
141 %attr(755,root,root) %{_bindir}/exrmaketiled
142 %attr(755,root,root) %{_bindir}/exrmultipart
143 %attr(755,root,root) %{_bindir}/exrmultiview
144 %attr(755,root,root) %{_bindir}/exrstdattr
145
146 %files doc
147 %defattr(644,root,root,755)
148 %doc doc/*.pdf
This page took 0.041777 seconds and 4 git commands to generate.