254 lines
8.8 KiB
RPMSpec
254 lines
8.8 KiB
RPMSpec
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
||
|
|
||
|
Name: libgtksourceview4
|
||
|
Version: 4.8.1
|
||
|
Release: 2mamba
|
||
|
Summary: A text widget that extends the standard GTK+ 2.x text widget
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
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: libat-spi2-core-devel
|
||
|
BuildRequires: libcairo-devel
|
||
|
BuildRequires: libfribidi-devel
|
||
|
BuildRequires: libgdk-pixbuf-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libgtk3-devel
|
||
|
BuildRequires: libpango-devel
|
||
|
BuildRequires: libxml2-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: gettext-devel
|
||
|
BuildRequires: perl-XML-Parser
|
||
|
BuildRequires: gtk-doc
|
||
|
|
||
|
%description
|
||
|
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.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Static libraries and headers for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
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.
|
||
|
|
||
|
%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.
|
||
|
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 the API documentation needed for development.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n gtksourceview-%{version}
|
||
|
|
||
|
%build
|
||
|
%meson
|
||
|
|
||
|
%meson_build
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%meson_install
|
||
|
|
||
|
%find_lang gtksourceview-4
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files -f gtksourceview-4.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/*
|
||
|
%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
|
||
|
%{_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
|
||
|
|
||
|
%changelog
|
||
|
* Sun Nov 13 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.1-2mamba
|
||
|
- legacy package
|
||
|
|
||
|
* Wed Mar 03 2021 Automatic Build System <autodist@mambasoft.it> 4.8.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sat Feb 13 2021 Automatic Build System <autodist@mambasoft.it> 4.8.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.0-1mamba
|
||
|
- update to 4.2.0
|
||
|
|
||
|
* Fri Oct 27 2017 Automatic Build System <autodist@mambasoft.it> 3.22.2-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Fri Nov 04 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.22.0-1mamba
|
||
|
- update to 3.22.0
|
||
|
|
||
|
* Thu Sep 15 2016 Automatic Build System <autodist@mambasoft.it> 3.20.4-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Sun May 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.20.2-1mamba
|
||
|
- update to 3.20.2
|
||
|
|
||
|
* Sat Jan 16 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.2-1mamba
|
||
|
- update to 3.18.2
|
||
|
|
||
|
* Thu Oct 08 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.16.1-1mamba
|
||
|
- update to 3.16.1
|
||
|
|
||
|
* Mon Apr 06 2015 Automatic Build System <autodist@mambasoft.it> 3.14.4-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Tue Jan 20 2015 Automatic Build System <autodist@mambasoft.it> 3.14.3-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Fri Nov 21 2014 Automatic Build System <autodist@mambasoft.it> 3.14.2-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Fri Oct 17 2014 Automatic Build System <autodist@mambasoft.it> 3.14.1-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Thu Oct 09 2014 Automatic Build System <autodist@mambasoft.it> 3.14.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon Jul 21 2014 Automatic Build System <autodist@mambasoft.it> 3.13.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue Jun 24 2014 Automatic Build System <autodist@mambasoft.it> 3.13.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon May 12 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
|
||
|
|
||
|
* Thu Apr 10 2014 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue Jan 28 2014 Automatic Build System <autodist@mambasoft.it> 3.10.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Oct 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.1-1mamba
|
||
|
- update to 3.10.1
|
||
|
|
||
|
* Mon Aug 26 2013 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Tue Aug 06 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.1-2mamba
|
||
|
- git typelib file moved from devel to main library package
|
||
|
|
||
|
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Mar 28 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue Feb 19 2013 Automatic Build System <autodist@mambasoft.it> 3.7.90-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon Feb 04 2013 Automatic Build System <autodist@mambasoft.it> 3.7.3-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue Jan 15 2013 Automatic Build System <autodist@mambasoft.it> 3.7.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sat Dec 29 2012 Automatic Build System <autodist@mambasoft.it> 3.7.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sun Nov 04 2012 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Wed Sep 26 2012 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue May 15 2012 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Mon Apr 16 2012 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Tue Mar 27 2012 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sun Jul 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.5-1mamba
|
||
|
- update to 3.0.5
|
||
|
|
||
|
* Tue Sep 28 2010 Automatic Build System <autodist@mambasoft.it> 2.10.5-1mamba
|
||
|
- automatic update to 2.10.5 by autodist
|
||
|
|
||
|
* Mon Jun 21 2010 Automatic Build System <autodist@mambasoft.it> 2.10.4-1mamba
|
||
|
- automatic update to 2.10.4 by autodist
|
||
|
|
||
|
* Sun May 30 2010 Automatic Build System <autodist@mambasoft.it> 2.10.3-1mamba
|
||
|
- automatic update to 2.10.3 by autodist
|
||
|
|
||
|
* Wed May 20 2009 Automatic Build System <autodist@mambasoft.it> 2.6.2-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Sun Apr 19 2009 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Mon Apr 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-1mamba
|
||
|
- update to 2.6.0
|
||
|
|
||
|
* Thu Jan 22 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.2-1mamba
|
||
|
- automatic update by autodist
|
||
|
|
||
|
* Fri Sep 26 2008 gil <puntogil@libero.it> 2.4.0-1mamba
|
||
|
- update to 2.4.0
|
||
|
|
||
|
* Tue Jul 22 2008 gil <puntogil@libero.it> 2.2.2-1mamba
|
||
|
- update to 2.2.2
|
||
|
|
||
|
* Wed May 14 2008 gil <puntogil@libero.it> 2.2.0-1mamba
|
||
|
- update to 2.2.0
|
||
|
- removed --enable-gtk-doc
|
||
|
|
||
|
* Thu Oct 18 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-1mamba
|
||
|
- update to 2.0.1
|
||
|
|
||
|
* Wed Jun 27 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.90.1-1mamba
|
||
|
- package created by autospec
|