Search
j0ke.net Open Build Service
>
Projects
>
multimedia
:
SL11
>
phonon
> phonon.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File phonon.spec of Package phonon
# # spec file for package phonon (Version 4.4.2) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: phonon BuildRequires: automoc4 cmake kde4-filesystem libpulse-devel libqt4-devel BuildRequires: fdupes Version: 4.4.2 Release: 1 License: LGPLv2.0+ Url: http://phonon.kde.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Development/Libraries/KDE Summary: Phonon Multimedia Platform Abstraction Source0: %name-%{version}.tar.bz2 Source1: baselibs.conf %if %suse_version > 1030 %requires_ge libqt4 %endif Requires: phonon-backend >= %version Requires: libphonon4 = %version %description Phonon is a cross-platform portable Multimedia Support Abstraction, which allows you to play multiple audio or video formats with the same quality on all platforms, no matter which underlying architecture is used. Authors: -------- Matthias Kretz %package devel License: LGPLv2.0+ Summary: Phonon Multimedia Platform Abstraction Group: Development/Libraries/KDE Requires: %name = %version Requires: libphonon4 = %version Requires: libqt4-devel %description devel Phonon is a cross-platform portable Multimedia Support Abstraction, which allows you to play multiple audio or video formats with the same quality on all platforms, no matter which underlying architecture is used. Authors: -------- Matthias Kretz %package -n libphonon4 License: LGPLv2.0+ Summary: Phonon Multimedia Platform Abstraction Group: Development/Libraries/KDE %requires_ge libqt4-x11 %description -n libphonon4 Phonon is a cross-platform portable Multimedia Support Abstraction, which allows you to play multiple audio or video formats with the same quality on all platforms, no matter which underlying architecture is used. %prep %setup -q %build %cmake_kde4 -d build %make_jobs %install cd build %makeinstall install -d -m 0755 $RPM_BUILD_ROOT/%_libdir/kde4/plugins install -d -m 0755 $RPM_BUILD_ROOT/%_libdir/kde4/plugins/phonon_backend %fdupes $RPM_BUILD_ROOT/usr/include %clean rm -rf "$RPM_BUILD_ROOT" %post -n libphonon4 -p /sbin/ldconfig %postun -n libphonon4 -p /sbin/ldconfig %files %defattr(-,root,root) %if %suse_version > 1010 %dir %_kde4_modules/plugins %dir %_kde4_modules/plugins/phonon_backend %endif /usr/share/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml %files -n libphonon4 %defattr(-,root,root) %_libdir/libphonon.so.4 %_libdir/libphonon.so.4.4.0 %_libdir/libphononexperimental.so.4 %_libdir/libphononexperimental.so.4.4.0 %files devel %defattr(-,root,root) /usr/include/phonon %dir /usr/include/KDE /usr/include/KDE/Phonon %_libdir/libphonon.so %_libdir/libphononexperimental.so %_libdir/pkgconfig/phonon.pc %changelog