]> git.pld-linux.org Git - packages/OpenImageIO.git/blobdiff - OpenImageIO.spec
It's gcc atomics that causes problems on i486, not tbb.
[packages/OpenImageIO.git] / OpenImageIO.spec
index 3656dde34dd2e2cc88ade729986c2189179b68e1..5445582b1ac4b29817c622c158268935f52283c9 100644 (file)
@@ -1,6 +1,3 @@
-# TODO:
-#      - man pages?
-#
 # Conditional build:
 %bcond_without static_libs     # don't build static libraries
 %bcond_without tbb             # Threading Building Blocks
@@ -9,7 +6,7 @@ Summary:        Library for reading and writing images
 Summary(pl.UTF-8):     Biblioteka do odczytu i zapisu obrazów
 Name:          OpenImageIO
 Version:       1.0.7
-Release:       0.1
+Release:       3
 License:       BSD
 Group:         Libraries
 Source0:       https://github.com/OpenImageIO/oiio/tarball/Release-%{version}#/%{name}-%{version}.tar.gz
@@ -20,6 +17,7 @@ Patch3:               %{name}-system-squish.patch
 Patch4:                %{name}-system-ptex.patch
 Patch5:                %{name}-system-dpx.patch
 Patch6:                %{name}-system-libcineon.patch
+Patch7:                no-gcc-atomics.patch
 URL:           https://sites.google.com/site/openimageio/home
 BuildRequires: Field3D-devel
 BuildRequires: OpenEXR-devel >= 1.6.1
@@ -45,6 +43,7 @@ BuildRequires:        ptex-devel >= 2
 BuildRequires: python-devel >= 1:2.6
 BuildRequires: squish-devel >= 1.10
 %{?with_tbb:BuildRequires:     tbb-devel}
+BuildRequires: txt2man
 BuildRequires: zlib-devel
 Requires:      ilmbase >= 1.0.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -291,6 +290,9 @@ Wiązanie Pythona do biblioteki OpenImageIO.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%ifarch i486
+%patch7 -p1
+%endif
 
 %{__rm} -r src/dds.imageio/squish src/ptex.imageio/ptex
 
@@ -314,6 +316,7 @@ rm -rf $RPM_BUILD_ROOT
 
 # name clash with iv
 %{__mv} -f $RPM_BUILD_ROOT%{_bindir}/{iv,oiiv}
+%{__mv} -f $RPM_BUILD_ROOT%{_mandir}/man1/{iv,oiiv}.1
 
 # installed as %doc
 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/openimageio
@@ -347,6 +350,13 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/softimage.imageio.so
 %attr(755,root,root) %{_libdir}/targa.imageio.so
 %attr(755,root,root) %{_libdir}/zfile.imageio.so
+%{_mandir}/man1/iconvert.1*
+%{_mandir}/man1/idiff.1*
+%{_mandir}/man1/igrep.1*
+%{_mandir}/man1/iinfo.1*
+%{_mandir}/man1/iprocess.1*
+%{_mandir}/man1/maketx.1*
+%{_mandir}/man1/oiiotool.1*
 
 %files devel
 %defattr(644,root,root,755)
@@ -412,6 +422,7 @@ rm -rf $RPM_BUILD_ROOT
 %files iv
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/oiiv
+%{_mandir}/man1/oiiv.1*
 
 %files -n python-OpenImageIO
 %defattr(644,root,root,755)
This page took 0.034821 seconds and 4 git commands to generate.