packages: thrift/thrift.spec Some more work on python interface. Still need...

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


Author: matkor                       Date: Tue Mar 30 22:01:20 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
Some more work on python interface. Still needs lot of work

---- Files affected:
packages/thrift:
   thrift.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/thrift/thrift.spec
diff -u packages/thrift/thrift.spec:1.2 packages/thrift/thrift.spec:1.3
--- packages/thrift/thrift.spec:1.2	Sun Mar 28 23:27:52 2010
+++ packages/thrift/thrift.spec	Wed Mar 31 00:01:12 2010
@@ -1,11 +1,13 @@
 # TODO: BR for java, ruby, perl, more general BR
 # TODO: Separate packages per each lang ?
 # TODO: Fix ruby install
+# TODO: Add Mono ?
+# TODO: thrift-python -> python-trift ?
 Summary:	Framework for scalable cross-language services development
 Summary(pl.UTF-8):	Szkielet budowania skalowalnych usług dla różnych języków programowania 
 Name:		thrift
 Version:	0.2.0
-Release:	0.1
+Release:	0.2
 License:	- enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
 Group:		Applications
 # http://www.apache.net.pl/incubator/thrift/0.2.0-incubating/thrift-0.2.0-incubating.tar.gz
@@ -26,6 +28,33 @@
 Programowy szkielet dla rozwoju skalowanych usług dla różnych języków programowania. Zawiera oprogramowanie wraz silnikiem generowania kodu do tworzenie usług
 które spawnie działają pomiędzy C++, Javą, Pythonem, PHP, Rybym, Erlangiem, Perlem, Heskellem, C#, Cocoa, Smalltalikiem i Ocamlem.  
 
+
+%package devel
+Summary:	Header files for thrift
+Summary(pl.UTF-8):	Pliki nagłówkowe thrift
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for thrift.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe thrift.
+
+
+%package python
+Summary:	Python thrift interface
+Summary(pl.UTF-8):	Interfejs thrift dla Pythona
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description python
+Python thrift interface.
+
+%description python -l pl.UTF-8
+Interfejs thrift dla Pythona.
+
+
 %prep
 %setup -q
 %patch0 -p1
@@ -48,3 +77,28 @@
 %defattr(644,root,root,755)
 # %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
 %attr(755,root,root) %{_bindir}/*
+
+%files devel
+%defattr(644,root,root,755)
+# %doc devel-doc/*
+%{_libdir}/lib%{name}.so
+%{_libdir}/lib%{name}.la
+%{_libdir}/lib%{name}z.so
+%{_libdir}/lib%{name}z.la
+%{_includedir}/%{name}
+# %{_aclocaldir}/*.m4
+# %{_pkgconfigdir}/*.pc
+
+
+%files python
+%defattr(644,root,root,755)
+# %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+# change %{py_sitedir} to %{py_sitescriptdir} for 'noarch' packages!
+%{py_sitedir}/%{name}
+# %{py_sitedir}/*.py[co]
+# %attr(755,root,root) %{py_sitedir}/*.so
+%if "%{py_ver}" > "2.4"
+%{py_sitedir}/Thrift-*.egg-info
+%endif
+
+
================================================================

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



More information about the pld-cvs-commit mailing list