From 10968898528c6e02640044ecf42a6e4e1c6735f6 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Tue, 4 Oct 2022 10:25:02 +0200 Subject: [PATCH] initial package creation Signed-off-by: Toshaan Bharvani --- SOURCES/.gitkeeper | 0 SPECS/gdk-pixbuf2-xlib.spec | 75 +++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 SOURCES/.gitkeeper create mode 100644 SPECS/gdk-pixbuf2-xlib.spec diff --git a/SOURCES/.gitkeeper b/SOURCES/.gitkeeper new file mode 100644 index 0000000..e69de29 diff --git a/SPECS/gdk-pixbuf2-xlib.spec b/SPECS/gdk-pixbuf2-xlib.spec new file mode 100644 index 0000000..1d694cf --- /dev/null +++ b/SPECS/gdk-pixbuf2-xlib.spec @@ -0,0 +1,75 @@ +Name: gdk-pixbuf2-xlib +Version: 2.40.2 +Release: 4%{?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 +* Mon Aug 09 2021 Mohan Boddu - 2.40.2-4 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Thu Apr 15 2021 Mohan Boddu - 2.40.2-3 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* 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