From 7f5d2d267d0ed4767c3971b0f896002fcac56e99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 18 Dec 2011 20:45:52 +0000 Subject: [PATCH] rpm: add new header files to .spec file, add -devel package for that Not actually tested though. --- gst-python.spec.in | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/gst-python.spec.in b/gst-python.spec.in index 6989d652c9..c19ab7f86f 100644 --- a/gst-python.spec.in +++ b/gst-python.spec.in @@ -37,6 +37,16 @@ BuildRequires: gcc-c++ This module contains a wrapper that allows GStreamer applications to be written in Python. +%package devel +Summary: Libraries/include files for Python bindings for GStreamer +Group: Development/Libraries + +Requires: %{gstreamer}-python = @VERSION@ + +%description devel +This package contains the libraries and includes files necessary to develop +python bindings for GStreamer-based C libraries. + %prep %setup -q -n gst-python-%{version} @@ -69,9 +79,16 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/tag.so %{_libdir}/python?.?/site-packages/gst-%{majorminor}/gst/video.so %{_libdir}/python?.?/site-packages/gstoption.so - - %{_datadir}/gst-python + +%files devel +%defattr(-, root, root, -) +%dir %{_includedir}/gstreamer-%{majorminor} +%dir %{_includedir}/gstreamer-%{majorminor}/gst +%{_includedir}/gstreamer-%{majorminor}/gst/pygst.h +%{_includedir}/gstreamer-%{majorminor}/gst/pygstvalue.h +%{_includedir}/gstreamer-%{majorminor}/gst/pygstminiobject.h +%{_includedir}/gstreamer-%{majorminor}/gst/pygstexception.h %{_libdir}/pkgconfig/gst-python-%{majorminor}.pc %changelog