Copy from home:mvyskocil:openexr/exrtools via accept of submit request 44586 revision 1. Request was accepted with message: fine with me OBS-URL: https://build.opensuse.org/request/show/44586 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory/exrtools?expand=0&rev=1
91 lines
2.7 KiB
RPMSpec
91 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package exrtools (Version 0.4)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: exrtools
|
|
Summary: Command-line utilities for manipulating with images in OpenEXR format
|
|
Version: 0.4
|
|
Release: 1
|
|
License: MIT-style
|
|
Group: Productivity/Graphics/Other
|
|
Url: http://scanline.ca/exrtools/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: libopenexr-devel
|
|
BuildRequires: gcc-c++
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
%description
|
|
exrtools is a set of simple command-line utilities for manipulating with high
|
|
dynamic range images in OpenEXR format. OpenEXR is a high dynamic-range (HDR)
|
|
image file format developed by Industrial Light & Magic for use in computer
|
|
imaging applications.
|
|
|
|
exrtools was developed to help experiment with batch processing of HDR images
|
|
for tone mapping. Each application is small and reasonably self-contained such
|
|
that the source code may be of most value to others.
|
|
|
|
exrtools currently only works with RGBA OpenEXR files. As well, the code
|
|
assumes that the EXR files and PNG files all use sRGB primaries and gamma
|
|
function. Fixing this is not very difficult, and the code to fix allows for
|
|
some interesting possibilities. That said, I do not have time right now, so
|
|
this will have to wait.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%{configure}
|
|
%{__make} %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%{makeinstall}
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
|
|
|
%check
|
|
%{__make} check
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README COPYING ChangeLog
|
|
%{_bindir}/exrblur
|
|
%{_bindir}/exrchr
|
|
%{_bindir}/exricamtm
|
|
%{_bindir}/exrnlm
|
|
%{_bindir}/exrnormalize
|
|
%{_bindir}/exrpptm
|
|
%{_bindir}/exrstats
|
|
%{_bindir}/ppmtoexr
|
|
%{_mandir}/man1/exrblur.1*
|
|
%{_mandir}/man1/exrchr.1*
|
|
%{_mandir}/man1/exricamtm.1*
|
|
%{_mandir}/man1/exrnlm.1*
|
|
%{_mandir}/man1/exrnormalize.1*
|
|
%{_mandir}/man1/exrpptm.1*
|
|
%{_mandir}/man1/exrstats.1*
|
|
%{_mandir}/man1/exrtools.1*
|
|
%{_mandir}/man1/exrtopng.1*
|
|
%{_mandir}/man1/jpegtoexr.1*
|
|
%{_mandir}/man1/pngtoexr.1*
|
|
%{_mandir}/man1/ppmtoexr.1*
|
|
|
|
%changelog
|