SPECS: python-gaphas.spec (NEW) - based on gaphor.spec
wrobell
wrobell at pld-linux.org
Mon Sep 10 01:24:59 CEST 2007
Author: wrobell Date: Sun Sep 9 23:24:59 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- based on gaphor.spec
---- Files affected:
SPECS:
python-gaphas.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-gaphas.spec
diff -u /dev/null SPECS/python-gaphas.spec:1.1
--- /dev/null Mon Sep 10 01:24:59 2007
+++ SPECS/python-gaphas.spec Mon Sep 10 01:24:54 2007
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+%define module gaphas
+Summary: Cairo based canvas library
+Name: python-%{module}
+Version: 0.3.3
+Release: 0.1
+License: LGPL
+Group: Python/Libraries
+Source0: http://pypi.python.org/packages/source/g/gaphas/%{module}-%{version}.tar.gz
+# Source0-md5: 50ab5f156d7de7fb3c66b32fd07078c6
+URL: http://gaphor.devjavu.com/projects/gaphor/wiki/Subprojects/Gaphas
+BuildRequires: python-devel
+%pyrequires_eq python-libs
+Requires: python-pygtk-gtk >= 2.8.4
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Cairo based canvas library.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__python} setup.py install \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc PKG-INFO
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}*egg*
+
+%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/09/09 23:24:54 wrobell
+- based on gaphor.spec
+
================================================================
More information about the pld-cvs-commit
mailing list