From 3b35aca85cecaa94d267f94768eaa87c24f4bc1b6dd8e3d32dd3aaed0114a813 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 11 Mar 2014 07:11:50 +0000 Subject: [PATCH] formatted specfile for factory OBS-URL: https://build.opensuse.org/package/show/graphics/gmic?expand=0&rev=2 --- gmic.spec | 122 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 74 insertions(+), 48 deletions(-) diff --git a/gmic.spec b/gmic.spec index cbe7278..88721cb 100644 --- a/gmic.spec +++ b/gmic.spec @@ -1,58 +1,83 @@ -Name: gmic -Version: 1.5.8.4 -Release: 0 -Group: Productivity/Graphics/Bitmap Editors -URL: http://gmic.sourceforge.net/ -Packager: kurt@garloff.de -Source: %{name}_%{version}.tar.bz2 -Source1: http://gmic.sourceforge.net/gmic_reference.pdf -Patch1: gmic-cflags.diff -Patch2: gmic-docdir.diff -Patch3: gmic-overflow.diff -Patch10: gmic-x11opts.diff -Patch11: gmic-openmp.diff -Patch12: gmic-openmp-gcc43.diff -Patch15: gmic-opencv.diff -Patch16: gmic-opencv-old.diff -Patch17: gmic-magick.diff -Patch20: gmic-zart-qmake.diff -Patch21: gmic-make-zart.diff -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) -Prefix: /usr -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: procps -BuildRequires: fftw3-devel gcc-c++ libstdc++-devel dos2unix OpenEXR-devel -BuildRequires: libqt4-devel +# +# 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 +Url: http://gmic.sourceforge.net/ +Source: %{name}_%{version}.tar.bz2 +Source1: http://gmic.sourceforge.net/gmic_reference.pdf +Patch1: gmic-cflags.diff +Patch2: gmic-docdir.diff +Patch3: gmic-overflow.diff +Patch10: gmic-x11opts.diff +Patch11: gmic-openmp.diff +Patch12: gmic-openmp-gcc43.diff +Patch15: gmic-opencv.diff +Patch16: gmic-opencv-old.diff +Patch17: gmic-magick.diff +Patch20: gmic-zart-qmake.diff +Patch21: gmic-make-zart.diff +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: 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: 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 -BuildRequires: libtiff-devel +BuildRequires: libtiff-devel %endif %endif %endif %if 0%{?suse_version} == 1030 -BuildRequires: gimp-unstable-devel +BuildRequires: gimp-unstable-devel %else -BuildRequires: gimp-devel +BuildRequires: gimp-devel %endif %if 0%{?sles_version} == 11 -BuildRequires: glib2-branding-SLES +BuildRequires: glib2-branding-SLES %endif %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: @@ -93,13 +118,13 @@ Authors Team web page : http://www.greyc.ensicaen.fr/EquipeImage/ %package -n libgmic1 -Summary: Shared library that belongs to gmic -Group: Productivity/Graphics/Bitmap Editors +Summary: Shared library that belongs to gmic +Group: Productivity/Graphics/Bitmap Editors %package -n libgmic-devel -Summary: Header and library from gmic for use in other C++ projects -Group: Development/Libraries/C and C++ -Requires: libgmic1 = %{version} +Summary: Header and library from gmic for use in other C++ projects +Group: Development/Libraries/C and C++ +Requires: libgmic1 = %{version} %description -n libgmic1 Shared library allows you to use gmic functionality from other @@ -110,24 +135,24 @@ Header and library from gmic to needed to develop C++ code that uses the gmic functionality provided by the gmic library. %package gimp -Summary: GMIC plugin for gimp -Group: Productivity/Graphics/Bitmap Editors +Summary: GMIC plugin for gimp +Group: Productivity/Graphics/Bitmap Editors %description gimp This is a plugin for gimp that exposes many of the nice gmic features for interactive use in gimp. %package zart -Summary: Real-time web cam video stream manipulation -Group: Productivity/Graphics/Bitmap editors +Summary: Real-time web cam video stream manipulation +Group: Productivity/Graphics/Bitmap editors %description zart This program allows you to capture video from a web cam and apply (real time) gmic image manipulations on the video stream. %package doc -Summary: GMIC reference documentation -Group: Productivity/Graphics/Bitmap editors +Summary: GMIC reference documentation +Group: Productivity/Graphics/Bitmap editors %description doc This is the reference documentation for G'MIC in .pdf format. @@ -300,3 +325,4 @@ rm $RPM_BUILD_ROOT/%{_mandir}/fr/man1/gmic.1.gz #%dir %{_docdir}/gmic %doc gmic_reference.pdf +%changelog