From: Tim-Philipp Müller Date: Sun, 18 Dec 2011 20:45:52 +0000 (+0000) Subject: rpm: add new header files to .spec file, add -devel package for that X-Git-Tag: 1.19.3~485^2~237 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7f5d2d267d0ed4767c3971b0f896002fcac56e99;p=platform%2Fupstream%2Fgstreamer.git rpm: add new header files to .spec file, add -devel package for that Not actually tested though. --- diff --git a/gst-python.spec.in b/gst-python.spec.in index 6989d65..c19ab7f 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