packages: python-pycassa/python-pycassa.spec - Version 0.2.0-1.

matkor matkor at pld-linux.org
Wed Mar 31 01:00:16 CEST 2010


Author: matkor                       Date: Tue Mar 30 23:00:16 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Version 0.2.0-1.

---- Files affected:
packages/python-pycassa:
   python-pycassa.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/python-pycassa/python-pycassa.spec
diff -u packages/python-pycassa/python-pycassa.spec:1.1 packages/python-pycassa/python-pycassa.spec:1.2
--- packages/python-pycassa/python-pycassa.spec:1.1	Wed Mar 31 00:38:01 2010
+++ packages/python-pycassa/python-pycassa.spec	Wed Mar 31 01:00:10 2010
@@ -1,50 +1,52 @@
 # $Revision$, $Date$
 %define 	module	pycassa
 Summary:	Simple Python Cassandra library
-Summary(pl.UTF-8):	-
+Summary(pl.UTF-8):	Prosta biblioteka Pythona do Cassandry
 Name:		python-%{module}
 Version:	0.2.0
-Release:	0.1
-License:	- (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
+Release:	1
+License:	MIT/apache
 Group:		Development/Languages/Python
-# http://github.com/downloads/vomjom/pycassa/pycassa-0.2.0.tar.gz
-Source0:	http://github.com/downloads/vomjom/%{name}/%{name}-%{version}.tar.gz
-# Source0-md5:	-
-URL:		-
+Source0:	http://github.com/downloads/vomjom/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5:	8835acfba68a09342bd717be16456032
+URL:		http://github.com/vomjom/pycassa
 BuildRequires:	python-devel
 BuildRequires:	rpm-pythonprov
 # if py_postclean is used
 BuildRequires:	rpmbuild(macros) >= 1.219
 #Requires:		python-libs
-Requires:		python-modules
+Requires:	python-modules
+Requires:	thrift-python
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Cassandra library with the following features:
-Auto-failover single or thread-local connections
-A simplified version of the thrift interface
-A method to map an existing class to a Cassandra ColumnFamily.
-Support for SuperColumns
+Cassandra library with the following features: Auto-failover single or
+thread-local connections A simplified version of the thrift interface
+A method to map an existing class to a Cassandra ColumnFamily. Support
+for SuperColumns
 
 %description -l pl.UTF-8
+Biblioteka dostępu do Cassandry dla Pythona posiadająca: Jednowątkowe
+lub wielowątkowe interfejs Uproszczona wersję interfejsu thrift.
+Metodę do mapowania klass w ColumnFamily Cassandry. Obsługę
+SuperColumns.
 
 %prep
 %setup -q -n %{module}-%{version}
 
 %build
 export CFLAGS="%{rpmcflags}"
-%{__python} setup.py build
+%{__python} setup.py --cassandra build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
+%{__python} setup.py --cassandra install \
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
-# change %{py_sitedir} to %{py_sitescriptdir} for 'noarch' packages!
-%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
-%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_postclean
 
 %clean
@@ -52,16 +54,19 @@
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
-# change %{py_sitedir} to %{py_sitescriptdir} for 'noarch' packages!
-%{py_sitedir}/*.py[co]
-%attr(755,root,root) %{py_sitedir}/*.so
+# %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/cassandra
 %if "%{py_ver}" > "2.4"
-%{py_sitedir}/TEMPLATE-*.egg-info
+%{py_sitescriptdir}/%{module}-*.egg-info
 %endif
 
 %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.2  2010/03/30 23:00:10  matkor
+- Version 0.2.0-1.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-pycassa/python-pycassa.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list