]> git.pld-linux.org Git - packages/hugin.git/blame - hugin.spec
- updated to 2016.0.0
[packages/hugin.git] / hugin.spec
CommitLineData
9d98c2c7 1Summary: Toolchain to create panoramic images
88825902 2Summary(pl.UTF-8): Zestaw narzędzi do tworzenia panoramicznych zdjęć
9d98c2c7 3Name: hugin
8d0a3a9e
JR
4Version: 2016.0.0
5Release: 1
7b7a27a7 6License: GPL v2+
d325390a 7Group: X11/Applications/Graphics
2cc6b667 8Source0: http://downloads.sourceforge.net/hugin/%{name}-%{version}.tar.bz2
8d0a3a9e 9# Source0-md5: 8407dd7275374a492610221e7ae56be9
48fac181 10Patch0: %{name}-pl.po-update.patch
20e8ff27 11Patch1: %{name}-cppflags.patch
a5bb3817 12Patch4: no-sysctl.patch
cb07e418 13Patch6: python-install.patch
9e230f45 14URL: http://hugin.sourceforge.net/
d325390a 15BuildRequires: OpenEXR-devel
8e4543a9 16BuildRequires: OpenGL-glut-devel
2c7caafb
JB
17BuildRequires: ZThread-devel
18BuildRequires: boost-devel >= 1.41.0
2cc6b667 19BuildRequires: cmake >= 2.8
d325390a 20BuildRequires: exiv2-devel
2c7caafb 21BuildRequires: flann-devel
58445212 22BuildRequires: gettext-tools
8e4543a9 23BuildRequires: glew-devel
92e0c919 24BuildRequires: gtk+2-devel >= 1:2.0.3
e2e05e12 25BuildRequires: lensfun-devel
9d98c2c7 26BuildRequires: libjpeg-devel
26aa3b99 27BuildRequires: libpano13-devel >= 2.9.19
9d98c2c7
JB
28BuildRequires: libpng-devel
29BuildRequires: libstdc++-devel
30BuildRequires: libtiff-devel
acd0ae4d 31BuildRequires: perl-Image-ExifTool
1ddb2f99 32BuildRequires: perl-tools-pod
d325390a 33BuildRequires: pkgconfig
2c7caafb 34BuildRequires: python-devel
d325390a 35BuildRequires: rpmbuild(macros) >= 1.471
6ecc4767 36BuildRequires: sed >= 4.0
2c7caafb 37BuildRequires: swig-python >= 2.0.4
21893981 38BuildRequires: tclap
2c7caafb
JB
39BuildRequires: wxGTK2-unicode-devel >= 2.8.10
40BuildRequires: wxGTK2-unicode-gl-devel >= 2.8.10
9d98c2c7 41BuildRequires: zlib-devel
26aa3b99 42Requires: libpano13 >= 2.9.19
2c7caafb
JB
43Requires: wxGTK2-unicode >= 2.8.10
44Requires: wxGTK2-unicode-gl >= 2.8.10
d325390a
JB
45Suggests: enblend-enfuse >= 3.1
46# exiftool program
47Suggests: perl-Image-ExifTool
9d98c2c7
JB
48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50%description
51With hugin you can assemble a mosaic of photographs into a complete
52immensive panorama, stitch any series of overlapping pictures and much
53more.
9e230f45 54
5d8a0b37
JB
55Note: Hugin can use enblend and enfuse for soft blending/fusing, so
56you'll probably to install enblend-enfuse package too.
7dba9267 57
8b7d4390
JR
58%description -l pl.UTF-8
59Przy użyciu hugina można połączyć wiele fotografii w kompletną, dużą
60panoramę, skleić dowolny ciąg nakładających się zdjęć i wiele więcej.
9d98c2c7 61
5d8a0b37
JB
62Hugin może używać programów enblend i enfuse do wygładzania krawędzi
63i ekspozycji, więc warto zainstalować pakiet enblend-enfuse.
7dba9267 64
9d98c2c7 65%prep
d325390a 66%setup -q
d0805cb0 67#%patch0 -p1
20e8ff27 68%patch1 -p0
a5bb3817 69%patch4 -p1
cb07e418 70%patch6 -p1
9d98c2c7 71
aa328ce5 72mv -f src/translations/{cs_CZ,cs}.po
64a4861a 73
2c7caafb
JB
74%{__sed} -i -e '1s,#! \?/usr/bin/env python,#!/usr/bin/python,' \
75 src/hugin_script_interface/hpi.py \
76 src/hugin_script_interface/plugins/*.py \
77 src/hugin_script_interface/plugins-dev/*.py
78
9d98c2c7 79%build
aa328ce5
KK
80install -d build
81cd build
d325390a
JB
82%cmake .. \
83 -DCMAKE_BUILD_TYPE=%{?debug:Debug}%{!?debug:None} \
84 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
85 -DCMAKE_VERBOSE_MAKEFILE=ON \
86%if "%{_lib}" == "lib64"
87 -DLIB_SUFFIX=64 \
88%endif
2cc6b667 89 -DwxWidgets_CONFIG_EXECUTABLE=%{_bindir}/wx-gtk2-unicode-config
aa328ce5 90
d325390a 91%{__make}
9d98c2c7
JB
92
93%install
94rm -rf $RPM_BUILD_ROOT
95
d325390a
JB
96%{__make} -C build install \
97 DESTDIR=$RPM_BUILD_ROOT
9d98c2c7 98
d325390a
JB
99# cmake is so great there is no way to pass proper path
100mv $RPM_BUILD_ROOT%{_iconsdir}/{gnome,hicolor}
101
2c7caafb
JB
102%py_comp $RPM_BUILD_ROOT%{py_sitedir}
103%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
104
d325390a 105%find_lang %{name}
9d98c2c7
JB
106
107%clean
108rm -rf $RPM_BUILD_ROOT
109
110%files -f %{name}.lang
111%defattr(644,root,root,755)
8d0a3a9e 112%doc AUTHORS Changes.txt README TODO src/celeste/LICENCE_{GABOR,LIBSVM}
1ddb2f99 113%attr(755,root,root) %{_bindir}/PTBatcherGUI
d325390a 114%attr(755,root,root) %{_bindir}/align_image_stack
9d98c2c7 115%attr(755,root,root) %{_bindir}/autooptimiser
21893981 116%attr(755,root,root) %{_bindir}/calibrate_lens_gui
015d801d 117%attr(755,root,root) %{_bindir}/celeste_standalone
8705f98f 118%attr(755,root,root) %{_bindir}/checkpto
b311c89b 119%attr(755,root,root) %{_bindir}/cpclean
8705f98f 120%attr(755,root,root) %{_bindir}/cpfind
20e8ff27 121%attr(755,root,root) %{_bindir}/deghosting_mask
c4b49915 122%attr(755,root,root) %{_bindir}/fulla
2c7caafb 123%attr(755,root,root) %{_bindir}/geocpset
9d98c2c7 124%attr(755,root,root) %{_bindir}/hugin
8d0a3a9e 125%attr(755,root,root) %{_bindir}/hugin_executor
d325390a 126%attr(755,root,root) %{_bindir}/hugin_hdrmerge
8d0a3a9e 127%attr(755,root,root) %{_bindir}/hugin_lensdb
d325390a 128%attr(755,root,root) %{_bindir}/hugin_stitch_project
8705f98f 129%attr(755,root,root) %{_bindir}/icpfind
21893981 130%attr(755,root,root) %{_bindir}/linefind
9d98c2c7 131%attr(755,root,root) %{_bindir}/nona
20e8ff27
AA
132%attr(755,root,root) %{_bindir}/pano_modify
133%attr(755,root,root) %{_bindir}/pano_trafo
e2e05e12 134%attr(755,root,root) %{_bindir}/pto_gen
2c7caafb 135%attr(755,root,root) %{_bindir}/pto_lensstack
acd0ae4d 136%attr(755,root,root) %{_bindir}/pto_mask
20e8ff27 137%attr(755,root,root) %{_bindir}/pto_merge
acd0ae4d
AM
138%attr(755,root,root) %{_bindir}/pto_move
139%attr(755,root,root) %{_bindir}/pto_template
2c7caafb 140%attr(755,root,root) %{_bindir}/pto_var
d325390a 141%attr(755,root,root) %{_bindir}/tca_correct
8d0a3a9e 142%attr(755,root,root) %{_bindir}/verdandi
d325390a 143%attr(755,root,root) %{_bindir}/vig_optimize
8705f98f 144%dir %{_libdir}/hugin
1ddb2f99 145%attr(755,root,root) %{_libdir}/hugin/libceleste.so.*.*
8705f98f
AA
146%attr(755,root,root) %{_libdir}/hugin/libhuginbase.so.*.*
147%attr(755,root,root) %{_libdir}/hugin/libhuginbasewx.so.*.*
21893981 148%attr(755,root,root) %{_libdir}/hugin/libhuginlines.so.*.*
8705f98f
AA
149%attr(755,root,root) %{_libdir}/hugin/libicpfindlib.so.*.*
150%attr(755,root,root) %{_libdir}/hugin/liblocalfeatures.so.*.*
e2e05e12 151%attr(755,root,root) %{_libdir}/hugin/libhugin_python_interface.so.*.*
2c7caafb
JB
152%attr(755,root,root) %{py_sitedir}/_hsi.so
153%{py_sitedir}/hpi.py*
154%{py_sitedir}/hsi.py*
9d98c2c7 155%{_datadir}/%{name}
a5bb3817
JR
156%{_datadir}/appdata/PTBatcherGUI.appdata.xml
157%{_datadir}/appdata/calibrate_lens_gui.appdata.xml
158%{_datadir}/appdata/hugin.appdata.xml
7b7a27a7
JB
159%{_datadir}/mime/packages/hugin.xml
160%{_desktopdir}/hugin.desktop
e2e05e12 161%{_desktopdir}/pto_gen.desktop
015d801d 162%{_desktopdir}/PTBatcherGUI.desktop
21893981 163%{_desktopdir}/calibrate_lens_gui.desktop
d325390a 164%{_iconsdir}/hicolor/*/mimetypes/gnome-mime-application-x-ptoptimizer-script.png
7b7a27a7 165%{_pixmapsdir}/hugin.png
8705f98f 166%{_pixmapsdir}/ptbatcher.png
1ddb2f99
JB
167%{_mandir}/man1/PTBatcherGUI.1*
168%{_mandir}/man1/align_image_stack.1*
169%{_mandir}/man1/autooptimiser.1*
21893981 170%{_mandir}/man1/calibrate_lens_gui.1*
1ddb2f99
JB
171%{_mandir}/man1/celeste_standalone.1*
172%{_mandir}/man1/checkpto.1*
173%{_mandir}/man1/cpclean.1*
174%{_mandir}/man1/cpfind.1*
175%{_mandir}/man1/deghosting_mask.1*
176%{_mandir}/man1/fulla.1*
2c7caafb 177%{_mandir}/man1/geocpset.1*
1ddb2f99 178%{_mandir}/man1/hugin.1*
8d0a3a9e 179%{_mandir}/man1/hugin_executor.1*
1ddb2f99 180%{_mandir}/man1/hugin_hdrmerge.1*
8d0a3a9e 181%{_mandir}/man1/hugin_lensdb.1*
1ddb2f99
JB
182%{_mandir}/man1/hugin_stitch_project.1*
183%{_mandir}/man1/icpfind.1*
21893981 184%{_mandir}/man1/linefind.1*
1ddb2f99 185%{_mandir}/man1/nona.1*
1ddb2f99
JB
186%{_mandir}/man1/pano_modify.1*
187%{_mandir}/man1/pano_trafo.1*
e2e05e12 188%{_mandir}/man1/pto_gen.1*
2c7caafb 189%{_mandir}/man1/pto_lensstack.1*
1ddb2f99 190%{_mandir}/man1/pto_merge.1*
acd0ae4d
AM
191%{_mandir}/man1/pto_mask.1*
192%{_mandir}/man1/pto_move.1*
193%{_mandir}/man1/pto_template.1*
2c7caafb 194%{_mandir}/man1/pto_var.1*
1ddb2f99
JB
195%{_mandir}/man1/tca_correct.1*
196%{_mandir}/man1/vig_optimize.1*
8d0a3a9e 197%{_mandir}/man1/verdandi.1*
This page took 0.072879 seconds and 4 git commands to generate.