111 lines
3.1 KiB
RPMSpec
111 lines
3.1 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f 1-2)
|
|
Name: pygtksourceview
|
|
Version: 2.10.1
|
|
Release: 2mamba
|
|
Summary: GtkSourceView2 bindings for Python
|
|
Group: Development/Libraries/Python
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
|
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: gtk-doc
|
|
BuildRequires: libatk-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgtk-devel
|
|
BuildRequires: libgtksourceview2-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libpython-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
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
|
|
* 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
|