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