+ New and removed API: see the API reference. + Fix compilation warnings. + Updated translations. - Bump libver OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgedit-tepl?expand=0&rev=4
116 lines
3.6 KiB
RPMSpec
116 lines
3.6 KiB
RPMSpec
#
|
|
# spec file for package libgedit-tepl
|
|
#
|
|
# Copyright (c) 2024 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 6
|
|
%define lib_ver %{api_ver}-2
|
|
|
|
Name: libgedit-tepl
|
|
Version: 6.12.0
|
|
Release: 0
|
|
Summary: Text Editor Product Line
|
|
License: LGPL-3.0-or-later
|
|
Group: Productivity/Text/Editors
|
|
URL: https://wiki.gnome.org/Projects/Tepl
|
|
Source: %{name}-%{version}.tar.zst
|
|
|
|
BuildRequires: gobject-introspection-devel >= 1.42.0
|
|
BuildRequires: gtk-doc
|
|
BuildRequires: meson >= 0.53
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.64
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22
|
|
BuildRequires: pkgconfig(icu-i18n)
|
|
BuildRequires: pkgconfig(icu-uc)
|
|
BuildRequires: pkgconfig(libgedit-amtk-5)
|
|
BuildRequires: pkgconfig(libgedit-gfls-1)
|
|
BuildRequires: pkgconfig(libgedit-gtksourceview-300) >= 299.1.0
|
|
BuildRequires: pkgconfig(libhandy-1) >= 1.6
|
|
BuildRequires: pkgconfig(uchardet)
|
|
|
|
%description
|
|
Tepl is a library that eases the development of GtkSourceView-based text
|
|
editors and IDEs. It is a continuation/rename of Gtef.
|
|
|
|
%package -n libgedit-tepl-%{lib_ver}
|
|
Summary: A text editor framework
|
|
Group: System/Libraries
|
|
Provides: libgedit-tepl-%{api_ver} = %{version}
|
|
|
|
%description -n libgedit-tepl-%{lib_ver}
|
|
Tepl (Text Editor Product Line) is a library that eases the
|
|
development of GtkSourceView-based text editors and IDEs. It is a
|
|
continuation / rename of Gtef
|
|
|
|
%package -n typelib-1_0-Tepl-%{api_ver}
|
|
Summary: GObject introspection bindings for libtepl
|
|
Group: System/Libraries
|
|
|
|
%description -n typelib-1_0-Tepl-%{api_ver}
|
|
Tepl is a library that eases the development of GtkSourceView-based text
|
|
editors and IDEs. It is a continuation/rename of Gtef.
|
|
|
|
This package provides the GObject Introspection bindings for tepl.
|
|
|
|
%package devel
|
|
Summary: Development files for Tepl, a text editor framework
|
|
Group: Development/Libraries/GNOME
|
|
Requires: libgedit-tepl-%{lib_ver} >= %{version}
|
|
Requires: typelib-1_0-Tepl-%{api_ver} >= %{version}
|
|
|
|
%description devel
|
|
Tepl is a library that eases the development of GtkSourceView-based text
|
|
editors and IDEs. It is a continuation/rename of Gtef.
|
|
|
|
This subpackage contains the header files for developing
|
|
applications that want to make use of tepl.
|
|
|
|
%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-tepl-%{lib_ver}
|
|
|
|
%files -n libgedit-tepl-%{lib_ver}
|
|
%doc LICENSES/LGPL-3.0-or-later.txt
|
|
%{_libdir}/libgedit-tepl-%{api_ver}.so.*
|
|
|
|
%files -n typelib-1_0-Tepl-%{api_ver}
|
|
%{_libdir}/girepository-1.0/Tepl-%{api_ver}.typelib
|
|
|
|
%files devel
|
|
%doc %{_datadir}/gtk-doc/html/%{name}-%{api_ver}
|
|
%{_datadir}/gir-1.0/Tepl-%{api_ver}.gir
|
|
%{_includedir}/libgedit-tepl-%{api_ver}/
|
|
%{_libdir}/pkgconfig/libgedit-tepl-%{api_ver}.pc
|
|
%{_libdir}/*.so
|
|
|
|
%files -n %{name}-%{api_ver}-lang -f %{name}-%{api_ver}.lang
|
|
|
|
%changelog
|