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
This commit is contained in:
commit
9bc081956f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
19
_service
Normal file
19
_service
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="scm">git</param>
|
||||
<param name="url">https://github.com/gedit-technology/libgedit-amtk.git</param>
|
||||
<param name="revision">refs/tags/5.8.0</param>
|
||||
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||
<param name="versionrewrite-pattern">(.*)\+0</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
<!-- <param name="changesgenerate">enable</param> -->
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual" />
|
||||
</services>
|
||||
|
3
libgedit-amtk-5.8.0.obscpio
Normal file
3
libgedit-amtk-5.8.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ca9bad6bb04b8cef09c8df68675a2810f9ca21e54437585c4389c24cbb3dad49
|
||||
size 381451
|
4
libgedit-amtk.changes
Normal file
4
libgedit-amtk.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 13 14:29:00 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Initial packaging for openSUSE.
|
4
libgedit-amtk.obsinfo
Normal file
4
libgedit-amtk.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: libgedit-amtk
|
||||
version: 5.8.0
|
||||
mtime: 1690293600
|
||||
commit: f6fbfd1c57de3d97cab2056a5c3088b0da49e8a4
|
115
libgedit-amtk.spec
Normal file
115
libgedit-amtk.spec
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user