update to 0.3.6 [release 0.3.6-1mamba;Sat Mar 19 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 04:21:58 +01:00
parent 8f926813f6
commit ba0ee68628

View File

@ -2,28 +2,26 @@
%define apiver %{majver}
Name: libgegl
Version: 0.2.0
Release: 3mamba
Version: 0.3.6
Release: 1mamba
Summary: GEGL (Generic Graphics Library) is a graph based image processing framework.
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://gegl.org/
Source: ftp://ftp.gimp.org/pub/gegl/%{majver}/gegl-%{version}.tar.bz2
Source: http://download.gimp.org/pub/gegl/%{majver}/gegl-%{version}.tar.bz2
Patch0: %{name}-0.1.8-fix_build.patch
Patch1: %{name}-0.1.8-ffmpeg.patch
Patch2: libgegl-0.2.0-liblua-5.2.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libavcodec-ffmpeg-devel
BuildRequires: libavformat-ffmpeg-devel
BuildRequires: libSDL-devel
BuildRequires: libbabl-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcroco-devel
BuildRequires: libdirectfb-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
@ -31,29 +29,36 @@ BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgomp-devel
BuildRequires: libgraphite2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libilmbase-devel
BuildRequires: libjasper-devel
BuildRequires: libjbig-devel
BuildRequires: libjpeg-devel
BuildRequires: libjson-glib-devel
BuildRequires: liblcms2-devel
BuildRequires: liblensfun-devel
BuildRequires: liblua-devel
BuildRequires: liblzma-devel
BuildRequires: libopenexr-devel
BuildRequires: libopenraw-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libraw-devel
BuildRequires: libreadline-devel
BuildRequires: librsvg-devel
BuildRequires: libSDL-devel
BuildRequires: libselinux-devel
BuildRequires: libspiro-devel
BuildRequires: libstdc++6-devel
BuildRequires: libswscale-ffmpeg-devel
BuildRequires: libts-devel
BuildRequires: libtermcap-devel
BuildRequires: libthai-devel
BuildRequires: libtiff-devel
BuildRequires: libv4l-devel
BuildRequires: libwebp-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: liblensfun-devel >= 0.3.2-1mamba
Requires: asciidoc
Requires: enscript
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -114,7 +119,7 @@ Obsoletes: %{name}-api
%setup -q -n gegl-%{version}
#%patch0 -p1
#%patch1 -p1
%patch2 -p1
#%patch2 -p1
# workaround for a libtool error
mkdir operations/workshop/external/lib
@ -126,9 +131,10 @@ mkdir operations/workshop/external/lib
--enable-gtk-doc \
--enable-workshop \
--enable-static \
--without-vala
--without-vala \
LDFLAGS="-ltermcap"
%make
%make -j1 ||%make -j1
#make check
%install
@ -151,46 +157,59 @@ install -d %{buildroot}%{_datadir}/pixmaps
#Categories=KDE;Graphics;
#EOF
%find_lang gegl-%{apiver}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%files -f gegl-%{apiver}.lang
%defattr(-,root,root)
%{_bindir}/gegl
%{_libdir}/*.so.*
#%{_datadir}/gir-1.0/Gegl-0.1.gir
%{_bindir}/gegl-*
%{_libdir}/libgegl-%{apiver}.so.*
%{_libdir}/girepository-1.0/Gegl-%{apiver}.typelib
%{_libdir}/gegl-%{apiver}/grey2.json
%dir %{_libdir}/gegl-%{apiver}
%{_libdir}/gegl-%{apiver}/*.a
%{_libdir}/gegl-%{apiver}/*.la
%{_libdir}/gegl-%{apiver}/*.so
%{_datadir}/locale/*/LC_MESSAGES/gegl-0.2.mo
%doc AUTHORS COPYING COPYING.LESSER
%files devel
%defattr(-,root,root)
%dir %{_includedir}/gegl-%{apiver}
%{_includedir}/gegl-%{apiver}/*.h
%dir %{_includedir}/gegl-%{apiver}/npd
%{_includedir}/gegl-%{apiver}/npd/*.h
%dir %{_includedir}/gegl-%{apiver}/opencl
%{_includedir}/gegl-%{apiver}/opencl/*.h
%dir %{_includedir}/gegl-%{apiver}/operation
%{_includedir}/gegl-%{apiver}/operation/*.h
%dir %{_includedir}/gegl-%{apiver}/sc
%{_includedir}/gegl-%{apiver}/sc/*.h
%dir %{_libdir}/gegl-%{apiver}
#%{_libdir}/girepository-1.0/Gegl-0.1.typelib
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/Gegl-%{apiver}.gir
%{_libdir}/libgegl-*%{apiver}.a
%{_libdir}/libgegl-*%{apiver}.la
%{_libdir}/libgegl-*%{apiver}.so
%{_libdir}/pkgconfig/gegl-*%{apiver}.pc
%doc ChangeLog NEWS README
%files apidocs
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/gegl/*.html
%{_datadir}/gtk-doc/html/gegl/gegl.css
%{_datadir}/gtk-doc/html/gegl/gegl.devhelp
%dir %{_datadir}/gtk-doc/html/gegl
%{_datadir}/gtk-doc/html/gegl/*
%changelog
* Sat Mar 19 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.6-1mamba
- update to 0.3.6
* Sat Mar 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-4mamba
- rebuilt by autoport with build requirements: liblensfun-devel>=0.3.2-1mamba
* Mon Feb 18 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.0-3mamba
- rebuilt with libsuitesparse 4.0.2