Initial import (#1929833)

This commit is contained in:
Kalev Lember 2021-02-19 21:48:13 +01:00
parent 9f6c6a17e6
commit f2a1f0a734
3 changed files with 70 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/gdk-pixbuf-xlib-2.40.2.tar.xz

68
gdk-pixbuf2-xlib.spec Normal file
View File

@ -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 <klember@redhat.com> - 2.40.2-2
- Use actual gdk-pixbuf2 package names in package description and summary
* Wed Feb 17 2021 Kalev Lember <klember@redhat.com> - 2.40.2-1
- Initial Fedora packaging, package split off from gdk-pixbuf2

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (gdk-pixbuf-xlib-2.40.2.tar.xz) = 246bcace03f4d7d694c4d08f28c7ad044cab63b5cf264b478ee1fe161499e7607c7ffeff93908f1f3b308e5108d78c4b51a3f90b79189d42a1a653c8edc53e37