-
-Summary: High dynamic-range (HDR) image file format
-Summary(pl): TODO
+Summary: High dynamic-range (HDR) image file format support libraries
+Summary(pl.UTF-8): Biblioteki obsługujące format plików obrazu o wysokiej dynamice (HDR)
Name: OpenEXR
-Version: 1.1.0
-Release: 0.1
+%define ver 1.4.0
+%define sver a
+Version: %{ver}.%{sver}
+Release: 1
License: Industrial Light & Magic
Group: Libraries
-Source0: http://www.openexr.com/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: 716e74c740ef23433ef24bb515afb14f
+Source0: http://download.savannah.nongnu.org/releases/openexr/openexr-%{ver}%{sver}.tar.gz
+# Source0-md5: d0a4b9a930c766fa51561b05fb204afe
+Patch0: %{name}-gcc4.patch
+Patch1: %{name}-libs.patch
URL: http://www.openexr.com/
+BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: fltk-gl-devel
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
BuildRequires: pkgconfig
+BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
OpenEXR is a high dynamic-range (HDR) image file format developed by
Industrial Light & Magic for use in computer imaging applications.
OpenEXR is used by ILM on all motion pictures currently in production.
-The first movies to employ OpenEXR were Harry Potter and the Sorcerers Stone,
-Men in Black II, Gangs of New York, and Signs. Since then, OpenEXR has become
-ILM's main image file format.
-
-%description -l pl
-TODO.
+The first movies to employ OpenEXR were Harry Potter and the Sorcerers
+Stone, Men in Black II, Gangs of New York, and Signs. Since then,
+OpenEXR has become ILM's main image file format.
+
+%description -l pl.UTF-8
+OpenEXR to format plików obrazu o wysokiej dynamice (HDR - High
+Dynamic-Range) stworzony przez Industrial Light & Magic do używania w
+aplikacjach do grafiki komputerowej. OpenEXR jest używany przez ILM do
+wszystkich aktualnie produkowanych obrazów ruchomych. Pierwszymi
+filmami wykorzystującymi OpenEXR były Harry Potter and the Sorcerers
+Stone, Men in Black II, Gangs of New York oraz Signs. Od tamtego czasu
+OpenEXR stał się głównym formatem obrazu ILM.
%package devel
-Summary: TODO
-Summary(pl): TODO
+Summary: Header files for OpenEXR libraries
+Summary(pl.UTF-8): Pliki nagłówkowe bibliotek OpenEXR
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: libstdc++-devel
%description devel
-TODO.
+Header files for OpenEXR libraries.
-%description devel -l pl
-TODO
+%description devel -l pl.UTF-8
+Pliki nagłówkowe bibliotek OpenEXR.
%package static
-Summary: TODO
-Summary(pl): TODO
+Summary: Static OpenEXR libraries
+Summary(pl.UTF-8): Statyczne biblioteki OpenEXR
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
-TODO.
+Static OpenEXR libraries.
-%description static
-TODO
+%description static -l pl.UTF-8
+Statyczne biblioteki OpenEXR.
%package progs
-Summary: TODO
-Summary(pl): TODO
-Group: Development/Libraries
+Summary: OpenEXR utilities
+Summary(pl.UTF-8): Narzędzia do obrazów OpenEXR
+Group: Applications/Graphics
Requires: %{name} = %{version}-%{release}
%description progs
-TODO.
+OpenEXR utilities.
-%description progs
-TODO
+%description progs -l pl.UTF-8
+Narzędzia do obrazów OpenEXR.
%prep
-%setup -q
+%setup -q -n openexr-%{ver}
+%patch0 -p1
+%patch1 -p1
%build
-cp /usr/share/automake/config.sub admin
-
-%{__aclocal}
%{__libtoolize}
+%{__aclocal}
%{__autoconf}
%{__automake}
-
%configure
%{__make}
%files
%defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog NEWS README ReleaseNotes
+%doc AUTHORS COPYING ChangeLog NEWS README
%attr(755,root,root) %{_libdir}/libHalf.so.*.*.*
%attr(755,root,root) %{_libdir}/libIex.so.*.*.*
%attr(755,root,root) %{_libdir}/libIlmImf.so.*.*.*
+%attr(755,root,root) %{_libdir}/libIlmThread.so.*.*.*
%attr(755,root,root) %{_libdir}/libImath.so.*.*.*
%files devel
%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libHalf.so
+%attr(755,root,root) %{_libdir}/libIex.so
+%attr(755,root,root) %{_libdir}/libIlmImf.so
+%attr(755,root,root) %{_libdir}/libIlmThread.so
+%attr(755,root,root) %{_libdir}/libImath.so
+%{_libdir}/libHalf.la
+%{_libdir}/libIex.la
+%{_libdir}/libIlmImf.la
+%{_libdir}/libIlmThread.la
+%{_libdir}/libImath.la
%{_includedir}/%{name}
-%{_libdir}/lib*.la
-%{_libdir}/lib*.so
-%{_aclocaldir}/*
-%{_pkgconfigdir}/*
+%{_aclocaldir}/openexr.m4
+%{_pkgconfigdir}/OpenEXR.pc
%files static
%defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libHalf.a
+%{_libdir}/libIex.a
+%{_libdir}/libIlmImf.a
+%{_libdir}/libIlmThread.a
+%{_libdir}/libImath.a
%files progs
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/exrmakepreview
%attr(755,root,root) %{_bindir}/exrmaketiled
%attr(755,root,root) %{_bindir}/exrstdattr
-
-%changelog
-* %{date} PLD Team <feedback@pld-linux.org>
-All persons listed below can be reached at <cvs_login>@pld-linux.org
-
-$Log: OpenEXR.spec,v $
-Revision 1.1 2004-03-15 19:56:59 adgor
-- Initial