packages: gstreamermm/gstreamermm.spec (NEW) - initial revision

lisu lisu at pld-linux.org
Tue Oct 12 11:50:58 CEST 2010


Author: lisu                         Date: Tue Oct 12 09:50:58 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
packages/gstreamermm:
   gstreamermm.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/gstreamermm/gstreamermm.spec
diff -u /dev/null packages/gstreamermm/gstreamermm.spec:1.1
--- /dev/null	Tue Oct 12 11:50:58 2010
+++ packages/gstreamermm/gstreamermm.spec	Tue Oct 12 11:50:53 2010
@@ -0,0 +1,127 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without  static_libs	# don't build static libraries
+#
+Summary:	A C++ bindings for the GStreamer
+Summary(pl.UTF-8):	Wiązania C++ dla GStreamer
+Name:		gstreamermm
+Version:	0.10.7.3
+Release:	1
+License:	LGPL
+Group:		Applications
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/gstreamermm/0.10/%{name}-%{version}.tar.bz2
+# Source0-md5:	48df9161cec157cd74c2aac0d97d2c0f
+Patch0:		%{name}-gcc45.patch
+BuildRequires:	glibmm-devel >= 2.18.1
+BuildRequires:	gtkmm-devel >= 2.12.0
+BuildRequires:	libxml++-devel >= 2.14.0
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+gstreamermm provides C++ bindings for the GStreamer streaming
+multimedia library. With gstreamermm it is possible to develop
+applications that work with multimedia in C++.
+
+%description -l pl.UTF-8
+gstreamermm dostarcza wiązania C++ dla biblioteki strumieniowej
+GStreamer. Za pomocą gstreamermm jest możliwe tworzenie aplikacji
+multimedialnych w C++.
+
+%package devel
+Summary:	gstreamermm header files
+Summary(pl.UTF-8):	Pliki nagłówkowe gstreamermm
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for gstreamermm library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki gstreamermm.
+
+%package doc
+Summary:	Reference documentation for gstreamermm
+Summary(pl.UTF-8):	Szczegółowa dokumentacja gstreamermm
+Group:		Documentation
+Requires:	devhelp
+
+%description doc
+Reference documentation for gstreamermm.
+
+%description doc -l pl.UTF-8
+Szczegółowa dokumentacja gstreamermm.
+
+%package static
+Summary:	gstreamermm static libraries
+Summary(pl.UTF-8):	Biblioteki statyczne gstreamermm
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+gstreamermm static libraries.
+
+%description static -l pl.UTF-8
+Biblioteki statyczne gstreamermm.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure \
+	%{?with_static_libs:--enable-static}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/libgstreamermm-0.10.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgstreamermm-0.10.so.2
+%attr(755,root,root) %{_libdir}/libgstreamermm_get_plugin_defs-0.10.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgstreamermm_get_plugin_defs-0.10.so.2
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgstreamermm-0.10.so
+%attr(755,root,root) %{_libdir}/libgstreamermm_get_plugin_defs-0.10.so
+%{_libdir}/libgstreamermm-0.10.la
+%{_libdir}/libgstreamermm_get_plugin_defs-0.10.la
+%{_libdir}/gstreamermm-0.10
+%{_includedir}/gstreamermm-0.10
+%{_pkgconfigdir}/gstreamermm-0.10.pc
+
+%files doc
+%defattr(644,root,root,755)
+%{_docdir}/gstreamermm-0.10
+%{_datadir}/devhelp/books/gstreamermm-0.10
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libgstreamermm-0.10.a
+%{_libdir}/libgstreamermm_get_plugin_defs-0.10.a
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/10/12 09:50:53  lisu
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list