SPECS: python-kaa-imlib2.spec (NEW) - init

blekot blekot at pld-linux.org
Tue May 1 12:21:16 CEST 2007


Author: blekot                       Date: Tue May  1 10:21:16 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init

---- Files affected:
SPECS:
   python-kaa-imlib2.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-kaa-imlib2.spec
diff -u /dev/null SPECS/python-kaa-imlib2.spec:1.1
--- /dev/null	Tue May  1 12:21:16 2007
+++ SPECS/python-kaa-imlib2.spec	Tue May  1 12:21:11 2007
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+%define 	module	kaa-imlib2
+
+Summary:	Imlib2 wrapper for python
+Summary(pl.UTF-8):	Wrapper imlib2 dla Pythona
+Name:		python-%{module}
+Version:	0.2.1
+Release:	1
+License:	LGPL
+Group:		Libraries/Python
+Source0:	http://dl.sourceforge.net/freevo/%{module}-%{version}.tar.gz
+# Source0-md5:	f4d3019b7471a7da541e13de91ec2875
+URL:		http://www.freevo.org/kaa/
+BuildRequires:	imlib2-devel >= 1.2.1
+BuildRequires:	python-devel >= 1:2.5
+BuildRequires:	rpm-pythonprov
+%pyrequires_eq	python-modules
+Requires:	python-kaa-base
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Imlib2 wrapper for python.
+%description -l pl.UTF-8
+Wrapper imlib2 dla Pythona.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+CFLAGS="%{rpmcflags}"
+export CFLAGS
+python setup.py build_ext
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+	--install-purelib=%{py_sitedir} \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{py_sitedir}/*.egg-info
+%dir %{py_sitedir}/kaa/imlib2
+%{py_sitedir}/kaa/imlib2/*.py[co]
+%attr(755,root,root) %{py_sitedir}/kaa/imlib2/*.so
+
+%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/01 10:21:11  blekot
+- init
+
================================================================


More information about the pld-cvs-commit mailing list