SHA256
1
0
forked from pool/hugin

Accepting request 64704 from home:coolo:nolicenses

OBS-URL: https://build.opensuse.org/request/show/64704
OBS-URL: https://build.opensuse.org/package/show/graphics/hugin?expand=0&rev=14
This commit is contained in:
Adrian Schröter 2011-03-21 20:08:04 +00:00 committed by Git OBS Bridge
parent 49e55b60f9
commit 853d06f740
2 changed files with 12 additions and 14 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 21 16:51:59 UTC 2011 - coolo@novell.com
- licenses package is about to die
-------------------------------------------------------------------
Tue Dec 28 17:18:26 CET 2010 - sbrabec@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package hugin (Version 2010.0.0)
# spec file for package hugin
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -21,19 +21,18 @@
Name: hugin
BuildRequires: OpenEXR-devel SDL-devel boost-devel cmake fftw3-devel freeglut-devel gcc-c++ glew-devel libexiv2-devel libpano-devel libxml2 update-desktop-files vigra zip
%if %suse_version > 1130
BuildRequires: wxWidgets-devel python-wxWidgets
BuildRequires: python-wxWidgets wxWidgets-devel
%else
BuildRequires: wxGTK-devel python-wxGTK
BuildRequires: python-wxGTK wxGTK-devel
%endif
%if %suse_version > 1020
BuildRequires: fdupes licenses
Requires: licenses
BuildRequires: fdupes
%endif
License: GPLv2+
Group: Productivity/Graphics/Other
Summary: Toolchain for Stitching of Images and Creating Panoramas
Version: 2010.0.0
Release: 3
Release: 6
Source: %{name}-%{version}.tar.bz2
# For SVN snapshot:
# svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk hugin
@ -42,7 +41,7 @@ Source1: %{name}-svn-dummy
Patch0: hugin-libpng14.patch
Url: http://hugin.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: licenses make
Requires: make
# Optional package, if missing, it could cause unexpected errors:
Requires: enblend-enfuse >= 3.2
# Optional third party package:
@ -115,12 +114,6 @@ make %{?jobs:-j%jobs}
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/ .*//')
if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE
fi
done
%endif
%clean