Group :: Development/Python
RPM: python-module-pygtksourceview
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define major 2.6
%define oname pygtksourceview
Name: python-module-%oname
Version: %major.0
Release: alt1
Summary: python bindings for the version 2 of the GtkSourceView library
License: LGPL
Group: Development/Python
Url: http://www.pygtk.org/
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
Source: http://ftp.gnome.org/pub/gnome/sources/%oname/%major/%oname-%version.tar.bz2
BuildPreReq: python-module-pygtk-devel >= 2.10.0
BuildPreReq: python-module-pygobject-devel >= 2.15.2
BuildPreReq: libgtksourceview-devel >= 2.3.0
BuildRequires: gtk-doc docbook-dtds docbook-style-xsl xsltproc gnome-common
%description
Contains python bindings for the version 2 of the
GtkSourceView library.
%package devel
Summary: development files for GtkSourceView python binding
Group: Development/Python
Requires: %name = %version-%release
%description devel
This package contains development files for GtkSourceView python binding
%package devel-doc
Summary: development documentation for GtkSourceView python binding
Group: Development/Python
BuildArch: noarch
Conflicts: %name-devel < %version
%description devel-doc
This package contains development documentation for GtkSourceView python binding
%prep
%setup -q -n %oname-%version
rm -f m4/libtool.m4 m4/lt*.m4
%build
%autoreconf
%configure
%make_build
%install
%makeinstall
%files
%doc AUTHORS ChangeLog README NEWS
%python_sitelibdir/gtksourceview2.so
%exclude %python_sitelibdir/*.la
%files devel
%_pkgconfigdir/*
%_datadir/pygtk/2.0/defs/*.defs
%files devel-doc
%_datadir/gtk-doc/html/*
%changelog
…
Full changelog you can see here
%define oname pygtksourceview
Name: python-module-%oname
Version: %major.0
Release: alt1
Summary: python bindings for the version 2 of the GtkSourceView library
License: LGPL
Group: Development/Python
Url: http://www.pygtk.org/
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>
Source: http://ftp.gnome.org/pub/gnome/sources/%oname/%major/%oname-%version.tar.bz2
BuildPreReq: python-module-pygtk-devel >= 2.10.0
BuildPreReq: python-module-pygobject-devel >= 2.15.2
BuildPreReq: libgtksourceview-devel >= 2.3.0
BuildRequires: gtk-doc docbook-dtds docbook-style-xsl xsltproc gnome-common
%description
Contains python bindings for the version 2 of the
GtkSourceView library.
%package devel
Summary: development files for GtkSourceView python binding
Group: Development/Python
Requires: %name = %version-%release
%description devel
This package contains development files for GtkSourceView python binding
%package devel-doc
Summary: development documentation for GtkSourceView python binding
Group: Development/Python
BuildArch: noarch
Conflicts: %name-devel < %version
%description devel-doc
This package contains development documentation for GtkSourceView python binding
%prep
%setup -q -n %oname-%version
rm -f m4/libtool.m4 m4/lt*.m4
%build
%autoreconf
%configure
%make_build
%install
%makeinstall
%files
%doc AUTHORS ChangeLog README NEWS
%python_sitelibdir/gtksourceview2.so
%exclude %python_sitelibdir/*.la
%files devel
%_pkgconfigdir/*
%_datadir/pygtk/2.0/defs/*.defs
%files devel-doc
%_datadir/gtk-doc/html/*
%changelog
…
Full changelog you can see here