gstreamer-player/gstreamer-player.spec

Name: gstreamer-player
Summary: GStreamer Streaming media framework player
Version: 0.8.0
Release: 1.2
License: LGPL
Group: Applications/Multimedia
URL: http://gstreamer.net/apps/gst-player/
Description: This package contains the GStreamer media player and libgstplay, a simple GStreamer playback wrapper library.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag


%define real_name gst-player

Summary: GStreamer Streaming media framework player
Name: gstreamer-player
Version: 0.8.0
Release: 1.2%{?dist}
License: LGPL
Group: Applications/Multimedia
URL: http://gstreamer.net/apps/gst-player/

Source: http://gstreamer.freedesktop.org/src/gst-player/gst-player-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: gtk2-devel >= 2.2, glib2-devel, libgnomeui-devel, libglade2-devel
BuildRequires: gstreamer-devel >= 0.8.0, gstreamer-plugins-devel >= 0.8.0
#BuildRequires: gstreamer-play, gstreamer-GConf
BuildRequires: gettext, eel2-devel, gail-devel, zlib-devel, gcc-c++
%{!?dtag:BuildRequires: nautilus-devel}
%{?el4:BuildRequires: nautilus-devel}
%{?fc3:BuildRequires: nautilus-devel}
%{?fc2:BuildRequires: nautilus-devel}
%{?fc1:BuildRequires: nautilus-devel}
%{?el3:BuildRequires: nautilus-devel}
%{?rh9:BuildRequires: nautilus-devel}
%{?rh8:BuildRequires: nautilus-devel}
%{?rh7:BuildRequires: nautilus2-devel}

%description
This package contains the GStreamer media player and libgstplay, a simple
GStreamer playback wrapper library.

%package devel
Summary: Header files, libraries and development documentation for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%package -n nautilus-gstreamer
Summary: GStreamer nautilus view
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}

%description -n nautilus-gstreamer
GStreamer nautilus view for media files.

%package -n mozilla-gstreamer
Summary: GStreamer plugin for Mozilla
Group: Applications/Internet
Requires: %{name} = %{version}-%{release}

%description -n mozilla-gstreamer
This package contains a plugin for the Mozilla browser that makes it
possible to use the gstreamer-player in Mozilla.

%prep
%setup -n %{real_name}-%{version}

%build
%configure \
	--enable-debug \
	--enable-static \
	--with-configdir="%{_sysconfdir}/gstreamer" \
	--disable-tests \
	--disable-examples \
	--disable-debug-color \
	--enable-docs-build \
	--disable-schemas-install

%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
%makeinstall
%find_lang %{real_name}

%post
/sbin/ldconfig 2>/dev/null
export GCONF_CONFIG_SOURCE="$(gconftool-2 --get-default-source)"
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{real_name}.schemas &>/dev/null
scrollkeeper-update -q

%postun
/sbin/ldconfig 2>/dev/null
scrollkeeper-update -q

%clean
%{__rm} -rf %{buildroot}

%files -f %{real_name}.lang
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
%doc %{_mandir}/man?/*
%config %{_sysconfdir}/gconf/schemas/*.schemas
%{_bindir}/*
%{_libdir}/*.so.*
%{_datadir}/application-registry/*.applications
%{_datadir}/applications/*.desktop
%{_datadir}/gst-player/
%{_datadir}/mime-info/*.keys
%{_datadir}/pixmaps/*

%files devel
%defattr(-, root, root, 0755)
%{_libdir}/*.a
%exclude %{_libdir}/*.la
%{_libdir}/*.so
%{_includedir}/gst-player-%{version}/

#%files -n mozilla-gstreamer
#%defattr(-, root, root, 0755)
#%{_libdir}/mozilla/plugins/*.so

%files -n nautilus-gstreamer
%defattr(-, root, root, 0755)
%{_libdir}/bonobo/servers/*.server
%{_libexecdir}/*
%{_datadir}/gnome-2.0/ui/gst-player-view-ui.xml

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.8.0-1.2
- Rebuild for Fedora Core 5.

* Thu May 20 2004 Dag Wieers <dag@wieers.com> - 0.8.0-1
- Updated to release 0.8.0.

* Sun Sep 14 2003 Dag Wieers <dag@wieers.com> - 0.6.0-0
- Updated to release 0.6.0.

* Sun May 11 2003 Dag Wieers <dag@wieers.com> - 0.5.1-0
- Initial package. (using DAR)