- BR: automoc4

- -backend-gstreamer subpkg
epel9
Rex Dieter 17 years ago
parent f5d75ded43
commit e8d7aa74f2

@ -5,7 +5,7 @@
Summary: Multimedia framework api Summary: Multimedia framework api
Name: phonon Name: phonon
Version: 4.2 Version: 4.2
Release: 0.3.%{?beta_tag}%{?dist} Release: 0.4.%{?beta_tag}%{?dist}
Group: System Environment/Libraries Group: System Environment/Libraries
License: LGPLv2+ License: LGPLv2+
@ -15,7 +15,7 @@ URL: http://phonon.kde.org/
Source0: ftp://ftp.kde.org/pub/kde/unstable/4.0.83/support/phonon-%{beta}.tar.bz2 Source0: ftp://ftp.kde.org/pub/kde/unstable/4.0.83/support/phonon-%{beta}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: automoc BuildRequires: automoc4
BuildRequires: cmake BuildRequires: cmake
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: gstreamer-devel BuildRequires: gstreamer-devel
@ -24,14 +24,22 @@ BuildRequires: kde-filesystem
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: qt4-devel BuildRequires: qt4-devel
# not sure exactly how best to version this one -- Rex Requires: phonon-backend
Provides: phonon-backend = %{version}-%{release}
# subpkg? -- Rex
Provides: phonon-backend-gstreamer = %{version}-%{release}
%description %description
%{summary}. %{summary}.
%package backend-gstreamer
Summary: Gstreamer phonon backend
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
# not sure exactly how best to version this one -- Rex
Provides: phonon-backend = %{version}-%{release}
# (temporary) upgrade path
Obsoletes: phonon < 4.2-0.4
%description backend-gstreamer
%{summary}.
%package devel %package devel
Summary: Developer files for %{name} Summary: Developer files for %{name}
Group: Development/Libraries Group: Development/Libraries
@ -42,6 +50,7 @@ Requires: pkgconfig
%{summary}. %{summary}.
%prep %prep
%setup -q -n phonon-%{beta} %setup -q -n phonon-%{beta}
@ -49,11 +58,10 @@ Requires: pkgconfig
%build %build
mkdir -p %{_target_platform} mkdir -p %{_target_platform}
pushd %{_target_platform} pushd %{_target_platform}
# %%cmake_kde4 or just %%cmake ? (and whether to use %%kde4_* macros or not) -- Rex
%{cmake} .. %{cmake} ..
popd popd
make %{?_smp_mflags} -C %{_target_platform} VERBOSE=1 make %{?_smp_mflags} -C %{_target_platform}
%install %install
@ -79,7 +87,9 @@ rm -rf %{buildroot}
# kde4-specific dirs # kde4-specific dirs
%dir %{_kde4_libdir}/kde4/plugins/phonon_backend/ %dir %{_kde4_libdir}/kde4/plugins/phonon_backend/
%dir %{_kde4_datadir}/kde4/services/phononbackends/ %dir %{_kde4_datadir}/kde4/services/phononbackends/
# phonon-backend-gstreamer
%files backend-gstreamer
%defattr(-,root,root,-)
%{_kde4_libdir}/kde4/plugins/phonon_backend/phonon_gstreamer.so %{_kde4_libdir}/kde4/plugins/phonon_backend/phonon_gstreamer.so
%{_kde4_datadir}/kde4/services/phononbackends/gstreamer.desktop %{_kde4_datadir}/kde4/services/phononbackends/gstreamer.desktop
@ -93,6 +103,10 @@ rm -rf %{buildroot}
%changelog %changelog
* Mon Jul 14 2008 Rex Dieter <rdieter@fedoraproject.org> 4.2-0.4.beta2
- BR: automoc4
- -backend-gstreamer subpkg
* Tue Jul 01 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.2-0.3.beta2 * Tue Jul 01 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> 4.2-0.3.beta2
- drop automoc libsuffix patch, no longer needed - drop automoc libsuffix patch, no longer needed

Loading…
Cancel
Save