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