3 %bcond_without static_libs # don't build static libraries
5 Summary: A C++ bindings for the GStreamer library
6 Summary(pl.UTF-8): Wiązania C++ do biblioteki GStreamera
12 Source0: http://ftp.gnome.org/pub/GNOME/sources/gstreamermm/1.4/%{name}-%{version}.tar.xz
13 # Source0-md5: 8f6c4b85083308def933eab1433a1865
14 URL: https://gstreamer.freedesktop.org/bindings/cplusplus.html
15 BuildRequires: autoconf >= 2.59
16 BuildRequires: automake >= 1:1.9
17 BuildRequires: glibmm-devel >= 2.36.0
18 BuildRequires: gstreamer-devel >= 1.4.3
19 BuildRequires: gstreamer-plugins-base-devel >= 1.4.3
20 # for not packaged examples only
21 #BuildRequires: gtkmm3-devel >= 3.0
22 BuildRequires: libstdc++-devel >= 6:4.3
23 BuildRequires: libtool >= 2:1.5
25 BuildRequires: mm-common >= 0.9.6
26 BuildRequires: pkgconfig
27 BuildRequires: tar >= 1:1.22
29 Requires: glibmm >= 2.36.0
30 Requires: gstreamer >= 1.4.3
31 Requires: gstreamer-plugins-base >= 1.4.3
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 gstreamermm provides C++ bindings for the GStreamer streaming
36 multimedia library. With gstreamermm it is possible to develop
37 applications that work with multimedia in C++.
39 %description -l pl.UTF-8
40 gstreamermm dostarcza wiązania C++ dla biblioteki strumieniowej
41 GStreamer. Za pomocą gstreamermm jest możliwe tworzenie aplikacji
42 multimedialnych w C++.
45 Summary: gstreamermm header files
46 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gstreamermm
47 Group: Development/Libraries
48 Requires: %{name} = %{version}-%{release}
49 Requires: glibmm-devel >= 2.36.0
50 Requires: gstreamer-devel >= 1.4.3
51 Requires: gstreamer-plugins-base-devel >= 1.4.3
54 Header files for gstreamermm library.
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe biblioteki gstreamermm.
60 Summary: gstreamermm static libraries
61 Summary(pl.UTF-8): Biblioteki statyczne gstreamermm
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
66 gstreamermm static libraries.
68 %description static -l pl.UTF-8
69 Biblioteki statyczne gstreamermm.
72 Summary: Reference documentation for gstreamermm
73 Summary(pl.UTF-8): Szczegółowa dokumentacja gstreamermm
78 Reference documentation for gstreamermm.
80 %description doc -l pl.UTF-8
81 Szczegółowa dokumentacja gstreamermm.
92 CXXFLAGS="%{rpmcxxflags} -std=c++0x"
94 %{?with_static_libs:--enable-static}
98 rm -rf $RPM_BUILD_ROOT
101 DESTDIR=$RPM_BUILD_ROOT
103 # obsoleted by pkg-config
104 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgstreamermm*.la
107 rm -rf $RPM_BUILD_ROOT
109 %post -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
113 %defattr(644,root,root,755)
114 %doc AUTHORS ChangeLog NEWS README
115 %attr(755,root,root) %{_libdir}/libgstreamermm-1.0.so.*.*.*
116 %attr(755,root,root) %ghost %{_libdir}/libgstreamermm-1.0.so.0
117 %attr(755,root,root) %{_libdir}/libgstreamermm_get_plugin_defs-1.0.so.*.*.*
118 %attr(755,root,root) %ghost %{_libdir}/libgstreamermm_get_plugin_defs-1.0.so.0
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/libgstreamermm-1.0.so
123 %attr(755,root,root) %{_libdir}/libgstreamermm_get_plugin_defs-1.0.so
124 %dir %{_libdir}/gstreamermm-1.0
125 %dir %{_libdir}/gstreamermm-1.0/gen
126 %attr(755,root,root) %{_libdir}/gstreamermm-1.0/gen/generate_plugin_gmmproc_file
127 %{_libdir}/gstreamermm-1.0/gen/m4
128 %{_libdir}/gstreamermm-1.0/include
129 %{_includedir}/gstreamermm-1.0
130 %{_pkgconfigdir}/gstreamermm-1.0.pc
132 %if %{with static_libs}
134 %defattr(644,root,root,755)
135 %{_libdir}/libgstreamermm-1.0.a
136 %{_libdir}/libgstreamermm_get_plugin_defs-1.0.a
140 %defattr(644,root,root,755)
141 %{_docdir}/gstreamermm-1.0
142 %{_datadir}/devhelp/books/gstreamermm-1.0