packages: farstream/farstream.spec (NEW)=?UTF-8?Q?=20?=- new

megabajt megabajt at pld-linux.org
Sun Feb 26 14:00:41 CET 2012


Author: megabajt                     Date: Sun Feb 26 13:00:41 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: packages/farstream/farstream.spec
diff -u /dev/null packages/farstream/farstream.spec:1.1
--- /dev/null	Sun Feb 26 14:00:41 2012
+++ packages/farstream/farstream.spec	Sun Feb 26 14:00:36 2012
@@ -0,0 +1,170 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	apidocs		# do not build and package API docs
+%bcond_without	static_libs	# don't build static libraries
+#
+%include	/usr/lib/rpm/macros.gstreamer
+Summary:	Audio/Video Communications Framework
+Name:		farstream
+Version:	0.1.1
+Release:	1
+License:	LGPL v2+
+Group:		Libraries
+Source0:	http://freedesktop.org/software/farstream/releases/farstream/%{name}-%{version}.tar.gz
+# Source0-md5:	74f8048c915e8f4675cb749bc10f54e9
+URL:		http://www.freedesktop.org/wiki/Software/Farstream
+BuildRequires:	autoconf >= 2.60
+BuildRequires:	automake
+BuildRequires:	glib2-devel >= 1:2.26.0
+BuildRequires:	gobject-introspection-devel >= 0.10.1
+BuildRequires:	gstreamer-devel >= 0.10.33
+BuildRequires:	gstreamer-plugins-base-devel >= 0.10.33
+BuildRequires:	gtk-doc >= 1.8
+BuildRequires:	gupnp-igd-devel
+BuildRequires:	libnice-devel >= 0.1.0
+BuildRequires:	libtool
+BuildRequires:	pkgconfig
+BuildRequires:	python-devel >= 1:2.4
+BuildRequires:	python-gstreamer-devel >= 0.10.10
+BuildRequires:	python-pygobject-devel >= 2.16.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Farstream is a collection of GStreamer modules and libraries for
+videoconferencing.
+
+%package devel
+Summary:	Header files for Farstream library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki Farstream
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	gstreamer-devel >= 0.10.33
+Requires:	gstreamer-plugins-base-devel >= 0.10.33
+
+%description devel
+Header files for Farstream library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki Farstream.
+
+%package static
+Summary:	Static Farstream library
+Summary(pl.UTF-8):	Statyczna biblioteka Farstream
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static Farstream library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka Farstream.
+
+%package apidocs
+Summary:	Farstream API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki Farstream
+Group:		Documentation
+Requires:	gtk-doc-common
+
+%description apidocs
+API documentation for Farstream library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki Farstream.
+
+%package -n python-farstream
+Summary:	Farstream Python bindings
+Summary(pl.UTF-8):	Wiązania języka Python do Farstream
+Group:		Libraries/Python
+Requires:	%{name} = %{version}-%{release}
+
+%description -n python-farstream
+Farstream Python bindings.
+
+%description -n python-farstream -l pl.UTF-8
+Wiązania języka Python do Farstream.
+
+%prep
+%setup -q
+
+%build
+%{__libtoolize}
+%{__aclocal} -I m4 -I common/m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	%{__enable_disable apidocs gtk-doc} \
+	%{__enable_disable static_libs static} \
+	--disable-silent-rules \
+	--with-html-dir=%{_gtkdocdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/{farstream-0.1,gstreamer-0.10}/*.{a,la}
+%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.{a,la}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%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}/libfarstream-0.1.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libfarstream-0.1.so.0
+%{_libdir}/girepository-1.0/Farstream-0.1.typelib
+%dir %{_libdir}/farstream-0.1
+%attr(755,root,root) %{_libdir}/farstream-0.1/libmulticast-transmitter.so
+%attr(755,root,root) %{_libdir}/farstream-0.1/libnice-transmitter.so
+%attr(755,root,root) %{_libdir}/farstream-0.1/librawudp-transmitter.so
+%attr(755,root,root) %{_libdir}/farstream-0.1/libshm-transmitter.so
+%attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsfunnel.so
+%attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsmsnconference.so
+%attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsrawconference.so
+%attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsrtcpfilter.so
+%attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsrtpconference.so
+%attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsvideoanyrate.so
+%{_datadir}/farstream
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libfarstream-0.1.so
+%{_datadir}/gir-1.0/Farstream-0.1.gir
+%{_includedir}/farstream-0.1
+%{_pkgconfigdir}/farstream-0.1.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libfarstream-0.1.a
+%endif
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/farstream-libs-0.10
+%{_gtkdocdir}/farstream-plugins-0.1
+%endif
+
+%files -n python-farstream
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/farstream.so
+
+%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  2012/02/26 13:00:36  megabajt
+- new
+
================================================================


More information about the pld-cvs-commit mailing list