Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
|
4f8b2c6a1e | |
|
b7f890d132 | |
|
0373bde871 |
42
hugin.spec
42
hugin.spec
|
@ -1,8 +1,8 @@
|
|||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
||||
Summary: A panoramic photo stitcher and more
|
||||
Name: hugin
|
||||
Version: 2012.0.0
|
||||
Release: 10%{?dist}
|
||||
Version: 2013.0.0
|
||||
Release: 6%{?dist}
|
||||
License: GPLv2+
|
||||
Group: Applications/Multimedia
|
||||
Source: http://downloads.sourceforge.net/hugin/%{name}-%{version}.tar.bz2
|
||||
|
@ -15,16 +15,11 @@ BuildRequires: libpano13-devel >= 2.9.18 zlib-devel libtiff-devel libjpeg-devel
|
|||
BuildRequires: libpng-devel gettext-devel wxGTK-devel >= 2.7.0 boost-devel freeglut-devel
|
||||
BuildRequires: cmake desktop-file-utils OpenEXR-devel exiv2-devel glew-devel
|
||||
BuildRequires: tclap-devel python-devel swig flann-devel lensfun-devel
|
||||
%{?fedora:BuildRequires: mesa-libGLU-devel libXmu-devel}
|
||||
%{?rhel:BuildRequires: xorg-x11-devel}
|
||||
BuildRequires: mesa-libGLU-devel libXmu-devel
|
||||
%if 0%{?fedora} >= 19
|
||||
BuildRequires: perl-podlators
|
||||
%endif
|
||||
|
||||
# upstream patch to fix pod encoding issue(s)
|
||||
# http://bugzilla.redhat.com/991875
|
||||
Patch1: hugin-r6301.patch
|
||||
|
||||
%description
|
||||
hugin can be used to stitch multiple images together. The resulting image can
|
||||
span 360 degrees. Another common use is the creation of very high resolution
|
||||
|
@ -46,11 +41,11 @@ without a GUI environment.
|
|||
%prep
|
||||
%setup -q
|
||||
|
||||
%patch1 -p1 -b .r6301
|
||||
|
||||
%build
|
||||
%cmake . -DBUILD_HSI=1
|
||||
make VERBOSE=1 %{?_smp_mflags}
|
||||
# backported fix from 2014.0 pre-release
|
||||
sed -i 's/Exec=hugin/Exec=hugin %%f/' src/hugin1/hugin/hugin.desktop
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
@ -139,6 +134,9 @@ touch --no-create %{_datadir}/icons/gnome || :
|
|||
%{_bindir}/cpfind
|
||||
%{_bindir}/linefind
|
||||
%{_bindir}/pto_gen
|
||||
%{_bindir}/pto_lensstack
|
||||
%{_bindir}/pto_var
|
||||
%{_bindir}/geocpset
|
||||
|
||||
%{_libdir}/%{name}/libhuginbase.so*
|
||||
%{_libdir}/%{name}/libhuginvigraimpex.so*
|
||||
|
@ -172,8 +170,32 @@ touch --no-create %{_datadir}/icons/gnome || :
|
|||
%{_mandir}/man1/cpfind.*
|
||||
%{_mandir}/man1/linefind.*
|
||||
%{_mandir}/man1/pto_gen.*
|
||||
%{_mandir}/man1/pto_lensstack.*
|
||||
%{_mandir}/man1/pto_var.*
|
||||
%{_mandir}/man1/geocpset.*
|
||||
|
||||
%changelog
|
||||
* Wed Jun 04 2014 Bruno Postle <bruno@postle.net> - 2013.0.0-6
|
||||
- rebuild (boost)
|
||||
|
||||
* Sun Dec 15 2013 Bruno Postle <bruno@postle.net> - 2013.0.0-5
|
||||
- fix to re-enable .pto file association
|
||||
|
||||
* Tue Dec 03 2013 Rex Dieter <rdieter@fedoraproject.org> - 2013.0.0-4
|
||||
- rebuild (exiv2)
|
||||
|
||||
* Wed Nov 27 2013 Rex Dieter <rdieter@fedoraproject.org> - 2013.0.0-3
|
||||
- rebuild (openexr)
|
||||
|
||||
* Mon Nov 18 2013 Dave Airlie <airlied@redhat.com> - 2013.0.0-2
|
||||
- rebuilt for GLEW 1.10
|
||||
|
||||
* Thu Oct 31 2013 Bruno Postle <bruno@postle.net> - 2013.0.0-1
|
||||
- upstream stable release
|
||||
|
||||
* Sun Sep 08 2013 Rex Dieter <rdieter@fedoraproject.org> 2012.0.0-11
|
||||
- rebuild (openexr)
|
||||
|
||||
* Mon Aug 26 2013 Rex Dieter <rdieter@fedoraproject.org> 2012.0.0-10
|
||||
- fix FTBFS wrt perl pod encoding issue(s) (#991875)
|
||||
|
||||
|
|
Loading…
Reference in New Issue