automatic version update by autodist [release 5.6.1-1mamba;Fri Sep 23 2022]

This commit is contained in:
Automatic Build System 2024-01-06 04:32:17 +01:00
parent 03bcef5f54
commit 8690a45d51

View File

@ -1,39 +1,28 @@
%define majversion %(echo %version | cut -d. -f 1-2)
%define apiver %(echo %version | cut -d. -f 1)
Name: libgtksourceview
Version: 4.8.1
Version: 5.6.1
Release: 1mamba
Summary: A text widget that extends the standard GTK+ 2.x text widget
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: https://gtksourceview.sourceforge.net
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://wiki.gnome.org/Projects/GtkSourceView/
Source: http://ftp.gnome.org/pub/gnome/sources/gtksourceview/%{majversion}/gtksourceview-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libblkid-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libffi-devel
BuildRequires: libfreetype-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfribidi-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: liblzma-devel
BuildRequires: libmount-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libuuid-devel
BuildRequires: libpcre2-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: gettext-devel
BuildRequires: perl-XML-Parser
@ -53,15 +42,13 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
GtkSourceView is a text widget that extends the standard gtk+ 2.x text widget.
It improves the gtk+ text widget by implementing syntax highlighting and other features typical of a source editor.
It is part of the GNOME Desktop Environment and it is currently being used by gedit, MonoDevelop, Glimmer and several other projects.
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
%package apidocs
Group: Documentation
Summary: API documentation for %{name}
Requires: gtk-doc
%description apidocs
GtkSourceView is a text widget that extends the standard gtk+ 2.x text widget.
It improves the gtk+ text widget by implementing syntax highlighting and other features typical of a source editor.
@ -75,7 +62,7 @@ This package contains the API documentation needed for development.
%build
%meson \
-Dbuild-documentation=true
-Dgtk_doc=true
%meson_build
@ -83,44 +70,67 @@ This package contains the API documentation needed for development.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%find_lang gtksourceview-4
%find_lang gtksourceview-%{apiver}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f gtksourceview-4.lang
%files -f gtksourceview-%{apiver}.lang
%defattr(-,root,root)
%{_libdir}/libgtksourceview-4.so.*
%{_libdir}/girepository-1.0/GtkSource-4.typelib
%dir %{_datadir}/gtksourceview-4
%dir %{_datadir}/gtksourceview-4/language-specs
%{_datadir}/gtksourceview-4/language-specs/*
%dir %{_datadir}/gtksourceview-4/styles
%{_datadir}/gtksourceview-4/styles/*
%{_libdir}/libgtksourceview-%{apiver}.so.*
%{_libdir}/girepository-1.0/GtkSource-%{apiver}.typelib
%dir %{_datadir}/gtksourceview-%{apiver}
%dir %{_datadir}/gtksourceview-%{apiver}/fonts
%{_datadir}/gtksourceview-%{apiver}/fonts/*
%dir %{_datadir}/gtksourceview-%{apiver}/language-specs
%{_datadir}/gtksourceview-%{apiver}/language-specs/*
%dir %{_datadir}/gtksourceview-%{apiver}/snippets
%{_datadir}/gtksourceview-%{apiver}/snippets/*
%dir %{_datadir}/gtksourceview-%{apiver}/styles
%{_datadir}/gtksourceview-%{apiver}/styles/*
%{_datadir}/icons/hicolor/scalable/actions/*.svg
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/gtksourceview-4
%{_includedir}/gtksourceview-4
%{_libdir}/libgtksourceview-4.so
%{_datadir}/gir-1.0/GtkSource-4.gir
%{_datadir}/vala/vapi/gtksourceview-4.deps
%{_datadir}/vala/vapi/gtksourceview-4.vapi
%dir %{_includedir}/gtksourceview-%{apiver}
%{_includedir}/gtksourceview-%{apiver}
%{_libdir}/libgtksourceview-%{apiver}.so
%{_datadir}/gir-1.0/GtkSource-%{apiver}.gir
%{_datadir}/vala/vapi/gtksourceview-%{apiver}.*
%{_libdir}/pkgconfig/*.pc
%doc NEWS
#%files apidocs
#%defattr(-,root,root)
#%{_datadir}/gtk-doc/html/gtksourceview-?.?/*.html
#%{_datadir}/gtk-doc/html/gtksourceview-?.?/style.css
#%{_datadir}/gtk-doc/html/gtksourceview-?.?/*.png
#%{_datadir}/gtk-doc/html/gtksourceview-?.?/gtksourceview-?.?.devhelp2
%files apidocs
%defattr(-,root,root)
%dir %{_docdir}/gtksourceview5
%{_docdir}/gtksourceview5/*
%changelog
* Fri Sep 23 2022 Automatic Build System <autodist@mambasoft.it> 5.6.1-1mamba
- automatic version update by autodist
* Sun Sep 18 2022 Automatic Build System <autodist@mambasoft.it> 5.6.0-1mamba
- automatic version update by autodist
* Mon Jun 13 2022 Automatic Build System <autodist@mambasoft.it> 5.4.2-1mamba
- automatic version update by autodist
* Fri Apr 22 2022 Automatic Build System <autodist@mambasoft.it> 5.4.1-1mamba
- automatic version update by autodist
* Sat Apr 02 2022 Automatic Build System <autodist@mambasoft.it> 5.4.0-1mamba
- automatic version update by autodist
* Wed Sep 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.0-1mamba
- update to 5.2.0
* Fri Apr 09 2021 Automatic Build System <autodist@mambasoft.it> 5.0.0-1mamba
- automatic version update by autodist
* Wed Mar 03 2021 Automatic Build System <autodist@mambasoft.it> 4.8.1-1mamba
- automatic version update by autodist