From 9bc081956fe3d42542ba55f07cb4d3abe99f335f215eaea320418b98e59cc1f0 Mon Sep 17 00:00:00 2001 From: Luciano Santos Date: Tue, 12 Sep 2023 01:42:43 +0000 Subject: [PATCH] Accepting request 1109783 from GNOME:Next Needed for gedit now OBS-URL: https://build.opensuse.org/request/show/1109783 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgedit-amtk?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + _service | 19 ++++++ libgedit-amtk-5.8.0.obscpio | 3 + libgedit-amtk.changes | 4 ++ libgedit-amtk.obsinfo | 4 ++ libgedit-amtk.spec | 115 ++++++++++++++++++++++++++++++++++++ 7 files changed, 169 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 libgedit-amtk-5.8.0.obscpio create mode 100644 libgedit-amtk.changes create mode 100644 libgedit-amtk.obsinfo create mode 100644 libgedit-amtk.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..e9bc516 --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + git + https://github.com/gedit-technology/libgedit-amtk.git + refs/tags/5.8.0 + @PARENT_TAG@+@TAG_OFFSET@ + (.*)\+0 + \1 + + + + + *.tar + xz + + + + diff --git a/libgedit-amtk-5.8.0.obscpio b/libgedit-amtk-5.8.0.obscpio new file mode 100644 index 0000000..8ea4641 --- /dev/null +++ b/libgedit-amtk-5.8.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca9bad6bb04b8cef09c8df68675a2810f9ca21e54437585c4389c24cbb3dad49 +size 381451 diff --git a/libgedit-amtk.changes b/libgedit-amtk.changes new file mode 100644 index 0000000..6212a62 --- /dev/null +++ b/libgedit-amtk.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sun Aug 13 14:29:00 UTC 2023 - Bjørn Lie + +- Initial packaging for openSUSE. diff --git a/libgedit-amtk.obsinfo b/libgedit-amtk.obsinfo new file mode 100644 index 0000000..675c7d2 --- /dev/null +++ b/libgedit-amtk.obsinfo @@ -0,0 +1,4 @@ +name: libgedit-amtk +version: 5.8.0 +mtime: 1690293600 +commit: f6fbfd1c57de3d97cab2056a5c3088b0da49e8a4 diff --git a/libgedit-amtk.spec b/libgedit-amtk.spec new file mode 100644 index 0000000..7771e5a --- /dev/null +++ b/libgedit-amtk.spec @@ -0,0 +1,115 @@ +# +# spec file for package libgedit-amtk +# +# 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 api_ver 5 + +Name: libgedit-amtk +Version: 5.8.0 +Release: 0 +Summary: An Actions, Menus and Toolbars Kit +License: LGPL-3.0-or-later +URL: https://gedit-technology.net +Source: %name-%version.tar.xz +BuildRequires: gtk-doc >= 1.25 +BuildRequires: meson +BuildRequires: pkgconfig +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gtk+-3.0) + +%description +“Actions, Menus and Toolbars Kit” or just AMTK is a basic +GtkUIManager replacement based on GAction, suitable for +both a traditional UI or a modern UI with a GtkHeaderBar. + +%package -n libgedit-amtk-%{api_ver}-0 +Summary: Shared Library for AMTK +# Make the lang package installable +Group: System/Libraries +Provides: %{name}-%{api_ver} = %{version} + +%description -n libgedit-amtk-%{api_ver}-0 +“Actions, Menus and Toolbars Kit” or just AMTK is a basic +GtkUIManager replacement based on GAction, suitable for +both a traditional UI or a modern UI with a GtkHeaderBar. + +This package provides the AMTK Shared Library + +%package -n typelib-1_0-Amtk-%{api_ver} +Summary: GObject Introspection Bindings for AMTK +Group: System/Libraries +Provides: typelib-1_0-Amtk-5 = %{version} + +%description -n typelib-1_0-Amtk-%{api_ver} +“Actions, Menus and Toolbars Kit” or just AMTK is a basic +GtkUIManager replacement based on GAction, suitable for +both a traditional UI or a modern UI with a GtkHeaderBar. + +This package provides the GObject Introspection Bindings for AMTK. + +%package devel +Summary: Development files for Tepl, a text editor framework +Group: Development/Libraries/GNOME +Requires: libgedit-amtk-%{api_ver}-0 = %{version} +Requires: typelib-1_0-Amtk-%{api_ver} = %{version} + +%description devel +“Actions, Menus and Toolbars Kit” or just AMTK is a basic +GtkUIManager replacement based on GAction, suitable for +both a traditional UI or a modern UI with a GtkHeaderBar. + +This package provides all the necessary files for development +with AMTK. + +%lang_package -n %{name}-%{api_ver} + +%prep +%autosetup -p1 + +%build +%meson \ + -Dgtk_doc=true +%meson_build + +%install +%meson_install +%find_lang %{name}-%{api_ver} + +%ldconfig_scriptlets -n libgedit-amtk-%{api_ver}-0 + +%check +%meson_test + +%files -n libgedit-amtk-%{api_ver}-0 +%license LICENSES/* +%{_libdir}/%{name}-%{api_ver}.so.* + +%files -n typelib-1_0-Amtk-%{api_ver} +%{_libdir}/girepository-1.0/Amtk-%{api_ver}.typelib + +%files devel +%doc README.md NEWS +%doc %{_datadir}/gtk-doc/html/%{name}-%{api_ver} +%{_datadir}/gir-1.0/Amtk-%{api_ver}.gir +%{_includedir}/%{name}-%{api_ver}/ +%{_libdir}/pkgconfig/%{name}-%{api_ver}.pc +%{_libdir}/%{name}-%{api_ver}.so + +%files -n %{name}-%{api_ver}-lang -f %{name}-%{api_ver}.lang + +%changelog +