Author: matkor                       Date: Fri May 27 14:44:42 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Initial version 6.2.3-1.

---- Files affected:
packages/PyCXX:
   PyCXX.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/PyCXX/PyCXX.spec
diff -u /dev/null packages/PyCXX/PyCXX.spec:1.1
--- /dev/null   Fri May 27 16:44:42 2011
+++ packages/PyCXX/PyCXX.spec   Fri May 27 16:44:36 2011
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+# TODO: Find out authors idea behind installing it properly and try implement 
it
+# Propably it shoud be library thus not marked as noarch.
+
+Summary:       Set of classes to help create extensions of Python in the C++ 
language
+Summary(pl.UTF-8):     Klasy C++ pomocne przy tworzeniu modułów Pythona
+Name:          PyCXX
+Version:       6.2.3
+Release:       1
+License:       BSD
+Group:         Development/Libraries
+# http://prdownloads.sourceforge.net/cxx/pycxx-6.2.3.tar.gz
+Source0:       http://downloads.sourceforge.net/cxx/pycxx-%{version}.tar.gz
+# Source0-md5: 4e545ad225df9c14a3b344b1e6224661
+URL:           http://cxx.sourceforge.net/
+BuildRequires: python-modules
+Requires:      libstdc++-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PyCXX is a set of classes to help create extensions of Python in the
+C++ language. The first part encapsulates the Python C API taking care
+of exceptions and ref counting. The second part supports the building
+of Python extension modules in C++.
+
+%description -l pl.UTF-8
+PyCXX jest zbiorem klas pomagających tworzorzyć moduły rozszerzeń
+Pythona w języku C++. Pierwsza część hermetyzuje interfejs C Pythona
+dbając o wyjątki i zliczanie refrencji. Druga wspiera budowanie
+modułów rozszerzeń Pythona.
+
+%prep
+%setup -q -n pycxx-%{version}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_includedir}/
+cp -r CXX $RPM_BUILD_ROOT%{_includedir}/
+install -d $RPM_BUILD_ROOT%{_includedir}/CXX/Src
+install Src/IndirectPythonInterface.cxx  $RPM_BUILD_ROOT%{_includedir}/CXX/Src
+install Src/Python2/*  $RPM_BUILD_ROOT%{_includedir}/CXX/Src
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%defattr(644,root,root,755)
+%{_includedir}/CXX
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/05/27 14:44:36  matkor
+- Initial version 6.2.3-1.
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to