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