Author: freetz Date: Mon May 15 21:07:37 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - recalled from the grave
---- Files affected: SPECS: gstreamer08x.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/gstreamer08x.spec diff -u /dev/null SPECS/gstreamer08x.spec:1.1 --- /dev/null Mon May 15 23:07:37 2006 +++ SPECS/gstreamer08x.spec Mon May 15 23:07:32 2006 @@ -0,0 +1,174 @@ +# $Revision$, $Date$ +# +%define _realname gstreamer +# +Summary: GStreamer Streaming-media framework runtime +Summary(pl): GStreamer - biblioteki środowiska do obróbki strumieni +Name: gstreamer08x +Version: 0.8.12 +Release: 1 +License: LGPL +Group: Libraries +Source0: http://gstreamer.freedesktop.org/src/gstreamer/%{_realname}-%{version}.tar.bz2 +# Source0-md5: 80f3c4957ab3e254cc90016f87ba5482 +Patch0: %{name}-without_ps_pdf.patch +URL: http://gstreamer.net/ +BuildRequires: autoconf >= 2.52 +BuildRequires: automake >= 1.6 +BuildRequires: bison >= 1.35 +BuildRequires: flex +BuildRequires: glib2-devel >= 1:2.6.0 +BuildRequires: gtk-doc >= 1.0 +BuildRequires: libtool >= 1.4 +BuildRequires: libxml2-devel >= 2.4.17 +BuildRequires: nasm +BuildRequires: perl-base +BuildRequires: pkgconfig >= 1:0.9.0 +BuildRequires: popt-devel >= 1.6.3 +BuildRequires: transfig +BuildRequires: xmlto +Requires: glib2 >= 1:2.6.0 +Requires(post): /sbin/ldconfig +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _gstlibdir %{_libdir}/gstreamer-0.8 +%define _gstincludedir %{_includedir}/gstreamer-0.8 +%define _gstcachedir %{_var}/cache/gstreamer + +%description +GStreamer is a streaming-media framework, based on graphs of filters +which operate on media data. Applications using this library can do +anything from real-time sound processing to playing videos, and just +about anything else media-related. Its plugin-based architecture means +that new data types or processing capabilities can be added simply by +installing new plugins. + +%description -l pl +GStreamer to środowisko obróbki danych strumieniowych, bazujące na +grafie filtrów operujących na danych medialnych. Aplikacje używające +tej biblioteki mogą robić wszystko od przetwarzania dźwięku w czasie +rzeczywistym, do odtwarzania filmów i czegokolwiek innego związanego z +mediami. Architektura bazująca na wtyczkach pozwala na łatwe dodawanie +nowych typów danych lub możliwości obróbki. + +%package devel +Summary: Include files for GStreamer streaming-media framework +Summary(pl): Pliki nagłówkowe do środowiska obróbki strumieni GStreamer +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: glib2-devel >= 1:2.4.4 +Requires: libxml2-devel >= 2.4.17 +Requires: popt-devel >= 1.6.3 + +%description devel +This package contains the includes files necessary to develop +applications and plugins for GStreamer. + +%description devel -l pl +Ten pakiet zawiera pliki nagłówkowe potrzebne do rozwijania aplikacji +i wtyczek do GStreamera. + +%package static +Summary: GStreamer static libraries +Summary(pl): Biblioteki statyczne GStreamer +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static versions of GStreamer libraries. + +%description static -l pl +Statyczne wersje bibliotek GStreamer. + +%prep +%setup -qn %{_realname}-%{version} +%patch0 -p1 + +%build +%{__libtoolize} +%{__aclocal} -I common/m4 +%{__autoconf} +%{__autoheader} +%{__automake} + +%configure \ + --program-suffix="" \ +%ifarch i586 i686 athlon + --enable-fast-stack-trash \ +%else + --disable-fast-stack-trash \ +%endif + --enable-libmmx \ + --enable-atomic \ + --disable-examples \ + --disable-tests \ + --disable-debug \ + --disable-debug-color \ + --enable-docs-build \ + --with-html-dir=%{_gtkdocdir} \ + --with-cachedir=%{_gstcachedir} + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_gstcachedir},%{_docdir}/%{_realname}-devel-%{version}} + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +touch $RPM_BUILD_ROOT%{_gstcachedir}/registry.xml + +mv $RPM_BUILD_ROOT%{_docdir}/%{_realname}-%{version}/{faq,manual,pwg} \ + $RPM_BUILD_ROOT%{_docdir}/%{_realname}-devel-%{version} + +%find_lang %{name} --all-name --with-gnome + +# no static modules and *.la for them - shut up check files +rm -f $RPM_BUILD_ROOT%{_gstlibdir}/lib*.{la,a} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig +umask 022 +%{_bindir}/gst-register-0.8 --gst-registry=%{_gstcachedir}/registry.xml > /dev/null 2> /dev/null ||: + +%postun -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README TODO +%attr(755,root,root) %{_bindir}/*-0.8 +%attr(755,root,root) %{_libdir}/lib*.so.*.*.* +%dir %{_gstlibdir} +%attr(755,root,root) %{_gstlibdir}/*.so +%dir %{_gstcachedir} +%ghost %{_gstcachedir}/registry.xml +%{_mandir}/man1/* + +%files devel +%defattr(644,root,root,755) +%doc DEVEL +%{_docdir}/%{_realname}-devel-%{version} +%attr(755,root,root) %{_libdir}/lib*.so +%{_libdir}/lib*.la +%{_gstincludedir} +%{_gtkdocdir}/* +%{_pkgconfigdir}/* +%{_aclocaldir}/* + +%files static +%defattr(644,root,root,755) +%{_libdir}/lib*.a + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/05/15 21:07:32 freetz +- recalled from the grave + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
