automatic version update by autodist [release 43.1-1mamba;Mon Nov 14 2022]

This commit is contained in:
Automatic Build System 2024-01-05 22:40:25 +01:00
parent 1f99184d08
commit 5eaca3318d
2 changed files with 60 additions and 82 deletions

View File

@ -1,29 +1,4 @@
# gedit # gedit
gEdit is the official text editor of the GNOME desktop environment. 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.

View File

@ -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 Name: gedit
Version: 40.1 Version: 43.1
Release: 1mamba Release: 1mamba
Summary: gEdit is a small but powerful text editor for GNOME Summary: gEdit is a small but powerful text editor for GNOME
Group: Graphical Desktop/Applications/Utilities Group: Graphical Desktop/Applications/Utilities
@ -8,7 +10,7 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://wiki.gnome.org/Apps 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 Source1: gedit.png
Source2: gedit1.desktop Source2: gedit1.desktop
License: GPL License: GPL
@ -16,15 +18,16 @@ License: GPL
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: libamtk-devel BuildRequires: libamtk-devel
BuildRequires: libatk-devel BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libgdk-pixbuf-devel BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgspell-devel BuildRequires: libgspell-devel
BuildRequires: libgtk3-devel BuildRequires: libgtk3-devel
BuildRequires: libgtksourceview-devel BuildRequires: libgtksourceview4-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libpeas-devel BuildRequires: libpeas-devel
BuildRequires: libpython3-devel
BuildRequires: libtepl-devel BuildRequires: libtepl-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libscrollkeeper-devel BuildRequires: libscrollkeeper-devel
@ -34,42 +37,27 @@ BuildRequires: iso-codes-devel
BuildRequires: gsettings-desktop-schemas-devel BuildRequires: gsettings-desktop-schemas-devel
BuildRequires: itstool BuildRequires: itstool
BuildRequires: libgspell-devel BuildRequires: libgspell-devel
BuildRequires: libtepl-devel BuildRequires: libtepl-devel >= 6.2.0
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description %description
gEdit is the official text editor of the GNOME desktop environment. 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) %package -n lib%{name}
* Configurable syntax highlighting for various languages (C, C++, Java, HTML, XML, Python, Perl and many others) Summary: Shared libraries provided with %{name}
* Undo/Redo Group: System/Libraries
* 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. %description -n lib%{name}
See the plugins page for more info on the existing plugins. This package contains the shared libraries provided with %{name}.
You'll need to have GNOME and GTK+ installed to use gEdit. %package -n lib%{name}-devel
%package devel
Summary: Devel package for %{name} Summary: Devel package for %{name}
Group: Development/Libraries 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. This package contains static libraries and header files needed for development.
%package apidocs %package apidocs
@ -79,9 +67,7 @@ Requires: gtk-doc
%description apidocs %description apidocs
gedit is the official text editor of the GNOME desktop environment. 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. This package provides to api documentation to the gedit 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.
%debug_package %debug_package
@ -100,7 +86,7 @@ See the plugins page for more info on the existing plugins.
#export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 #export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
#unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL #unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
:<< __EOF
install -D %{S:1} \ install -D %{S:1} \
%{buildroot}%{_datadir}/pixmaps/gedit.png %{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} -f `find %{buildroot}%{_libdir}/gedit-2/plugins -name "*.la"`
%{__rm} -rf %{buildroot}/var/scrollkeeper %{__rm} -rf %{buildroot}/var/scrollkeeper
__EOF
%find_lang %{name} %find_lang %{name} --with-gnome
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{brpmuildroot}" [ "%{buildroot}" != / ] && rm -rf "%{brpmuildroot}"
@ -136,37 +123,38 @@ if [ $1 -eq 0 ]; then
fi fi
: :
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%attr(755,root,root) %{_bindir}/gedit %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 %dir %{_libdir}/gedit
%{_libdir}/gedit/libgedit-*.so %{_libdir}/gedit/libgedit-*.so
%dir %{_libdir}/gedit/plugins %dir %{_libdir}/gedit/plugins
%{_libdir}/gedit/plugins/* %{_libdir}/gedit/plugins/*
%{_libdir}/gedit/girepository-1.0/Gedit*.typelib %{_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 %doc COPYING
%files devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/gedit-%{majver}.0 %dir %{_includedir}/gedit-%{apiver}
%dir %{_includedir}/gedit-%{majver}.0/gedit %dir %{_includedir}/gedit-%{apiver}/gedit
%{_includedir}/gedit-%{majver}.0/gedit/*.h %{_includedir}/gedit-%{apiver}/gedit/*.h
%{_datadir}/gedit/gir-1.0/Gedit-*.gir %{_datadir}/gedit/gir-1.0/Gedit-*.gir
%{_datadir}/vala/vapi/gedit.deps %{_datadir}/vala/vapi/gedit.deps
%{_datadir}/vala/vapi/gedit.vapi %{_datadir}/vala/vapi/gedit.vapi
@ -178,6 +166,21 @@ fi
%{_datadir}/gtk-doc/html/gedit/* %{_datadir}/gtk-doc/html/gedit/*
%changelog %changelog
* Mon Nov 14 2022 Automatic Build System <autodist@mambasoft.it> 43.1-1mamba
- automatic version update by autodist
* Fri Jul 29 2022 Automatic Build System <autodist@mambasoft.it> 42.2-1mamba
- automatic version update by autodist
* Fri May 27 2022 Automatic Build System <autodist@mambasoft.it> 42.1-1mamba
- automatic version update by autodist
* Mon Apr 04 2022 Automatic Build System <autodist@mambasoft.it> 42.0-1mamba
- automatic version update by autodist
* Fri Feb 18 2022 Automatic Build System <autodist@mambasoft.it> 41.0-1mamba
- automatic version update by autodist
* Fri May 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 40.1-1mamba * Fri May 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 40.1-1mamba
- update to 40.1 - update to 40.1