packages pygtksourceview.spec
      Pages: < 1 >  DOWNLOAD      
%define        majver %(echo %version | cut -d. -f 1-2)
Name:          pygtksourceview
Version:       2.10.1
Release:       3mamba
Summary:       GtkSourceView2 bindings for Python
Group:         Development/Libraries/Python
Vendor:        openmamba
Distribution:  openmamba
Packager:      Silvan Calarco <silvan.calarco@...>
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
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtksourceview2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: liblzma-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libpython-devel
BuildRequires: libselinux-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libgtksourceview2-devel >= 2.10.5-3mamba
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
* Thu Nov 20 2014 Silvan Calarco <silvan.calarco@...> 2.10.1-3mamba
- rebuilt with libgtksourceview2-devel 2.10.5-3mamba to fix double libpng linking

* Sat May 18 2013 Silvan Calarco <silvan.calarco@...> 2.10.1-2mamba
- python 2.7 mass rebuild

* Mon May 31 2010 Automatic Build System <autodist@...> 2.10.1-1mamba
- automatic update to 2.10.1 by autodist

* Thu May 21 2009 Automatic Build System <autodist@...> 2.6.0-2mamba
- automatic rebuild by autodist

* Mon Mar 30 2009 Silvan Calarco <silvan.calarco@...> 2.6.0-1mamba
- update to 2.6.0

* Wed Oct 01 2008 gil <puntogil@...> 2.4.0-1mamba
- update to 2.4.0

* Thu Jul 17 2008 gil <puntogil@...> 2.2.0-1mamba
- package created by autospec