]> git.pld-linux.org Git - packages/hugin.git/blob - hugin.spec
- new
[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 URL:            http://hugin.sf.net/
14 BuildRequires:  boost-test-devel
15 BuildRequires:  gettext-devel
16 BuildRequires:  gtk+2-devel >= 2.0.3
17 BuildRequires:  libjpeg-devel
18 BuildRequires:  libpano12-devel
19 BuildRequires:  libpng-devel
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  libtiff-devel
22 # 2.4.2 would suffice, but passed wx-config is 2.5-specific
23 #BuildRequires: wxGTK2-devel >= 2.4.2
24 BuildRequires:  wxGTK2-devel >= 2.5.3
25 BuildRequires:  zlib-devel
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 With hugin you can assemble a mosaic of photographs into a complete
30 immensive panorama, stitch any series of overlapping pictures and much
31 more.
32  
33 %description -l pl
34 Przy u¿yciu hugina mo¿na po³±czyæ wiele fotografii w kompletn±, du¿±
35 panoramê, skleiæ dowolny ci±g nak³adaj±cych siê zdjêæ i wiele wiêcej.
36
37 %prep
38 %setup -q -n %{name}-%{version}-%{bver}
39 %patch0 -p1
40
41 %build
42 %configure \
43         --with-wx-config=wx-gtk2-ansi-config
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 # "hugin" and "nona_gui" domains
53 %find_lang %{name} --all-name
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files -f %{name}.lang
59 %defattr(644,root,root,755)
60 %doc AUTHORS BUGS ChangeLog LICENCE_SIFT README TODO
61 %attr(755,root,root) %{_bindir}/autooptimiser
62 %attr(755,root,root) %{_bindir}/hugin
63 %attr(755,root,root) %{_bindir}/nona
64 %attr(755,root,root) %{_bindir}/nona_gui
65 %attr(755,root,root) %{_bindir}/panosifter
66 %attr(755,root,root) %{_bindir}/sift_keypoints
67 %attr(755,root,root) %{_bindir}/zhang_undistort
68 %{_datadir}/%{name}
This page took 0.132331 seconds and 4 git commands to generate.