]> git.pld-linux.org Git - packages/hugin.git/blob - hugin.spec
- added gcc4 patch, fixed ca locale dir, release 2
[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 Release:        2
6 License:        GPL v2+
7 Group:          Applications/Graphics
8 Source0:        http://dl.sourceforge.net/hugin/%{name}-%{version}.tar.gz
9 # Source0-md5:  18b38f5d6744831567b7fabfedb643fd
10 Patch0:         %{name}-pl.po-update.patch
11 Patch1:         %{name}-defaults.patch
12 Patch2:         %{name}-gcc4.patch
13 URL:            http://hugin.sf.net/
14 BuildRequires:  autoconf >= 2.50
15 BuildRequires:  automake
16 BuildRequires:  boost-any-devel
17 BuildRequires:  boost-ref-devel
18 BuildRequires:  boost-test-devel
19 BuildRequires:  gettext-devel
20 BuildRequires:  gtk+2-devel >= 2.0.3
21 BuildRequires:  libjpeg-devel
22 BuildRequires:  libpano12-devel
23 BuildRequires:  libpng-devel
24 BuildRequires:  libstdc++-devel
25 BuildRequires:  libtiff-devel
26 BuildRequires:  libtool >= 2:1.5
27 BuildRequires:  sed >= 4.0
28 BuildRequires:  wxGTK2-devel >= 2.6.0
29 BuildRequires:  zlib-devel
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 With hugin you can assemble a mosaic of photographs into a complete
34 immensive panorama, stitch any series of overlapping pictures and much
35 more.
36  
37 Note: Hugin can use autopano-sift package to match images and enblend
38 package for soft blending, so you'll probably want to install them
39 too.
40
41 %description -l pl
42 Przy u¿yciu hugina mo¿na po³±czyæ wiele fotografii w kompletn±, du¿±
43 panoramê, skleiæ dowolny ci±g nak³adaj±cych siê zdjêæ i wiele wiêcej.
44
45 Hugin mo¿e u¿ywaæ pakietu autopano-shift do dopasowania zdjêæ oraz
46 pakiet enblend do wyg³adzenia krawêdzi po ³±czeniu - wiêc warto te
47 pakiety tak¿e zainstalowaæ.
48
49 %prep
50 %setup -q
51 %patch0 -p1
52 %patch1 -p1
53 %patch2 -p1
54
55 sed -i -e 's,ac_boost_libdir=.*/lib.*,ac_boost_libdir=/usr/%{_lib},' m4/ax_check_boost.m4
56
57 # to rebuild pl.gmo
58 rm -f src/hugin/po/stamp-po
59
60 %build
61 %{__gettextize}
62 %{__libtoolize}
63 %{__aclocal} -I m4
64 %{__autoconf}
65 %{__autoheader}
66 %{__automake}
67 %configure \
68         --with-wx-config=wx-gtk2-ansi-config
69 %{__make}
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 %{__make} install \
75         DESTDIR=$RPM_BUILD_ROOT
76
77 mv $RPM_BUILD_ROOT%{_datadir}/locale/{ca_ES,ca}
78
79 # "hugin" and "nona_gui" domains
80 %find_lang %{name} --all-name
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc AUTHORS BUGS ChangeLog LICENCE_JHEAD LICENCE_VIGRA NEWS README TODO
88 %attr(755,root,root) %{_bindir}/autooptimiser
89 %attr(755,root,root) %{_bindir}/hugin
90 %attr(755,root,root) %{_bindir}/nona
91 %attr(755,root,root) %{_bindir}/nona_gui
92 %attr(755,root,root) %{_bindir}/zhang_undistort
93 %{_datadir}/%{name}
94 %{_datadir}/mime/packages/hugin.xml
95 %{_desktopdir}/hugin.desktop
96 %{_iconsdir}/gnome/*/mimetypes/*.png
97 %{_pixmapsdir}/hugin.png
This page took 0.081517 seconds and 4 git commands to generate.