2024-01-05 22:40:25 +01:00
|
|
|
%define MAJver %(echo %version | cut -d. -f1)
|
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-05 22:40:25 +01:00
|
|
|
%define apiver %(echo %version | cut -d. -f1)
|
2024-01-05 22:40:24 +01:00
|
|
|
Name: gedit
|
2024-01-05 22:40:25 +01:00
|
|
|
Version: 44.1
|
2024-01-05 22:40:24 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: gEdit is a small but powerful text editor for GNOME
|
|
|
|
Group: Graphical Desktop/Applications/Utilities
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 22:40:25 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://wiki.gnome.org/Apps
|
2024-01-05 22:40:25 +01:00
|
|
|
Source0: https://download.gnome.org/sources/gedit/%{MAJver}/gedit-%{version}.tar.xz
|
2024-01-05 22:40:24 +01:00
|
|
|
Source1: gedit.png
|
|
|
|
Source2: gedit1.desktop
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 22:40:25 +01:00
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: libamtk-devel
|
2024-01-05 22:40:25 +01:00
|
|
|
BuildRequires: libat-spi2-core-devel
|
2024-01-05 22:40:24 +01:00
|
|
|
BuildRequires: libcairo-devel
|
2024-01-05 22:40:25 +01:00
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
2024-01-05 22:40:24 +01:00
|
|
|
BuildRequires: libglib-devel
|
2024-01-05 22:40:25 +01:00
|
|
|
BuildRequires: libgspell-devel
|
|
|
|
BuildRequires: libgtk3-devel
|
2024-01-05 22:40:25 +01:00
|
|
|
BuildRequires: libgtksourceview4-devel
|
2024-01-05 22:40:24 +01:00
|
|
|
BuildRequires: libpango-devel
|
2024-01-05 22:40:25 +01:00
|
|
|
BuildRequires: libpeas-devel
|
2024-01-05 22:40:25 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-05 22:40:25 +01:00
|
|
|
BuildRequires: libtepl-devel
|
2024-01-05 22:40:24 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libscrollkeeper-devel
|
|
|
|
BuildRequires: gnome-doc-utils-devel
|
|
|
|
BuildRequires: iso-codes-devel
|
2024-01-05 22:40:25 +01:00
|
|
|
#BuildRequires: pygtksourceview-devel
|
2024-01-05 22:40:24 +01:00
|
|
|
BuildRequires: gsettings-desktop-schemas-devel
|
|
|
|
BuildRequires: itstool
|
2024-01-05 22:40:24 +01:00
|
|
|
BuildRequires: libgspell-devel
|
2024-01-05 22:40:25 +01:00
|
|
|
BuildRequires: libtepl-devel >= 6.2.0
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 22:40:24 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
gEdit is the official text editor of the GNOME desktop environment.
|
2024-01-05 22:40:25 +01:00
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Summary: Shared libraries provided with %{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains the shared libraries provided with %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
2024-01-05 22:40:24 +01:00
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
2024-01-05 22:40:25 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Provides: gedit-devel
|
|
|
|
Obsoletes: gedit-devel < 43.1
|
2024-01-05 22:40:24 +01:00
|
|
|
|
2024-01-05 22:40:25 +01:00
|
|
|
%description -n lib%{name}-devel
|
2024-01-05 22:40:25 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-05 22:40:24 +01:00
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Group: Documentation
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
Requires: gtk-doc
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
gedit is the official text editor of the GNOME desktop environment.
|
2024-01-05 22:40:25 +01:00
|
|
|
This package provides to api documentation to the gedit libraries.
|
2024-01-05 22:40:24 +01:00
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
%debug_package
|
2024-01-05 22:40:24 +01:00
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
%prep
|
2024-01-05 22:40:24 +01:00
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-05 22:40:24 +01:00
|
|
|
%meson \
|
|
|
|
-Dgtk_doc=true
|
|
|
|
|
|
|
|
%meson_build
|
2024-01-05 22:40:24 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 22:40:24 +01:00
|
|
|
%meson_install
|
|
|
|
|
|
|
|
#export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
|
|
#unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
2024-01-05 22:40:25 +01:00
|
|
|
:<< __EOF
|
2024-01-05 22:40:24 +01:00
|
|
|
install -D %{S:1} \
|
|
|
|
%{buildroot}%{_datadir}/pixmaps/gedit.png
|
|
|
|
|
|
|
|
%{__rm} -rf %{buildroot}%{_datadir}/applications
|
|
|
|
|
|
|
|
install -D %{S:2} \
|
|
|
|
%{buildroot}%{_datadir}/applications/gedit.desktop
|
|
|
|
## http://bugzilla.gnome.org/show_bug.cgi?id=89654
|
|
|
|
perl -pi -e 's/Utility;TextEditor/Utility;TextEditor;/' %{buildroot}%{_datadir}/applications/*
|
|
|
|
## clean up all the static libs for plugins (workaround for no -module)
|
|
|
|
%{__rm} -f `find %{buildroot}%{_libdir}/gedit-2/plugins -name "*.a"`
|
|
|
|
%{__rm} -f `find %{buildroot}%{_libdir}/gedit-2/plugins -name "*.la"`
|
|
|
|
|
|
|
|
%{__rm} -rf %{buildroot}/var/scrollkeeper
|
2024-01-05 22:40:25 +01:00
|
|
|
__EOF
|
2024-01-05 22:40:24 +01:00
|
|
|
|
2024-01-05 22:40:25 +01:00
|
|
|
%find_lang %{name} --with-gnome
|
2024-01-05 22:40:24 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{brpmuildroot}"
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
2024-01-05 22:40:25 +01:00
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%attr(755,root,root) %{_bindir}/gedit
|
2024-01-05 22:40:25 +01:00
|
|
|
%{_datadir}/applications/org.gnome.gedit.desktop
|
2024-01-05 22:40:24 +01:00
|
|
|
%{_datadir}/metainfo/org.gnome.gedit.appdata.xml
|
2024-01-05 22:40:24 +01:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.gedit.*.xml
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.gedit.service
|
2024-01-05 22:40:25 +01:00
|
|
|
%{python3_sitelib}/gi/overrides/Gedit.py
|
2024-01-05 22:40:24 +01:00
|
|
|
%dir %{_datadir}/gedit
|
|
|
|
%dir %{_datadir}/gedit/plugins
|
|
|
|
%{_datadir}/gedit/plugins/*
|
2024-01-05 22:40:25 +01:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.gedit.svg
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.gedit-symbolic.svg
|
2024-01-05 22:40:25 +01:00
|
|
|
%{_mandir}/man1/gedit.1*
|
2024-01-05 22:40:25 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-05 22:40:24 +01:00
|
|
|
%doc COPYING
|
2024-01-05 22:40:24 +01:00
|
|
|
|
2024-01-05 22:40:25 +01:00
|
|
|
%files -n lib%{name}-devel
|
2024-01-05 22:40:24 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 22:40:25 +01:00
|
|
|
%dir %{_includedir}/gedit-%{apiver}
|
|
|
|
%dir %{_includedir}/gedit-%{apiver}/gedit
|
|
|
|
%{_includedir}/gedit-%{apiver}/gedit/*.h
|
2024-01-05 22:40:24 +01:00
|
|
|
%{_datadir}/gedit/gir-1.0/Gedit-*.gir
|
2024-01-05 22:40:24 +01:00
|
|
|
%{_datadir}/vala/vapi/gedit.deps
|
|
|
|
%{_datadir}/vala/vapi/gedit.vapi
|
2024-01-05 22:40:24 +01:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
%files apidocs
|
|
|
|
%defattr(644,root,root,755)
|
|
|
|
%dir %{_datadir}/gtk-doc/html/gedit
|
|
|
|
%{_datadir}/gtk-doc/html/gedit/*
|
2024-01-05 22:40:24 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 22:40:25 +01:00
|
|
|
* Thu Jan 05 2023 Automatic Build System <autodist@mambasoft.it> 44.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jan 03 2023 Automatic Build System <autodist@mambasoft.it> 44.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Nov 22 2022 Automatic Build System <autodist@mambasoft.it> 43.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:25 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 22:40:25 +01:00
|
|
|
* Fri May 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 40.1-1mamba
|
|
|
|
- update to 40.1
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Wed Dec 02 2020 Automatic Build System <autodist@mambasoft.it> 3.38.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Mon Oct 26 2020 Automatic Build System <autodist@mambasoft.it> 3.38.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Sun Apr 26 2020 Automatic Build System <autodist@mambasoft.it> 3.36.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Tue Apr 14 2020 Automatic Build System <autodist@mambasoft.it> 3.36.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Thu Nov 21 2019 Automatic Build System <autodist@mambasoft.it> 3.34.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Sun Oct 27 2019 Automatic Build System <autodist@mambasoft.it> 3.34.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Sun Oct 21 2018 Automatic Build System <autodist@mambasoft.it> 3.30.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Fri Oct 05 2018 Automatic Build System <autodist@mambasoft.it> 3.30.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Mon Sep 17 2018 Automatic Build System <autodist@mambasoft.it> 3.30.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Mon Aug 13 2018 Automatic Build System <autodist@mambasoft.it> 3.28.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Sun Feb 14 2016 Automatic Build System <autodist@mambasoft.it> 3.18.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Tue Jan 19 2016 Automatic Build System <autodist@mambasoft.it> 3.18.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Sat Feb 14 2015 Automatic Build System <autodist@mambasoft.it> 3.14.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Wed Dec 24 2014 Automatic Build System <autodist@mambasoft.it> 3.14.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Nov 11 2014 Automatic Build System <autodist@mambasoft.it> 3.14.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Oct 11 2014 Automatic Build System <autodist@mambasoft.it> 3.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Thu Jun 05 2014 Automatic Build System <autodist@mambasoft.it> 3.12.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Apr 15 2014 Automatic Build System <autodist@mambasoft.it> 3.12.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Apr 13 2014 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:40:24 +01:00
|
|
|
* Wed Jan 22 2014 Automatic Build System <autodist@mambasoft.it> 3.10.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 21 2013 Automatic Build System <autodist@mambasoft.it> 3.10.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 13 2013 Automatic Build System <autodist@mambasoft.it> 3.10.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Oct 30 2013 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 25 2013 Automatic Build System <autodist@mambasoft.it> 3.8.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon May 13 2013 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Apr 16 2013 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Apr 14 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.0-2mamba
|
|
|
|
- rebuilt with libgtksourceview 3.8
|
|
|
|
|
|
|
|
* Sat Apr 13 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Nov 13 2012 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 16 2012 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Sep 28 2012 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Sep 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.2-2mamba
|
|
|
|
- move libgedit-private.so plugin library from -devel to main package
|
|
|
|
|
|
|
|
* Fri Jun 08 2012 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jan 04 2012 Automatic Build System <autodist@mambasoft.it> 3.2.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Dec 12 2011 Automatic Build System <autodist@mambasoft.it> 3.2.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Nov 15 2011 Automatic Build System <autodist@mambasoft.it> 3.2.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Nov 02 2011 Automatic Build System <autodist@mambasoft.it> 3.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 20 2011 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 3.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jun 26 2011 Automatic Build System <autodist@mambasoft.it> 3.0.5-1mamba
|
|
|
|
- update to 3.0.5
|
|
|
|
|
|
|
|
* Fri Nov 12 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.30.4-2mamba
|
|
|
|
- rebuilt with libpng 1.4
|
|
|
|
|
|
|
|
* Tue Sep 28 2010 Automatic Build System <autodist@mambasoft.it> 2.30.4-1mamba
|
|
|
|
- automatic update to 2.30.4 by autodist
|
|
|
|
|
|
|
|
* Mon Jun 21 2010 Automatic Build System <autodist@mambasoft.it> 2.30.3-1mamba
|
|
|
|
- automatic update to 2.30.3 by autodist
|
|
|
|
|
|
|
|
* Mon May 31 2010 Automatic Build System <autodist@mambasoft.it> 2.30.2-1mamba
|
|
|
|
- automatic update to 2.30.2 by autodist
|
|
|
|
|
|
|
|
* Mon Nov 30 2009 Automatic Build System <autodist@mambasoft.it> 2.28.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Sep 25 2009 Automatic Build System <autodist@mambasoft.it> 2.28.0-1mamba
|
|
|
|
- automatic update to 2.28.0 by autodist
|
|
|
|
|
|
|
|
* Sat Jul 04 2009 Automatic Build System <autodist@mambasoft.it> 2.26.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon May 18 2009 Automatic Build System <autodist@mambasoft.it> 2.26.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Apr 18 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Mar 30 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.0-1mamba
|
|
|
|
- update to 2.26.0
|
|
|
|
|
|
|
|
* Wed May 14 2008 gil <puntogil@libero.it> 2.22.1-1mamba
|
|
|
|
- package created by autospec
|