2024-01-05 23:44:20 +01:00
|
|
|
%define majorver %(echo "%{version}" | sed "s,\..$,,")
|
|
|
|
|
|
|
|
Name: hugin
|
2024-11-17 11:30:12 +01:00
|
|
|
Version: 2024.0.0
|
2024-01-05 23:44:20 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 23:44:20 +01:00
|
|
|
Summary: A panoramic photo stitcher
|
|
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 23:44:20 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 23:44:20 +01:00
|
|
|
URL: https://hugin.sourceforge.io/
|
2024-01-05 23:44:20 +01:00
|
|
|
Source: https://sourceforge.net/projects/hugin/files/hugin/hugin-%{majorver}/hugin-%{version}.tar.bz2
|
2024-01-05 23:44:20 +01:00
|
|
|
Patch0: %{name}-2010.0.0-libpng14.patch
|
|
|
|
Patch1: hugin-2011.4.0-gcc-4.7.patch
|
2024-01-05 23:44:20 +01:00
|
|
|
Patch2: hugin-2014.0.0-liblensfun-0.3.0.patch
|
|
|
|
Patch3: hugin-2014.0.0-libboost-1.57.patch
|
|
|
|
Patch4: hugin-2014.0.0-libboost-1.57-2.patch
|
2024-01-05 23:44:20 +01:00
|
|
|
Patch5: hugin-2020.0.0-openexr-3.0.4.patch
|
2024-01-05 23:44:20 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: libX11-devel
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: libboost-devel
|
|
|
|
BuildRequires: libexiv2-devel
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: libfftw-devel
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglew-devel
|
2024-01-05 23:44:21 +01:00
|
|
|
BuildRequires: libglu-devel
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: libglvnd-devel
|
|
|
|
BuildRequires: libgomp-devel
|
|
|
|
BuildRequires: libimath-devel
|
2024-11-17 11:30:12 +01:00
|
|
|
BuildRequires: libjpeg-turbo
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: liblcms2-devel
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: libopenexr-devel
|
|
|
|
BuildRequires: libpano13-devel
|
|
|
|
BuildRequires: libpng-devel
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: libsqlite-devel
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libtiff-devel
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: libvigra-devel
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-05 23:44:21 +01:00
|
|
|
BuildRequires: wxwidgets-devel
|
|
|
|
BuildRequires: wxwidgets-gtk3-devel
|
2024-01-05 23:44:20 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: libvigra-devel >= 1.11.1-2mamba
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: liblensfun-devel >= 0.3.2-1mamba
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: libpano13-devel >= 2.9.19-1mamba
|
2024-01-05 23:44:20 +01:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: libtclap-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
A powerful software package for creation and processing of panoramic images.
|
|
|
|
|
2024-01-05 23:44:20 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-05 23:44:20 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 23:44:20 +01:00
|
|
|
#%patch2 -p1
|
|
|
|
#%patch3 -p1
|
|
|
|
#%patch4 -p1
|
2024-01-05 23:44:20 +01:00
|
|
|
#%patch5 -p1
|
2024-01-05 23:44:20 +01:00
|
|
|
|
|
|
|
rm CMakeModules/FindZLIB.cmake # Doesn't define the ZLIB::ZLIB target needed by OpenEXR 3
|
2024-01-05 23:44:20 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
2024-01-05 23:44:20 +01:00
|
|
|
|
2024-01-05 23:44:20 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
update-desktop-database &>/dev/null
|
2024-01-05 23:44:20 +01:00
|
|
|
update-mime-database -n %{_datadir}/mime &>/dev/null
|
2024-01-05 23:44:20 +01:00
|
|
|
touch --no-create %{_datadir}/icons/gnome
|
|
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/gnome
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
update-desktop-database &>/dev/null
|
2024-01-05 23:44:20 +01:00
|
|
|
update-mime-database -n %{_datadir}/mime &>/dev/null
|
2024-01-05 23:44:20 +01:00
|
|
|
touch --no-create %{_datadir}/icons/gnome
|
|
|
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/gnome
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/align_image_stack
|
|
|
|
%{_bindir}/autooptimiser
|
|
|
|
%{_bindir}/calibrate_lens_gui
|
|
|
|
%{_bindir}/celeste_standalone
|
|
|
|
%{_bindir}/checkpto
|
|
|
|
%{_bindir}/cpfind
|
|
|
|
%{_bindir}/geocpset
|
|
|
|
%{_bindir}/icpfind
|
|
|
|
%{_bindir}/linefind
|
|
|
|
%{_bindir}/cpclean
|
|
|
|
%{_bindir}/deghosting_mask
|
|
|
|
%{_bindir}/fulla
|
|
|
|
%{_bindir}/hugin
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_bindir}/hugin_*
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_bindir}/nona
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_bindir}/pano_*
|
|
|
|
%{_bindir}/pto_*
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_bindir}/PTBatcherGUI
|
|
|
|
%{_bindir}/tca_correct
|
|
|
|
%{_bindir}/vig_optimize
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_bindir}/hugin_executor
|
|
|
|
%{_bindir}/hugin_lensdb
|
|
|
|
%{_bindir}/verdandi
|
2024-01-05 23:44:20 +01:00
|
|
|
%dir %{_libdir}/hugin
|
|
|
|
%{_libdir}/hugin/libceleste*
|
|
|
|
%{_libdir}/hugin/libhugin*
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_libdir}/hugin/libicpfindlib.so.*
|
|
|
|
%{_libdir}/hugin/liblocalfeatures.so.*
|
2024-01-05 23:44:20 +01:00
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%{_datadir}/%{name}/xrc
|
|
|
|
%dir %{_datadir}/hugin/data
|
|
|
|
%{_datadir}/hugin/data/*
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_datadir}/metainfo/*.xml
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_datadir}/applications/pto_gen.desktop
|
|
|
|
%{_datadir}/applications/PTBatcherGUI.desktop
|
|
|
|
%{_datadir}/applications/calibrate_lens_gui.desktop
|
|
|
|
%{_datadir}/applications/hugin.desktop
|
|
|
|
%{_datadir}/mime/packages/hugin.xml
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/mimetypes/*.png
|
2024-01-05 23:44:20 +01:00
|
|
|
#%{python_sitearch}/_hsi.so
|
|
|
|
#%{python_sitearch}/hpi.py
|
|
|
|
#%{python_sitearch}/hsi.py
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_mandir}/man1/calibrate_lens_gui.1*
|
|
|
|
%{_mandir}/man1/checkpto.1*
|
|
|
|
%{_mandir}/man1/cpfind.1*
|
|
|
|
%{_mandir}/man1/geocpset.1*
|
|
|
|
%{_mandir}/man1/align_image_stack.1*
|
|
|
|
%{_mandir}/man1/autooptimiser.1*
|
|
|
|
%{_mandir}/man1/celeste_standalone.1*
|
|
|
|
%{_mandir}/man1/cpclean.1*
|
|
|
|
%{_mandir}/man1/deghosting_mask.1*
|
|
|
|
%{_mandir}/man1/fulla.1*
|
|
|
|
%{_mandir}/man1/hugin.1*
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_mandir}/man1/hugin_*.1*
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_mandir}/man1/icpfind.1*
|
|
|
|
%{_mandir}/man1/linefind.1*
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_mandir}/man1/pto_*.1*
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_mandir}/man1/PTBatcherGUI.1*
|
|
|
|
%{_mandir}/man1/nona.1*
|
|
|
|
%{_mandir}/man1/pano_modify.1*
|
|
|
|
%{_mandir}/man1/pano_trafo.1*
|
|
|
|
%{_mandir}/man1/tca_correct.1*
|
|
|
|
%{_mandir}/man1/vig_optimize.1*
|
2024-01-05 23:44:20 +01:00
|
|
|
%{_mandir}/man1/verdandi.1*
|
2024-01-05 23:44:20 +01:00
|
|
|
%doc AUTHORS
|
2024-01-05 23:44:20 +01:00
|
|
|
#ChangeLog README README_JP TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-11-17 11:30:12 +01:00
|
|
|
* Sat Nov 16 2024 Automatic Build System <autodist@openmamba.org> 2024.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:44:21 +01:00
|
|
|
* Sun Nov 12 2023 Automatic Build System <autodist@mambasoft.it> 2023.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:44:20 +01:00
|
|
|
* Wed Dec 21 2022 Automatic Build System <autodist@mambasoft.it> 2022.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:44:20 +01:00
|
|
|
* Wed Jan 05 2022 Automatic Build System <autodist@mambasoft.it> 2021.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:44:20 +01:00
|
|
|
* Sun Jun 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2020.0.0-1mamba
|
|
|
|
- update to 2020.0.0
|
|
|
|
|
2024-01-05 23:44:20 +01:00
|
|
|
* Mon Feb 12 2018 Automatic Build System <autodist@mambasoft.it> 2018.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:44:20 +01:00
|
|
|
* Fri Jul 21 2017 Automatic Build System <autodist@mambasoft.it> 2017.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 13 2017 Automatic Build System <autodist@mambasoft.it> 2016.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:44:20 +01:00
|
|
|
* Sat Mar 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2014.0.0-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: liblensfun-devel>=0.3.2-1mamba
|
|
|
|
|
2024-01-05 23:44:20 +01:00
|
|
|
* Thu Feb 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2014.0.0-1mamba
|
|
|
|
- update to 2014.0.0
|
|
|
|
|
|
|
|
* Thu Feb 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2013.0.0-3mamba
|
|
|
|
- rebuilt by autoport with build requirements: libpano13-devel>=2.9.19-1mamba--buildreqlibpano13-devel>=2.9.19-1mamba
|
|
|
|
|
2024-01-05 23:44:20 +01:00
|
|
|
* Mon Mar 31 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2013.0.0-2mamba
|
|
|
|
- rebuilt with openexr 2.1.0
|
|
|
|
|
|
|
|
* Sun Dec 01 2013 Automatic Build System <autodist@mambasoft.it> 2013.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat May 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2012.0.0-3mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Sat Dec 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2012.0.0-2mamba
|
|
|
|
- libboost 1.52 mass rebuild
|
|
|
|
|
|
|
|
* Fri Nov 09 2012 Automatic Build System <autodist@mambasoft.it> 2012.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2011.4.0-2mamba
|
|
|
|
- rebuilt
|
|
|
|
- added requirement for libtclap-devel
|
|
|
|
|
|
|
|
* Mon Apr 02 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2011.4.0-1mamba
|
|
|
|
- update to 2011.4.0
|
|
|
|
|
|
|
|
* Wed Dec 15 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2010.2.0-1mamba
|
|
|
|
- update to 2010.2.0
|
|
|
|
|
|
|
|
* Wed Oct 27 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2010.0.0-1mamba
|
|
|
|
- update to 2010.0.0
|
|
|
|
- rebuilt with libpano13 2.9.17
|
|
|
|
- fixed URL field
|
|
|
|
- added libpng14 patch
|
|
|
|
|
|
|
|
* Mon Jun 14 2010 Automatic Build System <autodist@mambasoft.it> 2009.4.0-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sun Mar 07 2010 Davide Madrisan <davide.madrisan@gmail.com> 2009.4.0-1mamba
|
|
|
|
- package created by autospec
|