Browse Source

OpenEXR-3.1.1-1

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
6531015804
1 changed files with 14 additions and 59 deletions
  1. 14 59
      O/OpenEXR/OpenEXR-vl.spec

+ 14 - 59
O/OpenEXR/OpenEXR-vl.spec

@@ -3,7 +3,7 @@
 Name:	        OpenEXR
 Summary:        A high dynamic-range (HDR) image file format
 Summary(ja):    高ダイナミックレンジ(HDR)画像ファイルフォーマット
-Version:        2.5.7
+Version:        3.1.1
 Release:        1%{?_dist_release}
 Group:          graphics
 Vendor:         Project Vine
@@ -15,8 +15,10 @@ Source0:        https://github.com/openexr/openexr/archive/v%{version}.tar.gz#/o
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: cmake
-BuildRequires: zlib-devel
+BuildRequires: imath-devel
+BuildRequires: libboost-devel
 BuildRequires: pkgconfig
+BuildRequires: zlib-devel
 # https://github.com/openexr/openexr/issues/130
 BuildConflicts: OpenEXR-devel < 2.2.0
 
@@ -45,45 +47,16 @@ Summary:        Development files for %{name}
 Summary(ja):    %{name} の開発用ファイル
 Group:          programming
 Requires:       %{name}-libs = %{version}-%{release}
-Requires:       ilmbase-devel
 Obsoletes:      openexr-devel < %{version}-%{release}
 Provides:       openexr-devel = %{version}-%{release}
+Provides:       ilmbase-devel = %{version}-%{release}
+Provides:       ilmbase-devel%{?_isa} = %{version}-%{release}
+Obsoletes:      ilmbase-devel < 2.5.8
 
 %description devel
 %{summary}.
 
 
-%package -n     ilmbase 
-Summary:        Abraction/convenience libraries
-Group:          system
-BuildRequires:  libGL-devel
-BuildRequires:  libGLU-devel
-
-%description -n ilmbase 
-Half is a class that encapsulates the ilm 16-bit floating-point format.
-
-IlmThread is a thread abstraction library for use with OpenEXR
-and other software packages.
-
-Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions
-and other useful 2D and 3D math functions.
-
-Iex is an exception-handling library.
-
-
-%package -n     ilmbase-devel
-Summary:        Headers and libraries for building apps that use ilmbase
-Summary(ja):    ilmbaseを使うアプリケーションをビルドするためのヘッダファイル及びライブラリ
-Group:          programming
-Requires:       ilmbase = %{version}-%{release}
-Requires:       pkgconfig
-Requires:       libGL-devel
-Requires:       libGLU-devel
-
-%description -n ilmbase-devel
-Headers and libraries for building apps that use ilmbase.
-
-
 %debug_package
 
 
@@ -128,47 +101,29 @@ rm -rf %{buildroot}
 %files
 %defattr(-,root,root,-)
 %license LICENSE.md
-%doc README.md
 %{_bindir}/*
 
 %files libs
 %defattr(-,root,root,-)
 %license LICENSE.md
-%doc OpenEXR/README.md
-%doc rpmdocs/*
-%{_libdir}/libIlmImf*.so.*
+%doc CHANGES.md CONTRIBUTING.md GOVERNANCE.md SECURITY.md CODE_OF_CONDUCT.md CONTRIBUTORS.md README.md
+#doc rpmdocs/*
+%{_libdir}/*.so.*
 
 %files devel
 %defattr(-,root,root,-)
-%{_includedir}/OpenEXR/Imf*.h
-%{_includedir}/OpenEXR/OpenEXRConfig.h
+%{_includedir}/OpenEXR
 %{_libdir}/lib*.so
 %dir %{_libdir}/pkgconfig
 %{_libdir}/pkgconfig/OpenEXR.pc
 %dir %{_libdir}/cmake
 %{_libdir}/cmake/OpenEXR
 
-%files -n ilmbase
-%doc IlmBase/README.md
-%license LICENSE.md
-%{_libdir}/lib*.so.*
-%exclude %{_libdir}/libIlmImf*.so.*
-
-%files -n ilmbase-devel
-%dir %{_includedir}/OpenEXR/
-%{_includedir}/OpenEXR/Iex*.h
-%{_includedir}/OpenEXR/Ilm*.h
-%{_includedir}/OpenEXR/Imath*.h
-%{_includedir}/OpenEXR/half*.h
-%{_libdir}/lib*.so
-%exclude %{_libdir}/libIlmImf*.so
-%dir %{_libdir}/pkgconfig
-%{_libdir}/pkgconfig/IlmBase.pc
-%dir %{_libdir}/cmake
-%{_libdir}/cmake/IlmBase
-
 
 %changelog
+* Wed Sep 01 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.1-1
+- new upstream release.
+
 * Sat Jun 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.5.7-1
 - new upstream release.