95 lines
2.7 KiB
RPMSpec
95 lines
2.7 KiB
RPMSpec
Name: qtpfsgui
|
|
Version: 1.9.3
|
|
Release: 3mamba
|
|
Summary: A graphical tool for creating and tone-mapping HDR images
|
|
Group: Graphical Desktop/Applications/Graphics
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Tiziana Ferro <tiziana.ferro@email.it>
|
|
URL: http://qtpfsgui.sourceforge.net/
|
|
Source: http://downloads.sourceforge.net/sourceforge/qtpfsgui/%{name}-%{version}.tar.gz
|
|
License: GPL
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libexiv2-devel
|
|
BuildRequires: libfftw-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libICE-devel
|
|
BuildRequires: libopenexr-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libqt4-devel
|
|
BuildRequires: libSM-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libX11-devel
|
|
BuildRequires: libXcursor-devel
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXfixes-devel
|
|
BuildRequires: libXinerama-devel
|
|
BuildRequires: libXrandr-devel
|
|
BuildRequires: libXrender-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
Qtpfsgui 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.
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
# fix inconsistant newlines
|
|
%{__sed} -i 's/\r//' Changelog
|
|
|
|
%build
|
|
|
|
qmake-qt4 PREFIX=/usr I18NDIR=%{buildroot}/i18n
|
|
|
|
%make PREFIX=/usr DESTDIR=%{buildroot}
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall INSTALL_ROOT=%{buildroot}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
fi
|
|
|
|
%postun
|
|
touch --no-create %{_datadir}/icons/hicolor
|
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
fi
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS Changelog LICENSE README TODO
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
|
|
|
%changelog
|
|
* Tue Apr 01 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.3-3mamba
|
|
- rebuilt with openexr 2.1.0
|
|
|
|
* Mon Jul 29 2013 Automatic Build System <autodist@mambasoft.it> 1.9.3-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 1.9.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed May 07 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.9.2-1mamba
|
|
- package created by autospec
|