]> git.pld-linux.org Git - packages/enblend-enfuse.git/blob - enblend-enfuse.spec
- release 12 (by relup.sh)
[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:        12
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:  gnuplot
29 BuildRequires:  lcms2-devel >= 2
30 %{?with_gomp:BuildRequires:     libgomp-devel}
31 BuildRequires:  libjpeg-devel
32 BuildRequires:  libpng-devel
33 BuildRequires:  libstdc++-devel >= 5:3.4
34 BuildRequires:  libtiff-devel
35 BuildRequires:  libxmi-devel
36 BuildRequires:  pkgconfig
37 BuildRequires:  texinfo
38 BuildRequires:  tidy
39 BuildRequires:  transfig
40 BuildRequires:  vigra-devel >= 1.8
41 BuildRequires:  zlib-devel
42 Requires:       vigra >= 1.8
43 Provides:       enblend = %{version}
44 Obsoletes:      enblend
45 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
47 %description
48 Enblend is a tool for compositing images. Given a set of images that
49 overlap in some irregular way, Enblend overlays them in such a way
50 that the seam between the images is invisible, or at least very
51 difficult to see. Enblend does not line up the images for you. Use a
52 tool like Hugin to do that.
53
54 %description -l pl.UTF-8
55 Enblend to narzędzie do łączenia zdjęć. Po przekazaniu zbioru zdjęć
56 nachodzących na siebie w jakiś nieregularny sposób Enblend nakłada je
57 w taki sposób, że połączenia między zdjęciami są niewidoczne, albo
58 przynajmniej bardzo trudne do zobaczenia. Enblend nie wyrównuje zdjęć
59 - do tego można użyć narzędzia takiego jak Hugin.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64 %patch1 -p1
65
66 %{__sed} -i -e 's/src:://g;s/CFG::/CFG_/g' doc/*.texi doc/define2set.pl configure.in
67
68 %build
69 %{__aclocal} -I m4
70 %{__autoheader}
71 %{__automake}
72 %{__autoconf}
73 %configure \
74         %{?with_gomp:--enable-openmp --disable-image-cache}
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/postshell
87 -/usr/sbin/fix-info-dir -c %{_infodir}
88
89 %postun -p /sbin/postshell
90 -/usr/sbin/fix-info-dir -c %{_infodir}
91
92 %files
93 %defattr(644,root,root,755)
94 %doc AUTHORS ChangeLog NEWS README
95 %attr(755,root,root) %{_bindir}/enblend
96 %attr(755,root,root) %{_bindir}/enfuse
97 %{_mandir}/man1/enblend.1*
98 %{_mandir}/man1/enfuse.1*
99 %{_infodir}/enblend.info*
100 %{_infodir}/enfuse.info*
This page took 0.06202 seconds and 3 git commands to generate.