]> git.pld-linux.org Git - packages/gstreamermm.git/blame - gstreamermm.spec
- updated to 0.10.9
[packages/gstreamermm.git] / gstreamermm.spec
CommitLineData
7ac1844b 1#
2# Conditional build:
3%bcond_without static_libs # don't build static libraries
4#
5Summary: A C++ bindings for the GStreamer
6Summary(pl.UTF-8): Wiązania C++ dla GStreamer
7Name: gstreamermm
9a438c36 8Version: 0.10.9
9Release: 1
5c297971 10License: LGPL v2+
cb03a45f 11Group: Libraries
7ac1844b 12Source0: http://ftp.gnome.org/pub/GNOME/sources/gstreamermm/0.10/%{name}-%{version}.tar.bz2
9a438c36 13# Source0-md5: 939adf0883f7d33e23f77c0291802034
7ac1844b 14Patch0: %{name}-gcc45.patch
6c0f4d30 15BuildRequires: autoconf
16BuildRequires: automake
7ac1844b 17BuildRequires: glibmm-devel >= 2.18.1
6c0f4d30 18BuildRequires: gstreamer-plugins-base-devel >= 0.10.0
7ac1844b 19BuildRequires: gtkmm-devel >= 2.12.0
490ba57e 20BuildRequires: libtool
7ac1844b 21BuildRequires: libxml++-devel >= 2.14.0
b2dcd796 22BuildRequires: mm-common
7ac1844b 23BuildRequires: pkgconfig
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27gstreamermm provides C++ bindings for the GStreamer streaming
28multimedia library. With gstreamermm it is possible to develop
29applications that work with multimedia in C++.
30
31%description -l pl.UTF-8
32gstreamermm dostarcza wiązania C++ dla biblioteki strumieniowej
33GStreamer. Za pomocą gstreamermm jest możliwe tworzenie aplikacji
34multimedialnych w C++.
35
36%package devel
37Summary: gstreamermm header files
38Summary(pl.UTF-8): Pliki nagłówkowe gstreamermm
39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
41
42%description devel
43Header files for gstreamermm library.
44
45%description devel -l pl.UTF-8
46Pliki nagłówkowe biblioteki gstreamermm.
47
48%package doc
49Summary: Reference documentation for gstreamermm
50Summary(pl.UTF-8): Szczegółowa dokumentacja gstreamermm
51Group: Documentation
52Requires: devhelp
53
54%description doc
55Reference documentation for gstreamermm.
56
57%description doc -l pl.UTF-8
58Szczegółowa dokumentacja gstreamermm.
59
60%package static
61Summary: gstreamermm static libraries
62Summary(pl.UTF-8): Biblioteki statyczne gstreamermm
63Group: Development/Libraries
64Requires: %{name}-devel = %{version}-%{release}
65
66%description static
c6b777c6 67gstreamermm static library.
7ac1844b 68
69%description static -l pl.UTF-8
c6b777c6 70Biblioteka statyczne gstreamermm.
7ac1844b 71
72%prep
73%setup -q
d54bcb11 74#%%patch0 -p1
7ac1844b 75
76%build
6c0f4d30 77%{__libtoolize}
78%{__aclocal} -I build
79%{__autoconf}
80%{__autoheader}
81%{__automake}
7ac1844b 82%configure \
83 %{?with_static_libs:--enable-static}
84%{__make}
85
86%install
87rm -rf $RPM_BUILD_ROOT
88
89%{__make} install \
90 DESTDIR=$RPM_BUILD_ROOT
91
92%clean
93rm -rf $RPM_BUILD_ROOT
94
95%post -p /sbin/ldconfig
96%postun -p /sbin/ldconfig
97
98%files
99%defattr(644,root,root,755)
100%doc AUTHORS ChangeLog NEWS README
101%attr(755,root,root) %{_libdir}/libgstreamermm-0.10.so.*.*.*
102%attr(755,root,root) %ghost %{_libdir}/libgstreamermm-0.10.so.2
103%attr(755,root,root) %{_libdir}/libgstreamermm_get_plugin_defs-0.10.so.*.*.*
104%attr(755,root,root) %ghost %{_libdir}/libgstreamermm_get_plugin_defs-0.10.so.2
105
106%files devel
107%defattr(644,root,root,755)
108%attr(755,root,root) %{_libdir}/libgstreamermm-0.10.so
109%attr(755,root,root) %{_libdir}/libgstreamermm_get_plugin_defs-0.10.so
110%{_libdir}/libgstreamermm-0.10.la
111%{_libdir}/libgstreamermm_get_plugin_defs-0.10.la
112%{_libdir}/gstreamermm-0.10
113%{_includedir}/gstreamermm-0.10
114%{_pkgconfigdir}/gstreamermm-0.10.pc
115
116%files doc
117%defattr(644,root,root,755)
118%{_docdir}/gstreamermm-0.10
119%{_datadir}/devhelp/books/gstreamermm-0.10
120
121%if %{with static_libs}
122%files static
123%defattr(644,root,root,755)
124%{_libdir}/libgstreamermm-0.10.a
125%{_libdir}/libgstreamermm_get_plugin_defs-0.10.a
126%endif
This page took 0.044156 seconds and 4 git commands to generate.