You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
122 lines
2.8 KiB
122 lines
2.8 KiB
|
|
Summary: Multimedia framework api
|
|
Name: phonon
|
|
Version: 4.2.0
|
|
Release: 3%{?dist}
|
|
|
|
Group: System Environment/Libraries
|
|
License: LGPLv2+
|
|
URL: http://phonon.kde.org/
|
|
Source0: ftp://ftp.kde.org/pub/kde/stable/phonon/%{version}/phonon-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: automoc4
|
|
BuildRequires: cmake
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: gstreamer-devel
|
|
BuildRequires: gstreamer-plugins-base-devel
|
|
BuildRequires: kde-filesystem
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: qt4-devel >= 4.4.0
|
|
|
|
Requires: phonon-backend
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%package backend-gst
|
|
Summary: Gstreamer phonon backend
|
|
Group: Applications/Multimedia
|
|
Requires: %{name} = %{version}-%{release}
|
|
Provides: phonon-backend = %{version}-%{release}
|
|
Obsoletes: %{name}-backend-gstreamer < 4.2.0-2
|
|
Provides: %{name}-backend-gstreamer = %{version}-%{release}
|
|
%description backend-gst
|
|
%{summary}.
|
|
|
|
%package devel
|
|
Summary: Developer files for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: qt4-devel
|
|
Requires: pkgconfig
|
|
%description devel
|
|
%{summary}.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
|
|
%build
|
|
mkdir -p %{_target_platform}
|
|
pushd %{_target_platform}
|
|
%{cmake} ..
|
|
popd
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
|
|
make install DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING.LIB
|
|
%{_libdir}/libphonon*.so.*
|
|
%{_datadir}/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml
|
|
# kde4-specific dirs
|
|
%dir %{_kde4_libdir}/kde4/plugins/phonon_backend/
|
|
%dir %{_kde4_datadir}/kde4/services/phononbackends/
|
|
|
|
%files backend-gst
|
|
%defattr(-,root,root,-)
|
|
%{_kde4_libdir}/kde4/plugins/phonon_backend/phonon_gstreamer.so
|
|
%{_kde4_datadir}/kde4/services/phononbackends/gstreamer.desktop
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%dir %{_includedir}/KDE
|
|
%{_includedir}/KDE/Phonon/
|
|
%{_includedir}/phonon/
|
|
%{_libdir}/pkgconfig/phonon.pc
|
|
%{_libdir}/libphonon*.so
|
|
|
|
|
|
%changelog
|
|
* Sat Aug 02 2008 Rex Dieter <rdieter@fedoraproject.org> 4.2.0-3
|
|
- -backend-gst: Obsoletes: -backend-gstreamer < 4.2.0-2
|
|
|
|
* Thu Jul 24 2008 Rex Dieter <rdieter@fedoraproject.org> 4.2.0-2
|
|
- rename -backend-gstreamer -> backend-gst
|
|
|
|
* Wed Jul 23 2008 Rex Dieter <rdieter@fedoraproject.org> 4.2.0-1
|
|
- phonon-4.2.0
|
|
|
|
* 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
|
|
- drop automoc libsuffix patch, no longer needed
|
|
|
|
* Fri Jun 20 2008 Rex Dieter <rdieter@fedoraproject.org> 4.2-0.2.beta2
|
|
- phonon 4.2beta2 (aka 4.1.83)
|
|
|
|
* Sat Jun 14 2008 Rex Dieter <rdieter@fedoraproject.org> 4.2-0.1.20080614svn820634
|
|
- first try
|
|
|