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