6902
|
1 |
#
|
7599
|
2 |
# spec file for package gst-fluendo-mpegdemux
|
6902
|
3 |
#
|
|
4 |
# Copyright (c) 2006 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# package are under the same license as the package itself.
|
|
7 |
#
|
|
8 |
|
|
9 |
###########################################################################
|
|
10 |
# NOTE: This spec file is NOT to be released outside of Sun Microsystems. #
|
|
11 |
# This means that it must not be released onto opensolaris.org. #
|
|
12 |
###########################################################################
|
|
13 |
|
7599
|
14 |
Name: gst-fluendo-mpegdemux
|
6902
|
15 |
License: MIT
|
7599
|
16 |
Version: 0.10.7
|
|
17 |
Release: 2
|
6902
|
18 |
Distribution: Java Desktop System
|
|
19 |
Vendor: Sun Microsystems, Inc.
|
|
20 |
Group: Libraries/Multimedia
|
|
21 |
Summary: GStreamer Streaming-media framework plug-ins.
|
|
22 |
URL: http://core.fluendo.com/
|
7146
|
23 |
Source: http://core.fluendo.com/gstreamer/src/%{name}/%{name}-%{version}.tar.bz2
|
7599
|
24 |
BuildRoot: %{_tmppath}/gst-fluendo-mpegdemux-%{version}-root
|
6902
|
25 |
Docdir: %{_defaultdocdir}/doc
|
|
26 |
Autoreqprov: on
|
|
27 |
Prereq: /sbin/ldconfig
|
|
28 |
|
|
29 |
%define majorminor 0.8
|
|
30 |
|
|
31 |
%define _glib2 1.3.12
|
|
32 |
|
|
33 |
BuildRequires: glibc-devel
|
|
34 |
BuildRequires: glib2-devel >= %_glib2
|
|
35 |
BuildRequires: gstreamer-devel >= 0.10.0
|
|
36 |
BuildRequires: gstreamer-tools >= 0.10.0
|
|
37 |
BuildRequires: gst-plugins-base-devel >= 0.10.0
|
|
38 |
|
|
39 |
Requires: glib2 >= %_glib2
|
|
40 |
Requires: gstreamer >= 0.10.0
|
|
41 |
Requires: gst-plugins-base >= 0.10.0
|
|
42 |
|
|
43 |
%description
|
|
44 |
GStreamer MP3 Plugin.
|
|
45 |
|
|
46 |
%prep
|
7599
|
47 |
%setup -n gst-fluendo-mpegdemux-%{version} -q
|
6902
|
48 |
|
|
49 |
%build
|
|
50 |
|
|
51 |
%ifos linux
|
|
52 |
export PATH=%{JDS_CBE_prefix}/bin:$PATH
|
|
53 |
export ACLOCAL_FLAGS="-I %{JDS_CBE_prefix}/share/aclocal -I %{_datadir}/aclocal"
|
|
54 |
%endif
|
|
55 |
|
|
56 |
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
|
|
57 |
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
|
|
58 |
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
|
|
59 |
glib-gettextize -f
|
7599
|
60 |
aclocal -I ./m4 $ACLOCAL_FLAGS
|
6902
|
61 |
libtoolize --copy --force
|
|
62 |
autoheader
|
|
63 |
autoconf
|
|
64 |
automake -a -c -f
|
|
65 |
./configure \
|
|
66 |
--prefix=%{_prefix} \
|
|
67 |
--sysconfdir=%{_sysconfdir} \
|
|
68 |
--mandir=%{_mandir}
|
|
69 |
|
|
70 |
if [ "$SMP" != "" ]; then
|
|
71 |
(make "MAKE=make -k -j $SMP"; exit 0)
|
|
72 |
make 2>&1 | tee make.log
|
|
73 |
else
|
|
74 |
make 2>&1 | tee make.log
|
|
75 |
fi
|
|
76 |
|
|
77 |
%install
|
|
78 |
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ]
|
|
79 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
7303
|
80 |
make DESTDIR=$RPM_BUILD_ROOT install
|
6902
|
81 |
|
|
82 |
# Clean out files that should not be part of the rpm.
|
|
83 |
# This is the recommended way of dealing with it for RH8
|
|
84 |
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la
|
|
85 |
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
|
|
86 |
|
|
87 |
%clean
|
|
88 |
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
89 |
|
|
90 |
%files
|
|
91 |
%defattr(-, root, root)
|
|
92 |
%doc AUTHORS COPYING README REQUIREMENTS
|
|
93 |
%{_libdir}/gstreamer-%{majorminor}/lib*.so
|
|
94 |
|
|
95 |
%changelog
|
7599
|
96 |
* Mon Jul 10 2006 - [email protected]
|
|
97 |
- Bump to 0.10.7.
|
|
98 |
|
7146
|
99 |
* Thu Apr 27 2006 - [email protected]
|
|
100 |
- Bump to 0.10.2.
|
|
101 |
|
6902
|
102 |
* Thu Jan 12 2006 - [email protected]
|
|
103 |
- Created.
|