Compare commits

..

No commits in common. "main" and "v0.2" have entirely different histories.
main ... v0.2

View file

@ -1,16 +1,18 @@
%global glib_version 2.66 %global glib_version 2.66
%global gtk_version 4.2 %global gtk_version 4.2
%global api_ver 5 %global majorver 5
%global minorver 2
%global patchver 0
Name: gtksourceview5 Name: gtksourceview5
Version: 5.2.0 Version: %{majorver}.%{minorver}.%{patchver}
Release: 1%{?dist} Release: 1%{?dist}
Summary: Source code editing widget Summary: Source code editing widget
License: LGPLv2+ License: LGPLv2+
URL: https://wiki.gnome.org/Projects/GtkSourceView URL: https://wiki.gnome.org/Projects/GtkSourceView
Source0: https://download.gnome.org/sources/gtksourceview/%{api_ver}.2/gtksourceview-%{version}.tar.xz Source0: https://download.gnome.org/sources/gtksourceview/%{majorver}.%{minorver}/gtksourceview-%{version}.tar.xz
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gettext BuildRequires: gettext
@ -68,29 +70,25 @@ the functionality of the installed %{name} package.
%install %install
%meson_install %meson_install
%find_lang gtksourceview-%{api_ver} %find_lang gtksourceview-%{majorver}
%files -f gtksourceview-%{api_ver}.lang %files -f gtksourceview-%{majorver}.lang
%license COPYING %license COPYING
%dir %{_libdir}/girepository-1.0 %{_libdir}/girepository-1.0/GtkSource-%{majorver}.typelib
%{_libdir}/girepository-1.0/GtkSource-%{api_ver}.typelib %{_libdir}/libgtksourceview-%{majorver}.so.0*
%{_libdir}/libgtksourceview-%{api_ver}.so.0* %{_datadir}/gtksourceview-%{majorver}/
%{_datadir}/gtksourceview-%{api_ver}/
%{_datadir}/icons/hicolor/scalable/actions/* %{_datadir}/icons/hicolor/scalable/actions/*
%files devel %files devel
%{_includedir}/gtksourceview-%{api_ver}/ %{_includedir}/gtksourceview-%{majorver}/
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%{_libdir}/libgtksourceview-%{api_ver}.so %{_libdir}/libgtksourceview-%{majorver}.so
%dir %{_datadir}/gir-1.0 %{_datadir}/gir-1.0/GtkSource-%{majorver}.gir
%{_datadir}/gir-1.0/GtkSource-%{api_ver}.gir
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/* %{_datadir}/gtk-doc/html/*
%{_datadir}/vala %{_datadir}/vala
%files tests %files tests
%{_bindir}/gtksourceview%{api_ver}-widget %{_bindir}/gtksourceview%{majorver}-widget
%{_libexecdir}/installed-tests %{_libexecdir}/installed-tests
%{_datadir}/installed-tests %{_datadir}/installed-tests