diff --git a/hugin-svn-dummy b/hugin-svn-dummy index 2d36642..b224b77 100644 --- a/hugin-svn-dummy +++ b/hugin-svn-dummy @@ -1,15 +1,38 @@ #!/bin/bash # This is a dummy SVN command, which allows to build the package without network access. -if test "$*" = "log --non-interactive -r BASE $RPM_BUILD_DIR/hugin" ; then - cat < 1020 +BuildRequires: fdupes licenses +Requires: licenses +%endif License: GPL v2 or later -Group: Productivity/Graphics/Bitmap Editors -Summary: Front-End for Panorama Tools -Version: 0.7.0.3032 -Release: 3 -Source: %{name}-svn20080422.tar.bz2 +Group: Productivity/Graphics/Other +Summary: Toolchain for Stitching of Images and Creating Panoramas +Version: 0.7.0.3238 +Release: 1 +# svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk hugin +Source: %{name}-svn20080728.tar.bz2 Source1: %{name}-svn-dummy Url: http://hugin.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -29,22 +34,29 @@ Requires: enblend > 3.0.99 Recommends: autopano-sift exiftool %description -hugin can be used to stitch multiple images together. The resulting +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. +Other tools in this package can correct lens distortion, vignetting and +chromatic abberation, create HDR images, provide automatic feature +detection and extraction of key points. + Authors: -------- Pablo d'Angelo - Alexandre Jenny Kai-Uwe Behrmann + Douglas Wilkins + Ed Halley + Ippei Ukai Bruno Postle - Helmut Dersch - Ben Allfree - Stan Birchfield - Lyndon Hill + Alexandre Jenny + Ziv Yaniv + John Navas + Luca Vascon + Fabian Wetzel %prep %setup -q -n %{name} @@ -78,6 +90,7 @@ make %{?jobs:-j%jobs} %{find_lang} %{name} # Use better place for MIME icons. mv $RPM_BUILD_ROOT%{_datadir}/icons/gnome $RPM_BUILD_ROOT%{_datadir}/icons/hicolor +%if %suse_version > 1020 %fdupes $RPM_BUILD_ROOT%{_datadir} for FILE in COPYING LICENCE LICENCE_JHEAD LICENCE_VIGRA ; do MD5SUM=$(md5sum $FILE | sed 's/ .*//') @@ -85,16 +98,19 @@ for FILE in COPYING LICENCE LICENCE_JHEAD LICENCE_VIGRA ; do ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE fi done +%endif %clean rm -rf $RPM_BUILD_ROOT %post +/sbin/ldconfig if test -x usr/bin/update-mime-database ; then usr/bin/update-mime-database usr/share/mime >/dev/null fi %postun +/sbin/ldconfig if test -x usr/bin/update-mime-database ; then usr/bin/update-mime-database usr/share/mime >/dev/null fi @@ -113,6 +129,11 @@ fi %doc %{_mandir}/man?/* %changelog +* Mon Jul 28 2008 sbrabec@suse.cz +- Updated to SVN snapshot 0.7.0.3238: + * Bug fixes and improvements (enfuse, HDR images and other). + * Documentation and translation update. +- Improved dummy svn script to allow compilation with old svn. * Thu Apr 24 2008 sbrabec@suse.cz - Added dummy svn command to prevent build failure if svn log fails (network is not available).