SHA256
1
0
forked from pool/hugin
OBS User unknown 2008-08-02 02:04:50 +00:00 committed by Git OBS Bridge
parent d56822274d
commit f33b366aca
5 changed files with 75 additions and 23 deletions

View File

@ -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 <<EOF
case "$*" in
"info $RPM_BUILD_DIR/hugin" )
cat <<EOF
Path: .
URL: https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk
Repository Root: https://hugin.svn.sourceforge.net/svnroot/hugin
Repository UUID: 2038758d-bd2d-0410-8553-d98df698c6e5
Revision: ${RPM_PACKAGE_VERSION##*.}
Node Kind: directory
Schedule: normal
Last Changed Author: svn-dummy-unknown
Last Changed Rev: ${RPM_PACKAGE_VERSION##*.}
Last Changed Date: svn-dummy-unknown
EOF
;;
"log --non-interactive -r BASE $RPM_BUILD_DIR/hugin" )
cat <<EOF
---------------------------------------------------------------------------
r${RPM_PACKAGE_VERSION##*.} | unknown | xxxx-xx-xx xx:xx:xx +0000 | ? lines
r${RPM_PACKAGE_VERSION##*.} | unknown | svn-dummy- un:kn:ow +n000 | ? lines
This is a fake svn log.
svn-dummy-unknown
---------------------------------------------------------------------------
EOF
else
exec /usr/bin/svn "$@"
fi
;;
--version )
cat <<EOF
svn, version 0.7.0 (r?????)
svn-dummy-unknown
EOF
;;
* )
exec /usr/bin/svn "$@"
;;
esac

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e2055f0a86c4b09434a83923a2622684ce824cdfab19cea10181f924cc2a1453
size 6746328

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12b8ec9480af0118b8e415d7865cdb25c5a799fa251dcbe72e4b66ea20ec8ec8
size 6590831

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jul 28 16:52:39 CEST 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 17:31:32 CEST 2008 - sbrabec@suse.cz

View File

@ -1,5 +1,5 @@
#
# spec file for package hugin (Version 0.7.0.3032)
# spec file for package hugin (Version 0.7.0.3238)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -12,13 +12,18 @@
Name: hugin
BuildRequires: OpenEXR-devel SDL-devel boost-devel cmake fdupes fftw-devel gcc-c++ libexiv2-devel libpano-devel libxml2 licenses python-wxGTK subversion update-desktop-files vigra wxGTK-devel zip
BuildRequires: OpenEXR-devel SDL-devel boost-devel cmake fftw-devel gcc-c++ libexiv2-devel libpano-devel libxml2 python-wxGTK update-desktop-files vigra wxGTK-devel zip
%if %suse_version > 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 <pablo.dangelo@web.de>
Alexandre Jenny
Kai-Uwe Behrmann <ku.b@gmx.de>
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).