]>
Commit | Line | Data |
---|---|---|
9d98c2c7 | 1 | Summary: Toolchain to create panoramic images |
88825902 | 2 | Summary(pl.UTF-8): Zestaw narzędzi do tworzenia panoramicznych zdjęć |
9d98c2c7 | 3 | Name: hugin |
8705f98f | 4 | Version: 2010.4.0 |
52126dd2 | 5 | Release: 1 |
7b7a27a7 | 6 | License: GPL v2+ |
d325390a | 7 | Group: X11/Applications/Graphics |
8705f98f AA |
8 | Source0: http://dl.sourceforge.net/hugin/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: bfd716655461987312b2f2f00c90dcc5 | |
48fac181 | 10 | Patch0: %{name}-pl.po-update.patch |
20e8ff27 | 11 | Patch1: %{name}-cppflags.patch |
9e230f45 | 12 | URL: http://hugin.sourceforge.net/ |
d325390a | 13 | BuildRequires: OpenEXR-devel |
8e4543a9 | 14 | BuildRequires: OpenGL-glut-devel |
015d801d | 15 | BuildRequires: boost-devel >= 1.40.0 |
d325390a JB |
16 | BuildRequires: cmake >= 2.4 |
17 | BuildRequires: exiv2-devel | |
9d98c2c7 | 18 | BuildRequires: gettext-devel |
8e4543a9 | 19 | BuildRequires: glew-devel |
92e0c919 | 20 | BuildRequires: gtk+2-devel >= 1:2.0.3 |
9d98c2c7 | 21 | BuildRequires: libjpeg-devel |
20e8ff27 | 22 | BuildRequires: libpano13-devel >= 2.9.17 |
9d98c2c7 JB |
23 | BuildRequires: libpng-devel |
24 | BuildRequires: libstdc++-devel | |
25 | BuildRequires: libtiff-devel | |
1ddb2f99 | 26 | BuildRequires: perl-tools-pod |
d325390a JB |
27 | BuildRequires: pkgconfig |
28 | BuildRequires: rpmbuild(macros) >= 1.471 | |
6ecc4767 | 29 | BuildRequires: sed >= 4.0 |
20e8ff27 AA |
30 | BuildRequires: wxGTK2-unicode-devel >= 2.7.0 |
31 | BuildRequires: wxGTK2-unicode-gl-devel >= 2.7.0 | |
9d98c2c7 | 32 | BuildRequires: zlib-devel |
d325390a JB |
33 | Suggests: autopano-sift-C >= 2.5.0 |
34 | Suggests: enblend-enfuse >= 3.1 | |
35 | # exiftool program | |
36 | Suggests: perl-Image-ExifTool | |
9d98c2c7 JB |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
38 | ||
39 | %description | |
40 | With hugin you can assemble a mosaic of photographs into a complete | |
41 | immensive panorama, stitch any series of overlapping pictures and much | |
42 | more. | |
9e230f45 | 43 | |
d325390a JB |
44 | Note: Hugin can use autopano-sift-C package to match images and |
45 | enblend package for soft blending, so you'll probably want to install | |
46 | them too. | |
7dba9267 | 47 | |
8b7d4390 JR |
48 | %description -l pl.UTF-8 |
49 | Przy użyciu hugina można połączyć wiele fotografii w kompletną, dużą | |
50 | panoramę, skleić dowolny ciąg nakładających się zdjęć i wiele więcej. | |
9d98c2c7 | 51 | |
d325390a | 52 | Hugin może używać pakietu autopano-sift-C do dopasowania zdjęć oraz |
8b7d4390 JR |
53 | pakiet enblend do wygładzenia krawędzi po łączeniu - więc warto te |
54 | pakiety także zainstalować. | |
7dba9267 | 55 | |
9d98c2c7 | 56 | %prep |
d325390a | 57 | %setup -q |
20e8ff27 AA |
58 | %patch0 -p1 |
59 | %patch1 -p0 | |
9d98c2c7 | 60 | |
aa328ce5 KK |
61 | mv -f src/translations/{ca_ES,ca}.po |
62 | mv -f src/translations/{cs_CZ,cs}.po | |
64a4861a | 63 | |
9d98c2c7 | 64 | %build |
aa328ce5 KK |
65 | install -d build |
66 | cd build | |
d325390a JB |
67 | %cmake .. \ |
68 | -DCMAKE_BUILD_TYPE=%{?debug:Debug}%{!?debug:None} \ | |
69 | -DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
70 | -DCMAKE_VERBOSE_MAKEFILE=ON \ | |
71 | %if "%{_lib}" == "lib64" | |
72 | -DLIB_SUFFIX=64 \ | |
73 | %endif | |
74 | -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-gtk2-unicode-config | |
aa328ce5 | 75 | |
d325390a | 76 | %{__make} |
9d98c2c7 JB |
77 | |
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
d325390a JB |
81 | %{__make} -C build install \ |
82 | DESTDIR=$RPM_BUILD_ROOT | |
9d98c2c7 | 83 | |
d325390a JB |
84 | # cmake is so great there is no way to pass proper path |
85 | mv $RPM_BUILD_ROOT%{_iconsdir}/{gnome,hicolor} | |
86 | ||
d325390a | 87 | %find_lang %{name} |
9d98c2c7 JB |
88 | |
89 | %clean | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
d325390a JB |
92 | %post -p /sbin/ldconfig |
93 | %postun -p /sbin/ldconfig | |
94 | ||
9d98c2c7 JB |
95 | %files -f %{name}.lang |
96 | %defattr(644,root,root,755) | |
015d801d | 97 | %doc AUTHORS ChangeLog LICENCE_VIGRA README TODO |
d325390a | 98 | %lang(ja) %doc README_JP |
1ddb2f99 JB |
99 | %attr(755,root,root) %{_bindir}/PTBatcher |
100 | %attr(755,root,root) %{_bindir}/PTBatcherGUI | |
d325390a | 101 | %attr(755,root,root) %{_bindir}/align_image_stack |
9d98c2c7 | 102 | %attr(755,root,root) %{_bindir}/autooptimiser |
015d801d | 103 | %attr(755,root,root) %{_bindir}/autopano-noop.sh |
b311c89b | 104 | %attr(755,root,root) %{_bindir}/calibrate_lens |
015d801d | 105 | %attr(755,root,root) %{_bindir}/celeste_standalone |
8705f98f | 106 | %attr(755,root,root) %{_bindir}/checkpto |
b311c89b | 107 | %attr(755,root,root) %{_bindir}/cpclean |
8705f98f | 108 | %attr(755,root,root) %{_bindir}/cpfind |
20e8ff27 | 109 | %attr(755,root,root) %{_bindir}/deghosting_mask |
c4b49915 | 110 | %attr(755,root,root) %{_bindir}/fulla |
9d98c2c7 | 111 | %attr(755,root,root) %{_bindir}/hugin |
d325390a JB |
112 | %attr(755,root,root) %{_bindir}/hugin_hdrmerge |
113 | %attr(755,root,root) %{_bindir}/hugin_stitch_project | |
8705f98f | 114 | %attr(755,root,root) %{_bindir}/icpfind |
d325390a | 115 | %attr(755,root,root) %{_bindir}/matchpoint |
9d98c2c7 JB |
116 | %attr(755,root,root) %{_bindir}/nona |
117 | %attr(755,root,root) %{_bindir}/nona_gui | |
20e8ff27 AA |
118 | %attr(755,root,root) %{_bindir}/pano_modify |
119 | %attr(755,root,root) %{_bindir}/pano_trafo | |
120 | %attr(755,root,root) %{_bindir}/pto_merge | |
d325390a JB |
121 | %attr(755,root,root) %{_bindir}/pto2mk |
122 | %attr(755,root,root) %{_bindir}/tca_correct | |
123 | %attr(755,root,root) %{_bindir}/vig_optimize | |
8705f98f | 124 | %dir %{_libdir}/hugin |
1ddb2f99 | 125 | %attr(755,root,root) %{_libdir}/hugin/libceleste.so.*.* |
8705f98f AA |
126 | %attr(755,root,root) %{_libdir}/hugin/libhuginANN.so.*.* |
127 | %attr(755,root,root) %{_libdir}/hugin/libhuginbase.so.*.* | |
128 | %attr(755,root,root) %{_libdir}/hugin/libhuginbasewx.so.*.* | |
129 | %attr(755,root,root) %{_libdir}/hugin/libhuginvigraimpex.so.*.* | |
130 | %attr(755,root,root) %{_libdir}/hugin/libicpfindlib.so.*.* | |
131 | %attr(755,root,root) %{_libdir}/hugin/liblocalfeatures.so.*.* | |
132 | %attr(755,root,root) %{_libdir}/hugin/libmakefilelib.so.*.* | |
9d98c2c7 | 133 | %{_datadir}/%{name} |
7b7a27a7 JB |
134 | %{_datadir}/mime/packages/hugin.xml |
135 | %{_desktopdir}/hugin.desktop | |
015d801d | 136 | %{_desktopdir}/PTBatcherGUI.desktop |
d325390a | 137 | %{_iconsdir}/hicolor/*/mimetypes/gnome-mime-application-x-ptoptimizer-script.png |
7b7a27a7 | 138 | %{_pixmapsdir}/hugin.png |
8705f98f | 139 | %{_pixmapsdir}/ptbatcher.png |
1ddb2f99 JB |
140 | %{_mandir}/man1/PTBatcherGUI.1* |
141 | %{_mandir}/man1/align_image_stack.1* | |
142 | %{_mandir}/man1/autooptimiser.1* | |
143 | %{_mandir}/man1/calibrate_lens.1* | |
144 | %{_mandir}/man1/celeste_standalone.1* | |
145 | %{_mandir}/man1/checkpto.1* | |
146 | %{_mandir}/man1/cpclean.1* | |
147 | %{_mandir}/man1/cpfind.1* | |
148 | %{_mandir}/man1/deghosting_mask.1* | |
149 | %{_mandir}/man1/fulla.1* | |
150 | %{_mandir}/man1/hugin.1* | |
151 | %{_mandir}/man1/hugin_hdrmerge.1* | |
152 | %{_mandir}/man1/hugin_stitch_project.1* | |
153 | %{_mandir}/man1/icpfind.1* | |
154 | %{_mandir}/man1/nona.1* | |
155 | %{_mandir}/man1/nona_gui.1* | |
156 | %{_mandir}/man1/pano_modify.1* | |
157 | %{_mandir}/man1/pano_trafo.1* | |
158 | %{_mandir}/man1/pto2mk.1* | |
159 | %{_mandir}/man1/pto_merge.1* | |
160 | %{_mandir}/man1/tca_correct.1* | |
161 | %{_mandir}/man1/vig_optimize.1* |