71 lines
1.8 KiB
RPMSpec
71 lines
1.8 KiB
RPMSpec
%global apiver 5
|
|
|
|
Name: tepl
|
|
Version: 5.1.1
|
|
Release: 1%{?dist}
|
|
Summary: Text editor product line
|
|
|
|
License: LGPLv2+
|
|
URL: https://wiki.gnome.org/Projects/Tepl
|
|
Source0: https://download.gnome.org/sources/tepl/5.0/tepl-%{version}.tar.xz
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: gettext
|
|
BuildRequires: gtk-doc
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig(amtk-5)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
BuildRequires: pkgconfig(gtksourceview-4)
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
BuildRequires: pkgconfig(uchardet)
|
|
|
|
Obsoletes: tepl-tests < 4.99.2
|
|
|
|
%description
|
|
Tepl is a library that eases the development of GtkSourceView-based text
|
|
editors and IDEs. Tepl is the acronym for “Text editor product line”.
|
|
|
|
%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
|
|
|
|
%build
|
|
%meson -Dgtk_doc=true
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%find_lang tepl-%{apiver}
|
|
|
|
%files -f tepl-%{apiver}.lang
|
|
%license LICENSES/*
|
|
%doc AUTHORS NEWS README
|
|
%dir %{_libdir}/girepository-1.0
|
|
%{_libdir}/girepository-1.0/Tepl-%{apiver}.typelib
|
|
%{_libdir}/libtepl-%{apiver}.so.0*
|
|
|
|
%files devel
|
|
%{_includedir}/tepl-%{apiver}/
|
|
%{_libdir}/libtepl-%{apiver}.so
|
|
%{_libdir}/pkgconfig/tepl-%{apiver}.pc
|
|
%dir %{_datadir}/gir-1.0
|
|
%{_datadir}/gir-1.0/Tepl-%{apiver}.gir
|
|
%dir %{_datadir}/gtk-doc
|
|
%dir %{_datadir}/gtk-doc/html
|
|
%{_datadir}/gtk-doc/html/tepl-%{apiver}/
|
|
|
|
|
|
%changelog
|
|
* Wed Jun 16 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 5.1.1-1
|
|
- Package init with version 5.1.1
|