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