luminance-hdr/luminance-hdr.spec

90 lines
2.8 KiB
RPMSpec
Raw Normal View History

Name: luminance-hdr
Version: 2.3.1
Release: 3mamba
Summary: A graphical tool for creating and tone-mapping HDR images
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://qtpfsgui.sourceforge.net/
Source: http://downloads.sourceforge.net/project/qtpfsgui/luminance/%{version}/luminance-hdr-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libexiv2-devel
BuildRequires: libfftw-devel
BuildRequires: libgcc
BuildRequires: libgomp-devel
BuildRequires: libgsl-devel
BuildRequires: libilmbase-devel
BuildRequires: libopenexr-devel
BuildRequires: libqt4-devel
BuildRequires: libraw-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 -c -q
%build
cmake -Wno-dev -DBUILD_SHARED_LIBS:BOOL=OFF -DCMAKE_INSTALL_PREFIX=/usr
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
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}/applications/luminance-hdr.desktop
%{_datadir}/mime/packages/luminance-hdr.xml
%{_datadir}/icons/hicolor/48x48/apps/luminance-hdr.png
%{_datadir}/luminance-hdr/AUTHORS
%{_datadir}/luminance-hdr/Changelog
%{_datadir}/luminance-hdr/LICENSE
%{_datadir}/luminance-hdr/README
%{_datadir}/luminance-hdr/help/en/README
%{_datadir}/luminance-hdr/help/en/*.html
%{_datadir}/luminance-hdr/help/en/external.png
%{_datadir}/luminance-hdr/help/en/images/*.png
%{_datadir}/luminance-hdr/help/en/menu.xml
%{_datadir}/luminance-hdr/help/en/style.css
#%{_datadir}/luminance-hdr/help/js/*.js
%{_datadir}/luminance-hdr/i18n/*.qm
%doc AUTHORS LICENSE
%changelog
* 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