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