openimageio-tools: fix requirement for libopenimageio [release 2.1.11.2-2mamba;Mon Mar 02 2020]
This commit is contained in:
parent
8b7ab3dded
commit
b3561ec536
@ -1,2 +1,4 @@
|
||||
# oiio
|
||||
|
||||
The primary target audience for OIIO is VFX studios and developers of tools such as renderers, compositors, viewers, and other image-related software you'd find in a production pipeline.
|
||||
|
||||
|
155
oiio.spec
Normal file
155
oiio.spec
Normal file
@ -0,0 +1,155 @@
|
||||
Name: oiio
|
||||
Version: 2.1.11.2
|
||||
Release: 2mamba
|
||||
Summary: Libraries and tools for VFX studios and developers of tools such as renderers, compositors, viewers
|
||||
Group: Applications/Graphics
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.openimageio.org
|
||||
## GITSOURCE https://github.com/OpenImageIO/oiio.git Release-2.1.11.2
|
||||
Source: https://github.com/OpenImageIO/oiio.git/Release-%{version}/oiio-%{version}.tar.bz2
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libGL-devel
|
||||
BuildRequires: libGLU-devel
|
||||
BuildRequires: libavcodec-ffmpeg-devel
|
||||
BuildRequires: libavformat-ffmpeg-devel
|
||||
BuildRequires: libavutil-ffmpeg-devel
|
||||
BuildRequires: libboost-devel
|
||||
BuildRequires: libbzip2-devel
|
||||
BuildRequires: libdcmtk-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libgif-devel
|
||||
BuildRequires: libilmbase-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libopencolorio-devel
|
||||
BuildRequires: libopencv-devel
|
||||
BuildRequires: libopenexr-devel
|
||||
BuildRequires: libopenjpeg-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython27-devel
|
||||
BuildRequires: libqt5-devel
|
||||
BuildRequires: libraw-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libswscale-ffmpeg-devel
|
||||
BuildRequires: libtiff-devel
|
||||
BuildRequires: libwebp-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: cmake
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
The primary target audience for OIIO is VFX studios and developers of tools such as renderers, compositors, viewers, and other image-related software you'd find in a production pipeline.
|
||||
|
||||
%package -n openimageio-tools
|
||||
Group: Applications/Graphics
|
||||
Summary: OpenImageIO tools
|
||||
Requires: libopenimageio = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n openimageio-tools
|
||||
The primary target audience for OIIO is VFX studios and developers of tools such as renderers, compositors, viewers, and other image-related software you'd find in a production pipeline.
|
||||
This package contains tools provided by OpenImageIO.
|
||||
|
||||
|
||||
%package -n ttf-openimageio
|
||||
Group: System/Fonts
|
||||
Summary: OpenImageIO fonts
|
||||
|
||||
%description -n ttf-openimageio
|
||||
This package contains fonts provided by OpenImageIO.
|
||||
|
||||
%package -n libopenimageio
|
||||
Group: System/Libraries
|
||||
Summary: Shared libraries for OpenImageIO
|
||||
Requires: ttf-openimageio = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n libopenimageio
|
||||
The primary target audience for OIIO is VFX studios and developers of tools such as renderers, compositors, viewers, and other image-related software you'd find in a production pipeline.
|
||||
This package contains shared libraries for OpenImageIO.
|
||||
|
||||
%package -n libopenimageio-devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for OpenImageIO
|
||||
Requires: libopenimageio = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description -n libopenimageio-devel
|
||||
This package contains libraries and header files for developing applications that use OpenImageIO.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%cmake -d build
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n libopenimageio -p /sbin/ldconfig
|
||||
%postun -n libopenimageio -p /sbin/ldconfig
|
||||
|
||||
%files -n openimageio-tools
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/iconvert
|
||||
%{_bindir}/idiff
|
||||
%{_bindir}/igrep
|
||||
%{_bindir}/iinfo
|
||||
%{_bindir}/iv
|
||||
%{_bindir}/maketx
|
||||
%{_bindir}/oiiotool
|
||||
%{_mandir}/iconvert.1
|
||||
%{_mandir}/idiff.1
|
||||
%{_mandir}/igrep.1
|
||||
%{_mandir}/iinfo.1
|
||||
%{_mandir}/iv.1
|
||||
%{_mandir}/maketx.1
|
||||
%{_mandir}/oiiotool.1
|
||||
|
||||
%files -n ttf-openimageio
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/fonts/OpenImageIO
|
||||
%{_datadir}/fonts/OpenImageIO/*.ttf
|
||||
|
||||
%files -n libopenimageio
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libOpenImageIO.so.*
|
||||
%{_libdir}/libOpenImageIO_Util.so.*
|
||||
%{python27_sitearch}/OpenImageIO.so
|
||||
|
||||
%files -n libopenimageio-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/OpenImageIO
|
||||
%{_includedir}/OpenImageIO/*.h
|
||||
%{_includedir}/OpenImageIO/*.cpp
|
||||
%dir %{_includedir}/OpenImageIO/fmt
|
||||
%{_includedir}/OpenImageIO/fmt/*.h
|
||||
%{_includedir}/OpenImageIO/*.hpp
|
||||
%{_libdir}/libOpenImageIO.so
|
||||
%{_libdir}/libOpenImageIO_Util.so
|
||||
%{_libdir}/pkgconfig/OpenImageIO.pc
|
||||
%dir %{_libdir}/cmake/OpenImageIO
|
||||
%{_libdir}/cmake/OpenImageIO/OpenImageIO*.cmake
|
||||
%{_datadir}/cmake/Modules/FindOpenImageIO.cmake
|
||||
%dir %{_datadir}/doc/OpenImageIO
|
||||
%{_datadir}/doc/OpenImageIO/*
|
||||
#%doc README.md
|
||||
|
||||
%changelog
|
||||
* Mon Mar 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.11.2-2mamba
|
||||
- openimageio-tools: fix requirement for libopenimageio
|
||||
|
||||
* Sun Mar 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.11.2-1mamba
|
||||
- package created using the webbuild interface
|
Reference in New Issue
Block a user