]> git.pld-linux.org Git - packages/gstreamer0.10-plugins-gl.git/blame - gstreamer0.10-plugins-gl.spec
- BRs for noarch subpackage and gstreamer macros always included
[packages/gstreamer0.10-plugins-gl.git] / gstreamer0.10-plugins-gl.spec
CommitLineData
0200ea56 1#
963b2200
PZ
2# Conditional build:
3%bcond_without apidocs # disable gtk-doc
4#
5%define gstname gst-plugins-gl
6%define gst_major_ver 0.10
607d359b
JB
7%define gst_req_ver 0.10.35
8%define gstpb_req_ver 0.10.35
c201f6b9 9
963b2200 10Summary: GStreamer Streaming-media framework plug-in for OpenGL
0200ea56 11Summary(pl.UTF-8): Wtyczka OpenGL do środowiska strumieni multimedialnych GStreamer
309fb5fb 12Name: gstreamer0.10-plugins-gl
607d359b 13Version: 0.10.3
dbc31a27 14Release: 7
0200ea56 15License: LGPL v2+
963b2200 16Group: Libraries
309fb5fb 17Source0: https://gstreamer.freedesktop.org/src/gst-plugins-gl/%{gstname}-%{version}.tar.bz2
607d359b 18# Source0-md5: ac70ede13f79978d56eaed8abaa3c938
309fb5fb
JB
19Patch0: gstreamer-common-gtkdoc.patch
20URL: https://gstreamer.freedesktop.org/
0200ea56
JB
21BuildRequires: OpenGL-GLU-devel
22BuildRequires: autoconf >= 2.60
23BuildRequires: automake >= 1:1.10
963b2200 24%{?with_apidocs:BuildRequires: docbook-dtd412-xml}
12066b2f 25BuildRequires: gettext-tools >= 0.17
0200ea56
JB
26BuildRequires: glew-devel >= 1.4.0
27BuildRequires: glib2-devel >= 1:2.6
309fb5fb
JB
28BuildRequires: gstreamer0.10-devel >= %{gst_req_ver}
29BuildRequires: gstreamer0.10-plugins-base-devel >= %{gstpb_req_ver}
963b2200 30%{?with_apidocs:BuildRequires: gtk-doc >= 1.6}
607d359b 31BuildRequires: libjpeg-devel
0200ea56 32BuildRequires: libpng-devel >= 1.0
607d359b 33BuildRequires: libprojectM-devel >= 2.0.1
0200ea56 34BuildRequires: libtool >= 2:1.5
c201f6b9 35BuildRequires: libvisual-devel >= 0.4.0
963b2200 36BuildRequires: pkgconfig
0200ea56 37BuildRequires: python >= 2.1
9e5d3cd7
JB
38BuildRequires: rpm-build >= 4.6
39BuildRequires: rpmbuild(macros) >= 1.745
309fb5fb
JB
40Requires: gstreamer0.10 >= %{gst_req_ver}
41Requires: gstreamer0.10-plugins-base >= %{gstpb_req_ver}
607d359b
JB
42Requires: libprojectM >= 2.0.1
43Requires: libvisual >= 0.4.0
309fb5fb
JB
44Obsoletes: gstreamer-imagesink-gl < 1
45Obsoletes: gstreamer-plugins-gl < 1
963b2200
PZ
46BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47
48%description
0200ea56
JB
49This module contains integration library and plug-in for using OpenGL
50within GStreamer pipelines.
51
52%description -l pl.UTF-8
53Ten moduł zawiera bibliotekę i wtyczkę pozwalające na używanie
54OpenGL-a w potokach GStreamera.
963b2200
PZ
55
56%package devel
57Summary: Include files for GStreamer streaming-media framework OpenGL API
0200ea56 58Summary(pl.UTF-8): Pliki nagłówkowe API OpenGL dla środowiska strumieni multimedialnych GStreamer
963b2200
PZ
59Group: Development/Libraries
60Requires: %{name} = %{version}-%{release}
0200ea56
JB
61Requires: OpenGL-GLU-devel
62Requires: glew-devel >= 1.4.0
309fb5fb
JB
63Requires: gstreamer0.10-devel >= %{gst_req_ver}
64Requires: gstreamer0.10-plugins-base-devel >= %{gstpb_req_ver}
65Obsoletes: gstreamer-plugins-gl-devel < 1
963b2200
PZ
66
67%description devel
68Include files for GStreamer streaming-media framework OpenGL API.
69
0200ea56
JB
70%description devel -l pl.UTF-8
71Pliki nagłówkowe API OpenGL dla środowiska strumieni multimedialnych
72GStreamer.
73
963b2200
PZ
74%package apidocs
75Summary: GStreamer streaming-media framework OpenGL API documentation
0200ea56 76Summary(pl.UTF-8): Dokumentacja API OpenGL dla środowiska strumieni multimedialnych GStreamer
963b2200
PZ
77Group: Documentation
78Requires: gtk-doc-common
309fb5fb 79Obsoletes: gstreamer-plugins-gl-apidocs < 1
c201f6b9 80BuildArch: noarch
963b2200
PZ
81
82%description apidocs
83GStreamer streaming-media framework OpenGL API documentation.
84
0200ea56
JB
85%description apidocs -l pl.UTF-8
86Dokumentacja API OpenGL dla środowiska strumieni multimedialnych
87GStreamer.
88
963b2200
PZ
89%prep
90%setup -q -n %{gstname}-%{version}
309fb5fb
JB
91cd common
92%patch0 -p1
963b2200
PZ
93
94%build
95%{__libtoolize}
607d359b 96%{__aclocal} -I m4 -I common/m4
963b2200
PZ
97%{__autoconf}
98%{__autoheader}
99%{__automake}
963b2200 100%configure \
0200ea56
JB
101 --disable-examples \
102 --disable-silent-rules \
963b2200 103 --disable-static \
309fb5fb 104 --enable-gtk-doc%{!?with_apidocs:=no} \
963b2200
PZ
105 --with-html-dir=%{_gtkdocdir}
106%{__make}
107
108%install
109rm -rf $RPM_BUILD_ROOT
9e5d3cd7 110
963b2200
PZ
111%{__make} install \
112 DESTDIR=$RPM_BUILD_ROOT
113
114%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
115%{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{gst_major_ver}/*.la
116
117%clean
118rm -rf $RPM_BUILD_ROOT
119
ce4381e4
PZ
120%post -p /sbin/ldconfig
121%postun -p /sbin/ldconfig
122
963b2200
PZ
123%files
124%defattr(644,root,root,755)
0200ea56 125%doc AUTHORS ChangeLog NEWS README RELEASE TODO
963b2200
PZ
126%attr(755,root,root) %{_libdir}/libgstgl-%{gst_major_ver}.so.*.*.*
127%attr(755,root,root) %ghost %{_libdir}/libgstgl-%{gst_major_ver}.so.1
128%attr(755,root,root) %{_libdir}/gstreamer-%{gst_major_ver}/libgstopengl.so
607d359b 129%attr(755,root,root) %{_libdir}/gstreamer-%{gst_major_ver}/libgstlibvisualgl.so
963b2200
PZ
130
131%files devel
132%defattr(644,root,root,755)
133%attr(755,root,root) %{_libdir}/libgstgl-%{gst_major_ver}.so
134%{_includedir}/gstreamer-%{gst_major_ver}/gst/gl
135%{_pkgconfigdir}/gstreamer-gl-%{gst_major_ver}.pc
136
137%if %{with apidocs}
138%files apidocs
139%defattr(644,root,root,755)
0200ea56
JB
140%{_gtkdocdir}/gst-plugins-gl-libs-%{gst_major_ver}
141%{_gtkdocdir}/gst-plugins-gl-plugins-%{gst_major_ver}
963b2200 142%endif
This page took 0.174797 seconds and 4 git commands to generate.