formatted specfile for factory

OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=2
This commit is contained in:
Marcus Meissner 2014-03-11 07:11:50 +00:00 committed by Git OBS Bridge
parent 8ba574cff5
commit 3b35aca85c

View File

@ -1,9 +1,25 @@
#
# spec file for package gmic
#
# Copyright (c) 2014 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gmic
Version: 1.5.8.4
Release: 0
Group: Productivity/Graphics/Bitmap Editors
URL: http://gmic.sourceforge.net/
Packager: kurt@garloff.de
Url: http://gmic.sourceforge.net/
Source: %{name}_%{version}.tar.bz2
Source1: http://gmic.sourceforge.net/gmic_reference.pdf
Patch1: gmic-cflags.diff
@ -21,19 +37,29 @@ Patch30: gmic-opt-parallel-make.diff
Patch31: gmic-unstrip.diff
Summary: GREYC's Magick for Image Computing (denoise and others)
License: CECILL v.2.0 (GPL compatible)
Group: Productivity/Graphics/Bitmap Editors
Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: procps
BuildRequires: fftw3-devel gcc-c++ libstdc++-devel dos2unix OpenEXR-devel
BuildRequires: OpenEXR-devel
BuildRequires: dos2unix
BuildRequires: fftw3-devel
BuildRequires: gcc-c++
BuildRequires: libqt4-devel
BuildRequires: libstdc++-devel
BuildRequires: procps
%if 0%{?suse_version} >= 1110
BuildRequires: libjpeg-devel libtiff-devel
BuildRequires: opencv-devel libjasper1
BuildRequires: fftw3-threads-devel
BuildRequires: libjasper1
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: opencv-devel
#BuildRequires: GraphicsMagick-devel
%else
%if 0%{?fedora_version} > 16
BuildRequires: libjpeg-devel libtiff-devel opencv-devel jasper-libs
BuildRequires: jasper-libs
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: opencv-devel
#BuildRequires: fftw-libs-threads
%else
%if 0%{?mandriva_version} > 0
@ -52,7 +78,6 @@ BuildRequires: glib2-branding-SLES
%define openSUSE_submit 1
%description
G'MIC is an open and full-featured framework for image processing, providing several different user interfaces to convert/manipulate/filter/visualize generic image datasets, from 1d scalar signals to 3d+t sequences of multi-spectral volumetric images. Technically speaking, what it does is:
@ -300,3 +325,4 @@ rm $RPM_BUILD_ROOT/%{_mandir}/fr/man1/gmic.1.gz
#%dir %{_docdir}/gmic
%doc gmic_reference.pdf
%changelog