]> git.pld-linux.org Git - packages/hugin.git/blob - hugin.spec
- updated to 0.5-beta5, removed obsolete cvs patch, updated pl.po-update patch
[packages/hugin.git] / hugin.spec
1 Summary:        Toolchain to create panoramic images
2 Summary(pl):    Zestaw narzêdzi do tworzenia panoramicznych zdjêæ
3 Name:           hugin
4 Version:        0.5
5 %define bver    beta5
6 Release:        0.%{bver}.1
7 # SIFT is patented in USA and may require license for commercial use
8 License:        GPL, non-commercial SIFT license for some code
9 Group:          Applications/Graphics
10 Source0:        http://dl.sourceforge.net/hugin/%{name}-%{version}-%{bver}.tar.bz2
11 # Source0-md5:  a92d4110e95fdd8b65f87131ff04477d
12 Patch0:         %{name}-pl.po-update.patch
13 Patch1:         %{name}-defaults.patch
14 URL:            http://hugin.sf.net/
15 BuildRequires:  autoconf >= 2.50
16 BuildRequires:  automake
17 BuildRequires:  boost-any-devel
18 BuildRequires:  boost-ref-devel
19 BuildRequires:  boost-test-devel
20 BuildRequires:  gettext-devel
21 BuildRequires:  gtk+2-devel >= 2.0.3
22 BuildRequires:  libjpeg-devel
23 BuildRequires:  libpano12-devel
24 BuildRequires:  libpng-devel
25 BuildRequires:  libstdc++-devel
26 BuildRequires:  libtiff-devel
27 BuildRequires:  libtool >= 2:1.5
28 BuildRequires:  sed >= 4.0
29 BuildRequires:  wxGTK2-devel >= 2.6.0
30 BuildRequires:  zlib-devel
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 With hugin you can assemble a mosaic of photographs into a complete
35 immensive panorama, stitch any series of overlapping pictures and much
36 more.
37  
38 Note: Hugin can use autopano-sift package to match images and enblend
39 package for soft blending, so you'll probably want to install them
40 too.
41
42 %description -l pl
43 Przy u¿yciu hugina mo¿na po³±czyæ wiele fotografii w kompletn±, du¿±
44 panoramê, skleiæ dowolny ci±g nak³adaj±cych siê zdjêæ i wiele wiêcej.
45
46 Hugin mo¿e u¿ywaæ pakietu autopano-shift do dopasowania zdjêæ oraz
47 pakiet enblend do wyg³adzenia krawêdzi po ³±czeniu - wiêc warto te
48 pakiety tak¿e zainstalowaæ.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53 %patch1 -p1
54
55 sed -i -e 's,ac_boost_libdir=.*/lib.*,ac_boost_libdir=/usr/%{_lib},' m4/ax_check_boost.m4
56
57 %build
58 %{__gettextize}
59 %{__libtoolize}
60 %{__aclocal} -I m4
61 %{__autoconf}
62 %{__autoheader}
63 %{__automake}
64 %configure \
65         --with-wx-config=wx-gtk2-ansi-config
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 # "hugin" and "nona_gui" domains
75 %find_lang %{name} --all-name
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files -f %{name}.lang
81 %defattr(644,root,root,755)
82 %doc AUTHORS BUGS ChangeLog LICENCE_SIFT README TODO
83 %attr(755,root,root) %{_bindir}/autooptimiser
84 %attr(755,root,root) %{_bindir}/hugin
85 %attr(755,root,root) %{_bindir}/nona
86 %attr(755,root,root) %{_bindir}/nona_gui
87 %attr(755,root,root) %{_bindir}/panosifter
88 %attr(755,root,root) %{_bindir}/sift_keypoints
89 %attr(755,root,root) %{_bindir}/zhang_undistort
90 %{_datadir}/%{name}
This page took 0.031346 seconds and 4 git commands to generate.