diff --git a/.files b/.files new file mode 100644 index 0000000..bcc5e3a Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..704f388 --- /dev/null +++ b/.meta @@ -0,0 +1,9 @@ + + A library for graphically rendering internationalized and tagged text in SDL2 + SDL2_Pango is a library for graphically rendering internationalized and tagged +text in SDL2 using TrueType fonts. SDL2_Pango is a port of SDL_Pango to SDL2. + + + + https://github.com/markuskimius/SDL2_Pango + diff --git a/.rev b/.rev new file mode 100644 index 0000000..e2166a7 --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ + + + 04a92d46ab8b7c856d85f901eb570c88 + 2.1.5 + + dimstar_suse + This is a library for graphically rendering internationalized and tagged text in SDL2. It will be needed by several apps (e.g. tuxpaint) when we switch to building them against SDL2 instead of SDL(1). + 1059422 + + diff --git a/SDL2_Pango-2.1.5.tar.gz b/SDL2_Pango-2.1.5.tar.gz new file mode 120000 index 0000000..ac57349 --- /dev/null +++ b/SDL2_Pango-2.1.5.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeicnspkpvyamfpmkwc2shgduibn2wnjhjf2j7bqam2z55ki6dvmtbm \ No newline at end of file diff --git a/SDL2_Pango.changes b/SDL2_Pango.changes new file mode 100644 index 0000000..62d25d9 --- /dev/null +++ b/SDL2_Pango.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Jan 18 10:39:45 UTC 2023 - Atri Bhattacharya + +- Initial package. diff --git a/SDL2_Pango.spec b/SDL2_Pango.spec new file mode 100644 index 0000000..2dbdf36 --- /dev/null +++ b/SDL2_Pango.spec @@ -0,0 +1,87 @@ +# +# spec file for package SDL2_Pango +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define sover 4 +%define shlib lib%{name}%{sover} +Name: SDL2_Pango +Version: 2.1.5 +Release: 0 +Summary: A library for graphically rendering internationalized and tagged text in SDL2 +License: LGPL-2.1-or-later +URL: https://github.com/markuskimius/SDL2_Pango +Source: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildRequires: pkgconfig +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(pango) >= 1.2.0 +BuildRequires: pkgconfig(sdl2) + +%description +SDL2_Pango is a library for graphically rendering internationalized and tagged +text in SDL2 using TrueType fonts. SDL2_Pango is a port of SDL_Pango to SDL2. + +%package -n %{shlib} +Summary: Shared library for SDL2_Pango + +%description -n %{shlib} +SDL2_Pango is a library for graphically rendering internationalized and tagged +text in SDL2 using TrueType fonts. SDL2_Pango is a port of SDL_Pango to SDL2. + +This package provides the shared library for SDL2_Pango. + +%package devel +Summary: Headers and sources for developing apps with SDL2_Pango +Requires: %{shlib} = %{version} +Requires: pkgconfig(freetype2) +Requires: pkgconfig(pango) +Requires: pkgconfig(sdl2) + +%description devel +SDL2_Pango is a library for graphically rendering internationalized and tagged +text in SDL2 using TrueType fonts. SDL2_Pango is a port of SDL_Pango to SDL2. + +This package provides the headers and sources for developing applications with +SDL2_Pango. + +%prep +%autosetup -p1 + +%build +%configure +%make_build + +%install +%make_install + +rm %{buildroot}%{_libdir}/libSDL2_Pango.a \ + %{buildroot}%{_libdir}/libSDL2_Pango.la + +%post -n %{shlib} -p /sbin/ldconfig +%postun -n %{shlib} -p /sbin/ldconfig + +%files -n %{shlib} +%license COPYING +%{_libdir}/lib*.so.* + +%files devel +%license COPYING +%doc AUTHORS ChangeLog README.md +%{_includedir}/SDL2_Pango.h +%{_libdir}/*.so +%{_libdir}/pkgconfig/SDL2_Pango.pc + +%changelog