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

122
gmic.spec
View File

@ -1,58 +1,83 @@
Name: gmic #
Version: 1.5.8.4 # spec file for package gmic
Release: 0 #
Group: Productivity/Graphics/Bitmap Editors # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
URL: http://gmic.sourceforge.net/ #
Packager: kurt@garloff.de # All modifications and additions to the file contributed by third parties
Source: %{name}_%{version}.tar.bz2 # remain the property of their copyright owners, unless otherwise agreed
Source1: http://gmic.sourceforge.net/gmic_reference.pdf # upon. The license for this file, and modifications and additions to the
Patch1: gmic-cflags.diff # file, is the same license as for the pristine package itself (unless the
Patch2: gmic-docdir.diff # license for the pristine package is not an Open Source License, in which
Patch3: gmic-overflow.diff # case the license is the MIT License). An "Open Source License" is a
Patch10: gmic-x11opts.diff # license that conforms to the Open Source Definition (Version 1.9)
Patch11: gmic-openmp.diff # published by the Open Source Initiative.
Patch12: gmic-openmp-gcc43.diff
Patch15: gmic-opencv.diff # Please submit bugfixes or comments via http://bugs.opensuse.org/
Patch16: gmic-opencv-old.diff #
Patch17: gmic-magick.diff
Patch20: gmic-zart-qmake.diff
Patch21: gmic-make-zart.diff Name: gmic
Patch30: gmic-opt-parallel-make.diff Version: 1.5.8.4
Patch31: gmic-unstrip.diff Release: 0
Summary: GREYC's Magick for Image Computing (denoise and others) Url: http://gmic.sourceforge.net/
License: CECILL v.2.0 (GPL compatible) Source: %{name}_%{version}.tar.bz2
Prefix: /usr Source1: http://gmic.sourceforge.net/gmic_reference.pdf
BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch1: gmic-cflags.diff
BuildRequires: procps Patch2: gmic-docdir.diff
BuildRequires: fftw3-devel gcc-c++ libstdc++-devel dos2unix OpenEXR-devel Patch3: gmic-overflow.diff
BuildRequires: libqt4-devel 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 %if 0%{?suse_version} >= 1110
BuildRequires: libjpeg-devel libtiff-devel BuildRequires: fftw3-threads-devel
BuildRequires: opencv-devel libjasper1 BuildRequires: libjasper1
BuildRequires: fftw3-threads-devel BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: opencv-devel
#BuildRequires: GraphicsMagick-devel #BuildRequires: GraphicsMagick-devel
%else %else
%if 0%{?fedora_version} > 16 %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 #BuildRequires: fftw-libs-threads
%else %else
%if 0%{?mandriva_version} > 0 %if 0%{?mandriva_version} > 0
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
%endif %endif
%endif %endif
%endif %endif
%if 0%{?suse_version} == 1030 %if 0%{?suse_version} == 1030
BuildRequires: gimp-unstable-devel BuildRequires: gimp-unstable-devel
%else %else
BuildRequires: gimp-devel BuildRequires: gimp-devel
%endif %endif
%if 0%{?sles_version} == 11 %if 0%{?sles_version} == 11
BuildRequires: glib2-branding-SLES BuildRequires: glib2-branding-SLES
%endif %endif
%define openSUSE_submit 1 %define openSUSE_submit 1
%description %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: 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/ Team web page : http://www.greyc.ensicaen.fr/EquipeImage/
%package -n libgmic1 %package -n libgmic1
Summary: Shared library that belongs to gmic Summary: Shared library that belongs to gmic
Group: Productivity/Graphics/Bitmap Editors Group: Productivity/Graphics/Bitmap Editors
%package -n libgmic-devel %package -n libgmic-devel
Summary: Header and library from gmic for use in other C++ projects Summary: Header and library from gmic for use in other C++ projects
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libgmic1 = %{version} Requires: libgmic1 = %{version}
%description -n libgmic1 %description -n libgmic1
Shared library allows you to use gmic functionality from other 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. uses the gmic functionality provided by the gmic library.
%package gimp %package gimp
Summary: GMIC plugin for gimp Summary: GMIC plugin for gimp
Group: Productivity/Graphics/Bitmap Editors Group: Productivity/Graphics/Bitmap Editors
%description gimp %description gimp
This is a plugin for gimp that exposes many of the nice gmic features This is a plugin for gimp that exposes many of the nice gmic features
for interactive use in gimp. for interactive use in gimp.
%package zart %package zart
Summary: Real-time web cam video stream manipulation Summary: Real-time web cam video stream manipulation
Group: Productivity/Graphics/Bitmap editors Group: Productivity/Graphics/Bitmap editors
%description zart %description zart
This program allows you to capture video from a web cam and apply This program allows you to capture video from a web cam and apply
(real time) gmic image manipulations on the video stream. (real time) gmic image manipulations on the video stream.
%package doc %package doc
Summary: GMIC reference documentation Summary: GMIC reference documentation
Group: Productivity/Graphics/Bitmap editors Group: Productivity/Graphics/Bitmap editors
%description doc %description doc
This is the reference documentation for G'MIC in .pdf format. 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 #%dir %{_docdir}/gmic
%doc gmic_reference.pdf %doc gmic_reference.pdf
%changelog