]> git.pld-linux.org Git - packages/hugin.git/blob - hugin.spec
- more pl.po fixes, added defaults 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    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 %description -l pl
35 Przy u¿yciu hugina mo¿na po³±czyæ wiele fotografii w kompletn±, du¿±
36 panoramê, skleiæ dowolny ci±g nak³adaj±cych siê zdjêæ i wiele wiêcej.
37
38 %prep
39 %setup -q -n %{name}-%{version}-%{bver}
40 %patch0 -p1
41 %patch1 -p1
42
43 %build
44 %configure \
45         --with-wx-config=wx-gtk2-ansi-config
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 # "hugin" and "nona_gui" domains
55 %find_lang %{name} --all-name
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc AUTHORS BUGS ChangeLog LICENCE_SIFT README TODO
63 %attr(755,root,root) %{_bindir}/autooptimiser
64 %attr(755,root,root) %{_bindir}/hugin
65 %attr(755,root,root) %{_bindir}/nona
66 %attr(755,root,root) %{_bindir}/nona_gui
67 %attr(755,root,root) %{_bindir}/panosifter
68 %attr(755,root,root) %{_bindir}/sift_keypoints
69 %attr(755,root,root) %{_bindir}/zhang_undistort
70 %{_datadir}/%{name}
This page took 0.037016 seconds and 4 git commands to generate.