Summary(pl.UTF-8): Zestaw narzędzi do tworzenia panoramicznych zdjęć
Name: hugin
Version: 2014.0.0
-Release: 5
+Release: 6
License: GPL v2+
Group: X11/Applications/Graphics
Source0: http://downloads.sourceforge.net/hugin/%{name}-%{version}.tar.bz2
Patch3: boost-1.57.0.patch
Patch4: no-sysctl.patch
Patch5: lensfun-0.3.patch
+Patch6: python-install.patch
URL: http://hugin.sourceforge.net/
BuildRequires: OpenEXR-devel
BuildRequires: OpenGL-glut-devel
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%patch6 -p1
mv -f src/translations/{cs_CZ,cs}.po
--- /dev/null
+--- hugin-2014.0.0/src/hugin_script_interface/CMakeLists.txt~ 2014-10-08 20:19:19.000000000 +0200
++++ hugin-2014.0.0/src/hugin_script_interface/CMakeLists.txt 2015-12-18 21:44:50.807185809 +0100
+@@ -203,7 +203,7 @@
+ # Linux/MacOS
+ # install Python related files into folder depending on used Python version
+
+- EXECUTE_PROCESS( COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))"
++ EXECUTE_PROCESS( COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(plat_specific=True, prefix='/usr'))"
+ OUTPUT_VARIABLE pyinstalldir
+ OUTPUT_STRIP_TRAILING_WHITESPACE)
+