2024-01-06 10:38:49 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f 1-2)
|
|
|
|
Name: pygtksourceview
|
|
|
|
Version: 2.10.1
|
2024-01-06 10:38:49 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 10:38:49 +01:00
|
|
|
Summary: GtkSourceView2 bindings for Python
|
|
|
|
Group: Development/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 10:38:49 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:38:49 +01:00
|
|
|
URL: http://www.gnome.org/
|
|
|
|
Source: http://ftp.gnome.org/pub/GNOME/sources/pygtksourceview/%{majver}/pygtksourceview-%{version}.tar.gz
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libatk-devel
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libbzip2-devel
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libcairo-devel
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libffi-devel
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libgraphite2-devel
|
|
|
|
BuildRequires: libgtk2-devel
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libgtksourceview2-devel
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: liblzma-devel
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libpango-devel
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libpng-devel
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libpython-devel
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libxml2-devel
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: libgtksourceview2-devel >= 2.10.5-3mamba
|
2024-01-06 10:38:49 +01:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pygobject-devel >= 2.15.4
|
|
|
|
BuildRequires: pygtk-devel >= 2.12.1
|
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
This archive contains python bindings for the version 2 of the
|
|
|
|
GtkSourceView library.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
pygtksourceview-devel
|
|
|
|
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Summary: API documentation for %{name}
|
|
|
|
Group: Documentation
|
|
|
|
Requires: gtk-doc
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
This archive contains python bindings for the version 2 of the
|
|
|
|
GtkSourceView library.
|
|
|
|
|
|
|
|
This package contains the API documentation need for development.
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --enable-gtk-doc
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{python_sitearch}/gtksourceview2.la
|
|
|
|
%{python_sitearch}/gtksourceview2.so
|
|
|
|
%{_datadir}/pygtk/?.?/defs/gtksourceview2.defs
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%doc ChangeLog NEWS README
|
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_datadir}/gtk-doc/html/pygtksourceview2
|
|
|
|
%{_datadir}/gtk-doc/html/pygtksourceview2/*.html
|
|
|
|
%{_datadir}/gtk-doc/html/pygtksourceview2/pygtksourceview2.devhelp
|
|
|
|
%{_datadir}/gtk-doc/html/pygtksourceview2/style.css
|
|
|
|
%{_datadir}/gtk-doc/html/pygtksourceview2/index.sgml
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:38:49 +01:00
|
|
|
* Thu Nov 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.1-3mamba
|
|
|
|
- rebuilt with libgtksourceview2-devel 2.10.5-3mamba to fix double libpng linking
|
|
|
|
|
2024-01-06 10:38:49 +01:00
|
|
|
* Sat May 18 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.1-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Mon May 31 2010 Automatic Build System <autodist@mambasoft.it> 2.10.1-1mamba
|
|
|
|
- automatic update to 2.10.1 by autodist
|
|
|
|
|
|
|
|
* Thu May 21 2009 Automatic Build System <autodist@mambasoft.it> 2.6.0-2mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Mon Mar 30 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-1mamba
|
|
|
|
- update to 2.6.0
|
|
|
|
|
|
|
|
* Wed Oct 01 2008 gil <puntogil@libero.it> 2.4.0-1mamba
|
|
|
|
- update to 2.4.0
|
|
|
|
|
|
|
|
* Thu Jul 17 2008 gil <puntogil@libero.it> 2.2.0-1mamba
|
|
|
|
- package created by autospec
|