From 5eaca3318df1ec3bcbd10f4e525ebfae839d4f35 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 22:40:25 +0100 Subject: [PATCH] automatic version update by autodist [release 43.1-1mamba;Mon Nov 14 2022] --- README.md | 25 ------------ gedit.spec | 117 +++++++++++++++++++++++++++-------------------------- 2 files changed, 60 insertions(+), 82 deletions(-) diff --git a/README.md b/README.md index 00dc319..a57719e 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,4 @@ # gedit gEdit is the official text editor of the GNOME desktop environment. -While aiming at simplicity and ease of use, gedit is a powerful general purpose text editor. -Currently it features: - * Full support for internationalized text (UTF-8) - * Configurable syntax highlighting for various languages (C, C++, Java, HTML, XML, Python, Perl and many others) - * Undo/Redo - * Editing files from remote locations - * File reverting - * Print and print preview support - * Clipboard support (cut/copy/paste) - * Search and replace - * Go to specific line - * Auto indentation - * Text wrapping - * Line numbers - * Right margin - * Current line highlighting - * Bracket matching - * Backup files - * Configurable fonts and colors - * A complete online user manual - -gEdit features also a flexible plugin system which can be used to dynamically add new advanced features to gedit itself. -See the plugins page for more info on the existing plugins. - -You'll need to have GNOME and GTK+ installed to use gEdit. diff --git a/gedit.spec b/gedit.spec index 803dd90..d969e9e 100644 --- a/gedit.spec +++ b/gedit.spec @@ -1,6 +1,8 @@ -%define majver %(echo %version | cut -d. -f1) +%define MAJver %(echo %version | cut -d. -f1) +%define majver %(echo %version | cut -d. -f1-2) +%define apiver 3.38 Name: gedit -Version: 40.1 +Version: 43.1 Release: 1mamba Summary: gEdit is a small but powerful text editor for GNOME Group: Graphical Desktop/Applications/Utilities @@ -8,7 +10,7 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://wiki.gnome.org/Apps -Source0: https://download.gnome.org/sources/gedit/%{majver}/gedit-%{version}.tar.xz +Source0: https://download.gnome.org/sources/gedit/%{MAJver}/gedit-%{version}.tar.xz Source1: gedit.png Source2: gedit1.desktop License: GPL @@ -16,15 +18,16 @@ License: GPL BuildRequires: glibc-devel BuildRequires: gobject-introspection-devel BuildRequires: libamtk-devel -BuildRequires: libatk-devel +BuildRequires: libat-spi2-core-devel BuildRequires: libcairo-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgspell-devel BuildRequires: libgtk3-devel -BuildRequires: libgtksourceview-devel +BuildRequires: libgtksourceview4-devel BuildRequires: libpango-devel BuildRequires: libpeas-devel +BuildRequires: libpython3-devel BuildRequires: libtepl-devel ## AUTOBUILDREQ-END BuildRequires: libscrollkeeper-devel @@ -34,42 +37,27 @@ BuildRequires: iso-codes-devel BuildRequires: gsettings-desktop-schemas-devel BuildRequires: itstool BuildRequires: libgspell-devel -BuildRequires: libtepl-devel +BuildRequires: libtepl-devel >= 6.2.0 +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description gEdit is the official text editor of the GNOME desktop environment. -While aiming at simplicity and ease of use, gedit is a powerful general purpose text editor. -Currently it features: - * Full support for internationalized text (UTF-8) - * Configurable syntax highlighting for various languages (C, C++, Java, HTML, XML, Python, Perl and many others) - * Undo/Redo - * Editing files from remote locations - * File reverting - * Print and print preview support - * Clipboard support (cut/copy/paste) - * Search and replace - * Go to specific line - * Auto indentation - * Text wrapping - * Line numbers - * Right margin - * Current line highlighting - * Bracket matching - * Backup files - * Configurable fonts and colors - * A complete online user manual +%package -n lib%{name} +Summary: Shared libraries provided with %{name} +Group: System/Libraries -gEdit features also a flexible plugin system which can be used to dynamically add new advanced features to gedit itself. -See the plugins page for more info on the existing plugins. +%description -n lib%{name} +This package contains the shared libraries provided with %{name}. -You'll need to have GNOME and GTK+ installed to use gEdit. -%package devel +%package -n lib%{name}-devel Summary: Devel package for %{name} Group: Development/Libraries -Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Provides: gedit-devel +Obsoletes: gedit-devel < 43.1 -%description devel +%description -n lib%{name}-devel This package contains static libraries and header files needed for development. %package apidocs @@ -79,9 +67,7 @@ Requires: gtk-doc %description apidocs gedit is the official text editor of the GNOME desktop environment. -While aiming at simplicity and ease of use, gedit is a powerful general purpose text editor. -gedit features also a flexible plugin system which can be used to dynamically add new advanced features to gedit itself. -See the plugins page for more info on the existing plugins. +This package provides to api documentation to the gedit libraries. %debug_package @@ -100,7 +86,7 @@ See the plugins page for more info on the existing plugins. #export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 #unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL - +:<< __EOF install -D %{S:1} \ %{buildroot}%{_datadir}/pixmaps/gedit.png @@ -115,8 +101,9 @@ perl -pi -e 's/Utility;TextEditor/Utility;TextEditor;/' %{buildroot}%{_datadir}/ %{__rm} -f `find %{buildroot}%{_libdir}/gedit-2/plugins -name "*.la"` %{__rm} -rf %{buildroot}/var/scrollkeeper +__EOF -%find_lang %{name} +%find_lang %{name} --with-gnome %clean [ "%{buildroot}" != / ] && rm -rf "%{brpmuildroot}" @@ -136,37 +123,38 @@ if [ $1 -eq 0 ]; then fi : +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + %files -f %{name}.lang %defattr(-,root,root) %attr(755,root,root) %{_bindir}/gedit -#%attr(755,root,root) %{_bindir}/gnome-text-editor +%{_datadir}/applications/org.gnome.gedit.desktop +%{_datadir}/metainfo/org.gnome.gedit.appdata.xml +%{_datadir}/glib-2.0/schemas/org.gnome.gedit.*.xml +%{_datadir}/dbus-1/services/org.gnome.gedit.service +%{python3_sitelib}/gi/overrides/Gedit.py +%dir %{_datadir}/gedit +%dir %{_datadir}/gedit/plugins +%{_datadir}/gedit/plugins/* +%{_datadir}/icons/hicolor/scalable/apps/org.gnome.gedit.svg +%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.gedit-symbolic.svg +%{_mandir}/man1/gedit.1* + +%files -n lib%{name} +%defattr(-,root,root) %dir %{_libdir}/gedit %{_libdir}/gedit/libgedit-*.so %dir %{_libdir}/gedit/plugins %{_libdir}/gedit/plugins/* %{_libdir}/gedit/girepository-1.0/Gedit*.typelib -#%dir %{_libexecdir}/gedit/gedit-bugreport.sh -%{python3_sitelib}/gi/overrides/Gedit.py -%{_datadir}/metainfo/org.gnome.gedit.appdata.xml -%{_datadir}/glib-2.0/schemas/org.gnome.gedit.*.xml -#%{_datadir}/GConf/gsettings/gedit.convert -%{_datadir}/dbus-1/services/org.gnome.gedit.service -%{_datadir}/applications/gedit.desktop -%{_datadir}/pixmaps/gedit.png -%dir %{_datadir}/gedit -%{_datadir}/icons/hicolor/scalable/apps/org.gnome.gedit.svg -%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.gedit-symbolic.svg -%dir %{_datadir}/gedit/plugins -%{_datadir}/gedit/plugins/* -%{_mandir}/man1/gedit.1* -%{_datadir}/help/*/gedit/* %doc COPYING -%files devel +%files -n lib%{name}-devel %defattr(-,root,root) -%dir %{_includedir}/gedit-%{majver}.0 -%dir %{_includedir}/gedit-%{majver}.0/gedit -%{_includedir}/gedit-%{majver}.0/gedit/*.h +%dir %{_includedir}/gedit-%{apiver} +%dir %{_includedir}/gedit-%{apiver}/gedit +%{_includedir}/gedit-%{apiver}/gedit/*.h %{_datadir}/gedit/gir-1.0/Gedit-*.gir %{_datadir}/vala/vapi/gedit.deps %{_datadir}/vala/vapi/gedit.vapi @@ -178,6 +166,21 @@ fi %{_datadir}/gtk-doc/html/gedit/* %changelog +* Mon Nov 14 2022 Automatic Build System 43.1-1mamba +- automatic version update by autodist + +* Fri Jul 29 2022 Automatic Build System 42.2-1mamba +- automatic version update by autodist + +* Fri May 27 2022 Automatic Build System 42.1-1mamba +- automatic version update by autodist + +* Mon Apr 04 2022 Automatic Build System 42.0-1mamba +- automatic version update by autodist + +* Fri Feb 18 2022 Automatic Build System 41.0-1mamba +- automatic version update by autodist + * Fri May 21 2021 Silvan Calarco 40.1-1mamba - update to 40.1