]> git.pld-linux.org Git - packages/hugin.git/blob - hugin.spec
- it suggests autopano-sift and enblend
[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    beta4
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:  b852b334400ba9d4ae91a5a628846491
12 Patch0:         %{name}-pl.po-update.patch
13 Patch1:         %{name}-defaults.patch
14 URL:            http://hugin.sf.net/
15 BuildRequires:  boost-test-devel
16 BuildRequires:  gettext-devel
17 BuildRequires:  gtk+2-devel >= 2.0.3
18 BuildRequires:  libjpeg-devel
19 BuildRequires:  libpano12-devel
20 BuildRequires:  libpng-devel
21 BuildRequires:  libstdc++-devel
22 BuildRequires:  libtiff-devel
23 # 2.4.2 would suffice, but passed wx-config is 2.5-specific
24 #BuildRequires: wxGTK2-devel >= 2.4.2
25 BuildRequires:  wxGTK2-devel >= 2.5.3
26 BuildRequires:  zlib-devel
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 With hugin you can assemble a mosaic of photographs into a complete
31 immensive panorama, stitch any series of overlapping pictures and much
32 more.
33  
34 Note: Hugin can use autopano-sift package to match images and enblend
35 package for soft blending, so you'll probably want to install them
36 too.
37
38 %description -l pl
39 Przy u¿yciu hugina mo¿na po³±czyæ wiele fotografii w kompletn±, du¿±
40 panoramê, skleiæ dowolny ci±g nak³adaj±cych siê zdjêæ i wiele wiêcej.
41
42 Hugin mo¿e u¿ywaæ pakietu autopano-shift do dopasowania zdjêæ oraz
43 pakiet enblend do wyg³adzenia krawêdzi po ³±czeniu - wiêc warto te
44 pakiety tak¿e zainstalowaæ.
45
46 %prep
47 %setup -q -n %{name}-%{version}-%{bver}
48 %patch0 -p1
49 %patch1 -p1
50
51 %build
52 %configure \
53         --with-wx-config=wx-gtk2-ansi-config
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 # "hugin" and "nona_gui" domains
63 %find_lang %{name} --all-name
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc AUTHORS BUGS ChangeLog LICENCE_SIFT README TODO
71 %attr(755,root,root) %{_bindir}/autooptimiser
72 %attr(755,root,root) %{_bindir}/hugin
73 %attr(755,root,root) %{_bindir}/nona
74 %attr(755,root,root) %{_bindir}/nona_gui
75 %attr(755,root,root) %{_bindir}/panosifter
76 %attr(755,root,root) %{_bindir}/sift_keypoints
77 %attr(755,root,root) %{_bindir}/zhang_undistort
78 %{_datadir}/%{name}
This page took 0.041488 seconds and 4 git commands to generate.