SPECS: python-galago-gtk.spec (NEW) - initial PLD release

patrys patrys at pld-linux.org
Wed May 23 13:11:20 CEST 2007


Author: patrys                       Date: Wed May 23 11:11:20 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
SPECS:
   python-galago-gtk.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-galago-gtk.spec
diff -u /dev/null SPECS/python-galago-gtk.spec:1.1
--- /dev/null	Wed May 23 13:11:20 2007
+++ SPECS/python-galago-gtk.spec	Wed May 23 13:11:14 2007
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+Summary:	Python bindings for Galago GTK
+Summary(pl.UTF-8):	Wiązania Pythona do Galago GTK
+Name:		python-galago-gtk
+Version:	0.5.0
+Release:	1
+License:	GPL
+Group:		Libraries/Python
+Source0:	http://galago-project.org/files/releases/source/galago-gtk-python/galago-gtk-python-%{version}.tar.bz2
+# Source0-md5:	3eb752eaa87d986bf272cf1266528c43
+Patch0:		%{name}-codegen.patch
+BuildRequires:	libgalago-gtk-devel
+BuildRequires:	python-devel >= 1:2.5
+BuildRequires:	python-pygtk-devel
+BuildRequires:	rpm-pythonprov
+Requires:	libgalago
+Requires:	python-galago
+%pyrequires_eq	python-libs
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python bindings for Galago GTK.
+
+%description -l pl.UTF-8
+Wiązania Pythona do Galago GTK.
+
+%prep
+%setup -q -n galago-gtk-python-%{version}
+%patch0 -p1
+
+%build
+%{configure}
+%{__make} \
+	PYTHON="%{__python}" \
+	PYTHONINCLUDE="%{py_incdir}" \
+	CC="%{__cc}" \
+	RPM_OPT_FLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	PYTHON="%{__python}" \
+	PYTHONLIBDIR="%{py_sitedir}" \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%dir %{py_sitedir}/gtk-2.0/galago
+%attr(755,root,root) %{py_sitedir}/gtk-2.0/galago/*.so
+%{_datadir}/pygtk/*/defs/galago-*.defs
+%{_pkgconfigdir}/*
+
+%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/05/23 11:11:14  patrys
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list