From f2a1f0a7348ab5e89b09a607b8838e7ea7ab36cd Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 19 Feb 2021 21:48:13 +0100 Subject: [PATCH] Initial import (#1929833) --- .gitignore | 1 + gdk-pixbuf2-xlib.spec | 68 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 70 insertions(+) create mode 100644 .gitignore create mode 100644 gdk-pixbuf2-xlib.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9d7a6b9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/gdk-pixbuf-xlib-2.40.2.tar.xz diff --git a/gdk-pixbuf2-xlib.spec b/gdk-pixbuf2-xlib.spec new file mode 100644 index 0000000..d0f59dc --- /dev/null +++ b/gdk-pixbuf2-xlib.spec @@ -0,0 +1,68 @@ +Name: gdk-pixbuf2-xlib +Version: 2.40.2 +Release: 2%{?dist} +Summary: Deprecated Xlib integration for gdk-pixbuf2 + +License: LGPLv2+ +URL: https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib +Source0: https://download.gnome.org/sources/gdk-pixbuf-xlib/2.40/gdk-pixbuf-xlib-%{version}.tar.xz + +BuildRequires: gcc +BuildRequires: gtk-doc +BuildRequires: meson +BuildRequires: pkgconfig(gdk-pixbuf-2.0) +BuildRequires: pkgconfig(x11) + +%description +gdk-pixbuf2-xlib contains the deprecated API for integrating gdk-pixbuf2 with +Xlib data types. + +This library was originally shipped by gdk-pixbuf2, and has +since been moved out of the original repository. + +No newly written code should ever use this library. + +If your existing code depends on gdk-pixbuf2-xlib, then you're strongly +encouraged to port away from it. + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%autosetup -p1 -n gdk-pixbuf-xlib-%{version} + + +%build +%meson -Dgtk_doc=true +%meson_build + + +%install +%meson_install + + +%files +%license COPYING +%doc README.md +%{_libdir}/libgdk_pixbuf_xlib-2.0.so.0* + +%files devel +%{_includedir}/gdk-pixbuf-2.0/ +%{_libdir}/libgdk_pixbuf_xlib-2.0.so +%{_libdir}/pkgconfig/gdk-pixbuf-xlib-2.0.pc +%{_datadir}/gtk-doc/ + + +%changelog +* Wed Feb 17 2021 Kalev Lember - 2.40.2-2 +- Use actual gdk-pixbuf2 package names in package description and summary + +* Wed Feb 17 2021 Kalev Lember - 2.40.2-1 +- Initial Fedora packaging, package split off from gdk-pixbuf2 diff --git a/sources b/sources new file mode 100644 index 0000000..009e17d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (gdk-pixbuf-xlib-2.40.2.tar.xz) = 246bcace03f4d7d694c4d08f28c7ad044cab63b5cf264b478ee1fe161499e7607c7ffeff93908f1f3b308e5108d78c4b51a3f90b79189d42a1a653c8edc53e37