]> git.pld-linux.org Git - packages/enblend-enfuse.git/blob - enblend-enfuse.spec
1a2ef76633ba862acba102531b0cf221af83c771
[packages/enblend-enfuse.git] / enblend-enfuse.spec
1 # NOTE: g++ eats 700+MB of memory
2 #
3 # Conditional build:
4 %bcond_with     gomp    # OpenMP support (incompatible with image-cache)
5 #
6 Summary:        Image blending with multiresolution splines
7 Summary(pl.UTF-8):      Łączenie zdjęć przy użyciu splajnów wielokrotnej rozdzielczości
8 Name:           enblend-enfuse
9 Version:        4.1.2
10 Release:        1
11 License:        GPL v2+
12 Group:          Applications/Graphics
13 Source0:        http://downloads.sourceforge.net/enblend/%{name}-%{version}.tar.gz
14 # Source0-md5:  5b609ddfc9fae5fadf65d29c08e0340e
15 Patch0:         %{name}-info.patch
16 Patch1:         %{name}-texinfo.patch
17 URL:            http://enblend.sourceforge.net/
18 BuildRequires:  OpenEXR-devel >= 1.0
19 BuildRequires:  OpenGL-GLU-devel
20 BuildRequires:  OpenGL-glut-devel
21 BuildRequires:  autoconf >= 2.59
22 BuildRequires:  automake
23 BuildRequires:  boost-devel >= 1.35.0
24 %{?with_gomp:BuildRequires:     gcc-c++ >= 6:4.2}
25 BuildRequires:  glew-devel
26 BuildRequires:  gsl-devel
27 BuildRequires:  help2man
28 BuildRequires:  lcms2-devel >= 2
29 %{?with_gomp:BuildRequires:     libgomp-devel}
30 BuildRequires:  libjpeg-devel
31 BuildRequires:  libpng-devel
32 BuildRequires:  libstdc++-devel >= 5:3.4
33 BuildRequires:  libtiff-devel
34 BuildRequires:  libxmi-devel
35 BuildRequires:  pkgconfig
36 BuildRequires:  texinfo
37 BuildRequires:  transfig
38 BuildRequires:  vigra-devel >= 1.8
39 BuildRequires:  zlib-devel
40 Requires:       vigra >= 1.8
41 Provides:       enblend = %{version}
42 Obsoletes:      enblend
43 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45 %description
46 Enblend is a tool for compositing images. Given a set of images that
47 overlap in some irregular way, Enblend overlays them in such a way
48 that the seam between the images is invisible, or at least very
49 difficult to see. Enblend does not line up the images for you. Use a
50 tool like Hugin to do that.
51
52 %description -l pl.UTF-8
53 Enblend to narzędzie do łączenia zdjęć. Po przekazaniu zbioru zdjęć
54 nachodzących na siebie w jakiś nieregularny sposób Enblend nakłada je
55 w taki sposób, że połączenia między zdjęciami są niewidoczne, albo
56 przynajmniej bardzo trudne do zobaczenia. Enblend nie wyrównuje zdjęć
57 - do tego można użyć narzędzia takiego jak Hugin.
58
59 %prep
60 %setup -q
61 %patch0 -p1
62 %patch1 -p1
63
64 %{__sed} -i -e 's/src:://g;s/CFG::/CFG_/g' doc/*.texi doc/define2set.pl configure.in
65
66 %build
67 %{__aclocal} -I m4
68 %{__autoheader}
69 %{__automake}
70 %{__autoconf}
71 %configure \
72         %{?with_gomp:--enable-openmp --disable-image-cache}
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post   -p /sbin/postshell
85 -/usr/sbin/fix-info-dir -c %{_infodir}
86
87 %postun -p /sbin/postshell
88 -/usr/sbin/fix-info-dir -c %{_infodir}
89
90 %files
91 %defattr(644,root,root,755)
92 %doc AUTHORS ChangeLog NEWS README
93 %attr(755,root,root) %{_bindir}/enblend
94 %attr(755,root,root) %{_bindir}/enfuse
95 %{_mandir}/man1/enblend.1*
96 %{_mandir}/man1/enfuse.1*
97 %{_infodir}/enblend.info*
98 %{_infodir}/enfuse.info*
This page took 0.022706 seconds and 2 git commands to generate.