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