[packages/tomoe] - separated -devel part of python binding because of its devel dependencies

qboosh qboosh at pld-linux.org
Tue Nov 13 16:15:01 CET 2012


commit f1dff6047e5848c5b36962387cc0067b0a07bc5c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Nov 13 16:15:05 2012 +0100

    - separated -devel part of python binding because of its devel dependencies

 tomoe.spec | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/tomoe.spec b/tomoe.spec
index 91206a9..36ff990 100644
--- a/tomoe.spec
+++ b/tomoe.spec
@@ -128,6 +128,20 @@ Tomoe bindings for Python.
 %description -n python-tomoe -l pl.UTF-8
 Wiązania tomoe dla Pythona.
 
+%package -n python-tomoe-devel
+Summary:	Development files for Tomoe Python binding
+Summary(pl.UTF-8):	Pliki programistyczne wiązań Pythona do Tomoe
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+Requires:	python-tomoe = %{version}-%{release}
+Requires:	python-pygobject-devel
+
+%description -n python-tomoe-devel
+Development files for Tomoe Python binding.
+
+%description -n python-tomoe-devel -l pl.UTF-8
+Pliki programistyczne wiązań Pythona do Tomoe.
+
 %package -n ruby-tomoe
 Summary:	Tomoe bindings for Ruby
 Summary(pl.UTF-8):	Wiązania tomoe dla języka Ruby
@@ -253,7 +267,11 @@ rm -rf $RPM_BUILD_ROOT
 %files -n python-tomoe
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/tomoe.so
-%{_datadir}/tomoe/python
+
+%files -n python-tomoe-devel
+%defattr(644,root,root,755)
+%dir %{_datadir}/tomoe/python
+%{_datadir}/tomoe/python/tomoe.defs
 %{_pkgconfigdir}/pytomoe.pc
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tomoe.git/commitdiff/f1dff6047e5848c5b36962387cc0067b0a07bc5c



More information about the pld-cvs-commit mailing list