luminance-hdr/luminance-hdr.spec

102 lines
3.3 KiB
RPMSpec

Name: luminance-hdr
Version: 2.6.1.1
Release: 1mamba
Summary: A graphical tool for creating and tone-mapping HDR images
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://sourceforge.net/projects/qtpfsgui/
Source: http://downloads.sourceforge.net/project/qtpfsgui/luminance/%{version}/luminance-hdr-%{version}.tar.bz2
Patch0: luminance-hdr-2.6.1.1-openexr-3.1.5.patch
Patch1: luminance-hdr-2.6.1.1-fix-headers.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5Positioning-devel
BuildRequires: libQt5WebChannel-devel
BuildRequires: libQt5WebEngine-devel
BuildRequires: libboost-devel
BuildRequires: libcfitsio-devel
BuildRequires: libexiv2-devel
BuildRequires: libfftw-devel
BuildRequires: libgcc
BuildRequires: libgomp-devel
BuildRequires: libgsl-devel
BuildRequires: libimath-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms2-devel
BuildRequires: libopenexr-devel
BuildRequires: libpng-devel
BuildRequires: libraw-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libz-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
%description
Luminance is a graphical program for assembling bracketed photos into High Dynamic Range (HDR) images. It also provides a number of tone-mapping operators for creating low dynamic range versions of HDR images.
%debug_package
%prep
%setup -q
%patch 0 -p1 -b .openexr-3.1.5
%patch 1 -p1 -b .fix-headers
%build
%cmake -d build \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
#make install/fast DESTDIR=%{buildroot} PREFIX=/usr
#install -d %{buildroot}%{_datadir}/%{name}/i18n
#cp -pf *.qm %{buildroot}%{_datadir}/%{name}/i18n
#install -d %{buildroot}/%{_datadir}/mime/packages
#cp -pf luminance-hdr.xml %{buildroot}/%{_datadir}/mime/packages
#cp -pf luminance-hdr.desktop %{buildroot}/%{_datadir}/applications
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/luminance-hdr
%{_bindir}/luminance-hdr-cli
%{_datadir}/appdata/net.sourceforge.qtpfsgui.LuminanceHDR.appdata.xml
%{_datadir}/applications/net.sourceforge.qtpfsgui.LuminanceHDR.desktop
%dir %{_datadir}/luminance-hdr
%dir %{_datadir}/luminance-hdr/doc
%{_datadir}/luminance-hdr/doc/*
%dir %{_datadir}/luminance-hdr/hdrhtml
%{_datadir}/luminance-hdr/hdrhtml/*
%dir %{_datadir}/luminance-hdr/help
%dir %{_datadir}/luminance-hdr/help/en
%{_datadir}/luminance-hdr/help/en/*
%dir %{_datadir}/luminance-hdr/i18n
%{_datadir}/luminance-hdr/i18n/*.qm
%{_datadir}/icons/hicolor/48x48/apps/luminance-hdr.png
%doc AUTHORS LICENSE
%changelog
* Thu Mar 07 2024 Automatic Build System <autodist@openmamba.org> 2.6.1.1-1mamba
- automatic version update by autodist
* Tue Apr 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-3mamba
- rebuilt with openexr 2.1.0
* Thu Dec 26 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-2mamba
- rebuilt with libraw 0.15.4
* Sat May 18 2013 openmamba WebBuild System <webbuild@openmamba.org> 2.3.1-1mamba
- update to 2.3.1
* Tue May 01 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.2.1-1mamba
- package created by autospec