SHA256
1
0
forked from pool/gegl

Accepting request 602141 from home:iznogood:branches:graphics

- Update to version 0.4.0:
  + GEGL 0.4.x is a stable release series of GEGL to have a stable
    API and ABI to go with GIMP-2.10. When the need arises to break
    API or ABI compatibility the 0.4.x series will get its own
    branch and unstable API experiments and development, 0.5.x will
    happen in master. For now though master will track the 0.4.x
    series.
  + Core: Change GeglParamSpecSeed from int to uint to match the
    value range of GeglRandom's seed.
  + Operations:
    - Ripple fixed remaining issues needed to remove legacy GIMP
      plug-in in GIMP.
    - Spherize, requrise transform and color-overlay moved out of
      workshop.
    - Ppm-load ported to GIO.
- Rename subpackages following upstreams soname bump.

OBS-URL: https://build.opensuse.org/request/show/602141
OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=59
This commit is contained in:
2018-04-27 23:27:10 +00:00
committed by Git OBS Bridge
parent eb1429c519
commit 1f7413911e
4 changed files with 62 additions and 42 deletions

View File

@@ -17,13 +17,13 @@
Name: gegl
Version: 0.3.34
Version: 0.4.0
Release: 0
Summary: Generic Graphics Library
License: GPL-3.0-or-later AND LGPL-3.0-or-later
Group: Productivity/Graphics/Other
URL: http://gegl.org/
Source0: https://download.gimp.org/pub/gegl/0.3/%{name}-%{version}.tar.bz2
Source0: https://download.gimp.org/pub/gegl/0.4/%{name}-%{version}.tar.bz2
BuildRequires: ImageMagick
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: enscript
@@ -69,9 +69,9 @@ BuildRequires: pkgconfig(vapigen) >= 0.20.0
# exists in Tumbleweed and we use it to build
Provides: %{name}-0_3-orig-addon = %{version}
Obsoletes: %{name}-0_3-orig-addon < 0.3.5
# Since 13/02/18 (version 0.3.28) gegl-unstable is obsolete, gegl is now on "0.3" branch.
# Since 13/02/18 (version 0.3.28) gegl-unstable is obsolete, gegl is now on "0.4" branch.
Provides: gegl-unstable = %{version}
Obsoletes: gegl-unstable < %{version}
Obsoletes: gegl-unstable < 0.3.28
%description
GEGL provides infrastructure to do demand based cached non destructive
@@ -79,34 +79,34 @@ image editing on larger than RAM buffers. Through babl, it provides
support for a wide range of color models and pixel storage formats for
input and output.
%package -n %{name}-0_3
%package -n %{name}-0_4
Summary: Generic Graphics Library
Group: System/Libraries
Recommends: %{name}-0_3-lang
Recommends: %{name}-0_4-lang
%description -n %{name}-0_3
%description -n %{name}-0_4
GEGL provides infrastructure to do demand based cached non destructive
image editing on larger than RAM buffers. Through babl, it provides
support for a wide range of color models and pixel storage formats for
input and output.
%package -n libgegl-0_3-0
%package -n libgegl-0_4-0
Summary: Generic Graphics Library
# The plugins are required for the lib to be usable
Group: System/Libraries
Requires: %{name}-0_3 >= %{version}
Requires: %{name}-0_4 >= %{version}
%description -n libgegl-0_3-0
%description -n libgegl-0_4-0
GEGL provides infrastructure to do demand based cached non destructive
image editing on larger than RAM buffers. Through babl, it provides
support for a wide range of color models and pixel storage formats for
input and output.
%package -n typelib-1_0-Gegl-0_3
%package -n typelib-1_0-Gegl-0_4
Summary: Introspection bindings for the GEGL "Generic Graphics Library"
Group: System/Libraries
%description -n typelib-1_0-Gegl-0_3
%description -n typelib-1_0-Gegl-0_4
GEGL provides infrastructure to do demand based cached non destructive
image editing on larger than RAM buffers. Through babl, it provides
support for a wide range of color models and pixel storage formats for
@@ -118,8 +118,8 @@ libgegl library.
%package devel
Summary: Development files for the GEGL "Generic Graphics Library"
Group: Development/Libraries/C and C++
Requires: libgegl-0_3-0 = %{version}
Requires: typelib-1_0-Gegl-0_3 = %{version}
Requires: libgegl-0_4-0 = %{version}
Requires: typelib-1_0-Gegl-0_4 = %{version}
%description devel
GEGL provides infratructure to do demand based cached non destructive
@@ -137,7 +137,7 @@ image editing on larger than RAM buffers. Through babl, it provides
support for a wide range of color models and pixel storage formats for
input and output.
%lang_package -n %{name}-0_3
%lang_package -n %{name}-0_4
%prep
%autosetup
@@ -151,49 +151,49 @@ make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}-0.3 %{?no_lang_C}
%find_lang %{name}-0.4 %{?no_lang_C}
%post -n gegl-0_3 -p /sbin/ldconfig
%postun -n gegl-0_3 -p /sbin/ldconfig
%post -n gegl-0_4 -p /sbin/ldconfig
%postun -n gegl-0_4 -p /sbin/ldconfig
%post -n libgegl-0_3-0 -p /sbin/ldconfig
%postun -n libgegl-0_3-0 -p /sbin/ldconfig
%post -n libgegl-0_4-0 -p /sbin/ldconfig
%postun -n libgegl-0_4-0 -p /sbin/ldconfig
%files
%{_bindir}/gegl
%{_bindir}/gegl-imgcmp
%{_bindir}/gcut
%files -n %{name}-0_3
%dir %{_libdir}/gegl-0.3/
%{_libdir}/gegl-0.3/*.so
# libgegl-sc-0.3.so is a support library for the seamless-clone module
%{_libdir}/libgegl-sc-0.3.so
%{_libdir}/libgegl-npd-0.3.so
%{_libdir}/gegl-0.3/grey2.json
%files -n %{name}-0_4
%dir %{_libdir}/gegl-0.4/
%{_libdir}/gegl-0.4/*.so
# libgegl-sc-0.4.so is a support library for the seamless-clone module
%{_libdir}/libgegl-sc-0.4.so
%{_libdir}/libgegl-npd-0.4.so
%{_libdir}/gegl-0.4/grey2.json
%files -n libgegl-0_3-0
%files -n libgegl-0_4-0
%license COPYING COPYING.LESSER
%{_libdir}/libgegl-0.3.so.*
%{_libdir}/libgegl-0.4.so.*
%files -n typelib-1_0-Gegl-0_3
%{_libdir}/girepository-1.0/Gegl-0.3.typelib
%files -n typelib-1_0-Gegl-0_4
%{_libdir}/girepository-1.0/Gegl-0.4.typelib
%files devel
%{_includedir}/gegl-0.3/
%{_libdir}/libgegl-0.3.so
%{_libdir}/pkgconfig/gegl-0.3.pc
%{_libdir}/pkgconfig/gegl-sc-0.3.pc
%{_datadir}/gir-1.0/Gegl-0.3.gir
%{_includedir}/gegl-0.4/
%{_libdir}/libgegl-0.4.so
%{_libdir}/pkgconfig/gegl-0.4.pc
%{_libdir}/pkgconfig/gegl-sc-0.4.pc
%{_datadir}/gir-1.0/Gegl-0.4.gir
%dir %{_datadir}/vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/gegl-0.3.deps
%{_datadir}/vala/vapi/gegl-0.3.vapi
%{_datadir}/vala/vapi/gegl-0.4.deps
%{_datadir}/vala/vapi/gegl-0.4.vapi
%files doc
%doc AUTHORS ChangeLog NEWS
%doc %{_datadir}/gtk-doc/html/gegl/
%files -n %{name}-0_3-lang -f %{name}-0.3.lang
%files -n %{name}-0_4-lang -f %{name}-0.4.lang
%changelog