351 lines
12 KiB
RPMSpec
351 lines
12 KiB
RPMSpec
%define MAJver %(echo %version | cut -d. -f1)
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
%define apiver %(echo %version | cut -d. -f1)
|
|
Name: gedit
|
|
Version: 44.2
|
|
Release: 1mamba
|
|
Summary: gEdit is a small but powerful text editor for GNOME
|
|
Group: Graphical Desktop/Applications/Utilities
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://wiki.gnome.org/Apps
|
|
Source0: https://download.gnome.org/sources/gedit/%{MAJver}/gedit-%{version}.tar.xz
|
|
Source1: gedit.png
|
|
Source2: gedit1.desktop
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: libamtk-devel
|
|
BuildRequires: libat-spi2-core-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgspell-devel
|
|
BuildRequires: libgtk3-devel
|
|
BuildRequires: libgtksourceview4-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libpeas-devel
|
|
BuildRequires: libpython3-devel
|
|
BuildRequires: libtepl-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libscrollkeeper-devel
|
|
BuildRequires: gnome-doc-utils-devel
|
|
BuildRequires: iso-codes-devel
|
|
#BuildRequires: pygtksourceview-devel
|
|
BuildRequires: gsettings-desktop-schemas-devel
|
|
BuildRequires: itstool
|
|
BuildRequires: libgspell-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.
|
|
|
|
%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
|
|
Summary: Devel package for %{name}
|
|
Group: Development/Libraries
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Provides: gedit-devel
|
|
Obsoletes: gedit-devel < 43.1
|
|
|
|
%description -n lib%{name}-devel
|
|
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
|
|
gedit is the official text editor of the GNOME desktop environment.
|
|
This package provides to api documentation to the gedit libraries.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%meson \
|
|
-Dgtk_doc=true
|
|
|
|
%meson_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%meson_install
|
|
|
|
#export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
#unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
:<< __EOF
|
|
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
|
|
__EOF
|
|
|
|
%find_lang %{name} --with-gnome
|
|
|
|
%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
|
|
:
|
|
|
|
%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
|
|
%{_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
|
|
%doc COPYING
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%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
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%files apidocs
|
|
%defattr(644,root,root,755)
|
|
%dir %{_datadir}/gtk-doc/html/gedit
|
|
%{_datadir}/gtk-doc/html/gedit/*
|
|
|
|
%changelog
|
|
* Sat Jan 21 2023 Automatic Build System <autodist@mambasoft.it> 44.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
|
|
* 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
|
|
- update to 40.1
|
|
|
|
* Wed Dec 02 2020 Automatic Build System <autodist@mambasoft.it> 3.38.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Oct 26 2020 Automatic Build System <autodist@mambasoft.it> 3.38.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Apr 26 2020 Automatic Build System <autodist@mambasoft.it> 3.36.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Apr 14 2020 Automatic Build System <autodist@mambasoft.it> 3.36.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Nov 21 2019 Automatic Build System <autodist@mambasoft.it> 3.34.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Oct 27 2019 Automatic Build System <autodist@mambasoft.it> 3.34.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Oct 21 2018 Automatic Build System <autodist@mambasoft.it> 3.30.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Oct 05 2018 Automatic Build System <autodist@mambasoft.it> 3.30.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Sep 17 2018 Automatic Build System <autodist@mambasoft.it> 3.30.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Aug 13 2018 Automatic Build System <autodist@mambasoft.it> 3.28.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Feb 14 2016 Automatic Build System <autodist@mambasoft.it> 3.18.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Jan 19 2016 Automatic Build System <autodist@mambasoft.it> 3.18.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sat Feb 14 2015 Automatic Build System <autodist@mambasoft.it> 3.14.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* 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
|