SHA256
1
0
forked from pool/hugin
hugin/hugin.spec

192 lines
5.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package hugin (Version 0.6.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: hugin
BuildRequires: SDL-devel boost-devel fftw-devel gcc-c++ gnome-icon-theme libpano-devel libxml2 python-wxGTK update-desktop-files vigra wxGTK-devel zip
License: Artistic License, GNU General Public License (GPL)
Group: Productivity/Graphics/Bitmap Editors
Autoreqprov: on
Summary: Front-End for Panorama Tools
Version: 0.6.1
Release: 39
Source: %{name}-%{version}.tar.bz2
Patch2: hugin-fftw.patch
Patch4: hugin-jpe.patch
Patch5: hugin-mime-fix.patch
Patch6: hugin-no-mono-autorun.patch
Patch64: hugin-lib64.patch
Patch11: hugin-0.5-autoconf.diff
URL: http://hugin.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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 pictures by combining multiple images.
Authors:
--------
Pablo d'Angelo <pablo.dangelo@web.de>
Alexandre Jenny
Kai-Uwe Behrmann <ku.b@gmx.de>
Bruno Postle
Helmut Dersch
Ben Allfree
Stan Birchfield
Lyndon Hill
%prep
%setup -q
%patch2
%patch4
%patch5
%patch6
%if %_lib == lib64
%patch64
%endif
%patch11
# Rename Spanish Catalan to Catalan.
mv src/hugin/po/ca_ES.po src/hugin/po/ca.po
sed -i s/ca_ES/ca/ src/hugin/po/LINGUAS
%build
./bootstrap
# Needed for hugin-0.6.1:
export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
--with-unicode=yes
make %{?jobs:-j%jobs}
%install
%makeinstall
%suse_update_desktop_file %{name} Graphics 2DGraphics
# locales
%{find_lang} %{name}
%{find_lang} nona_gui %{name}.lang
%clean
rm -rf $RPM_BUILD_ROOT
%post
if test -x usr/bin/update-mime-database ; then
usr/bin/update-mime-database usr/share/mime >/dev/null
fi
%postun
if test -x usr/bin/update-mime-database ; then
usr/bin/update-mime-database usr/share/mime >/dev/null
fi
%files -f %{name}.lang
%defattr(-,root,root)
%doc BUGS AUTHORS COPYING HACKING LICENCE LICENCE_JHEAD LICENCE_VIGRA README TODO
%{_bindir}/*
%{_datadir}/hugin
%{_datadir}/applications/hugin.desktop
# FIXME: Own directories to not depend on gnome-icon-theme
%{_datadir}/icons/*
#%{_datadir}/icons/gnome/48x48/mimetypes/*.png
%{_datadir}/mime/packages/*.xml
%{_datadir}/pixmaps/*.png
%doc %{_mandir}/man?/*
%changelog -n hugin
* Tue Jan 30 2007 - sbrabec@suse.cz
- Removed references to /opt/gnome.
* Fri Jan 26 2007 - ro@suse.de
- accept gettext 0.16 ...
* Sat Oct 21 2006 - schwab@suse.de
- Fix bogus version check.
* Wed Aug 23 2006 - postadal@suse.cz
- updated to version 0.6.1
* suport for HDR file (log or gamma mapping)
* reduced memory usage, better image caching strategy
* fixed crashes and hangs when using the preview auto update
* vignetting correction estimation speed up
* projection can be changed in preview
* Thu Aug 17 2006 - postadal@suse.cz
- updated to version 0.6
* copy ICC profiles from input images to output
* added vignetting correction and brighness correction during stitching
by addition or division with a flatfield image or an radial polynomial
* estimate the vignetting polynomial directly from the overlapping images
(experimental)
* multithreaded remapping for hugin and nona
* support for dcraw 16 bit .ppm files
* disabled PTOptimizer progress display on OSX
* added tool fulla (see man pages), for distortion, TCA and vignetting
correction (can use old version PTLens database)
* added Czech translation
- removed obsoleted patches: hugin-xqual.patch, filedialog-close-crash.patch
- added zip to Buildrequires
* Mon Aug 07 2006 - cthiel@suse.de
- fix build
* Tue Jul 04 2006 - cthiel@suse.de
- fix build
* Mon Mar 20 2006 - sbrabec@suse.cz
- Fixed add images close dialog crash (#156487).
* Thu Mar 09 2006 - bk@suse.de
- Use explicit gcc-c++ in BuildRequires (was implicit by SDL-devel)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 19 2006 - sbrabec@suse.cz
- Removed obsolete pywxrc patch (#143258).
* Thu Jan 12 2006 - sbrabec@suse.cz
- Updated to version 0.5.
* Tue Nov 08 2005 - ro@suse.de
- remove some extra qualifications to fix build with gcc-4.1
* Tue Oct 25 2005 - yxu@suse.de
- fixed missing part of function
* Thu Sep 22 2005 - sbrabec@suse.cz
- Updated to version 0.5-rc2.
* Wed Aug 17 2005 - sbrabec@suse.cz
- Work without binfmt mono bindings (#93498).
* Fri Aug 05 2005 - sbrabec@suse.cz
- Updated to version 0.5.cvs050602.
* Thu Jul 21 2005 - nadvornik@suse.cz
- added libpano-devel to nfb
* Wed May 25 2005 - mcihar@suse.cz
- fix build on lib64 systems
* Fri May 20 2005 - mcihar@suse.cz
- update to 0.5-rc1
* Mon Apr 18 2005 - mcihar@suse.de
- add missing build dependencies on SDL (due to wxGTK)
* Thu Apr 14 2005 - mcihar@suse.cz
- cvs update
- fix compilation
* Thu Feb 17 2005 - mcihar@suse.cz
- cvs update
* Fri Feb 04 2005 - mcihar@suse.cz
- cvs update
* Tue Jan 04 2005 - mcihar@suse.cz
- fix build on lib64 arches
* Wed Dec 22 2004 - mcihar@suse.cz
- cvs update and patches reorganisation
* Mon Nov 22 2004 - ro@suse.de
- fix build with current wxGTK
* Thu Sep 30 2004 - mcihar@suse.cz
- removed also SIFT header files and license from tarball (bug #46504)
* Tue Sep 21 2004 - mskibbe@suse.de
- change desktopfile
* Wed Aug 11 2004 - mcihar@suse.cz
- removed keypoints, since it uses patented SIFT code
- fixed compilation on x86_64
- reorganised patches
- no more patching for wx-config, use wrapper instead
* Mon Aug 02 2004 - mcihar@suse.cz
- update to latest released snapshot
- make nona default stitcher as we can not ship PTStitcher
* Fri Jul 30 2004 - mcihar@suse.cz
- initial packaging