2024-01-06 05:23:27 +01:00
|
|
|
Name: libphonon
|
2024-01-06 05:23:27 +01:00
|
|
|
Version: 4.9.0
|
|
|
|
Release: 1mamba
|
2024-01-06 05:23:27 +01:00
|
|
|
Summary: Multimedia API for KDE4
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
|
|
URL: http://www.kde.org
|
2024-01-06 05:23:27 +01:00
|
|
|
Source: http://download.kde.org/stable/phonon/%{version}/phonon-%{version}.tar.xz
|
2024-01-06 05:23:27 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 05:23:27 +01:00
|
|
|
BuildRequires: libQtDeclarative
|
2024-01-06 05:23:27 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
%if "%{stage1}" != "1"
|
|
|
|
BuildRequires: libpulseaudio-devel
|
|
|
|
BuildRequires: libpulseaudio-glib-devel
|
|
|
|
%endif
|
|
|
|
BuildRequires: libqt4-devel
|
2024-01-06 05:23:27 +01:00
|
|
|
BuildRequires: libqt5-devel
|
2024-01-06 05:23:27 +01:00
|
|
|
BuildRequires: libqzeitgeist-devel
|
2024-01-06 05:23:27 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: automoc4
|
2024-01-06 05:23:27 +01:00
|
|
|
#%if "%{stage1}" != "1"
|
|
|
|
#BuildRequires: kdelibs-devel
|
|
|
|
#%endif
|
2024-01-06 05:23:27 +01:00
|
|
|
Conflicts: libqt4-phonon
|
|
|
|
%if "%{stage1}" != "1"
|
|
|
|
Requires: phonon_backend
|
|
|
|
%endif
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Phonon is the multimedia API for KDE4.
|
|
|
|
Phonon was created to allow KDE4 to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Phonon is the multimedia API for KDE4.
|
|
|
|
Phonon was created to allow KDE4 to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
|
|
|
%package designer
|
|
|
|
Group: Development/Tools
|
|
|
|
Summary: libphonon widgets for Qt Designer
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description designer
|
|
|
|
Phonon is the multimedia API for KDE4.
|
|
|
|
Phonon was created to allow KDE4 to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
|
|
|
|
This package contains the libphonon widgets for Qt Designer.
|
|
|
|
|
2024-01-06 05:23:27 +01:00
|
|
|
%package -n %{name}-qt5
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Multimedia API for KF5
|
|
|
|
|
|
|
|
%description -n %{name}-qt5
|
|
|
|
Phonon is the multimedia API for KF5.
|
|
|
|
Phonon was created to allow KF5 to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
|
|
|
|
|
|
|
|
%package -n %{name}-qt5-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name}-qt5 = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n %{name}-qt5-devel
|
|
|
|
Phonon is the multimedia API for KF5.
|
|
|
|
Phonon was created to allow KF5 to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
|
|
|
%package -n %{name}-qt5-designer
|
|
|
|
Group: Development/Tools
|
|
|
|
Summary: libphonon widgets for Qt5 Designer
|
|
|
|
Requires: %{name}-qt5 = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description designer
|
|
|
|
Phonon is the multimedia API for KF5.
|
|
|
|
Phonon was created to allow KF5 to be independent of any single multimedia framework such as GStreamer or Xine and to provide a stable API for KDE4's lifetime.
|
|
|
|
This package contains the libphonon widgets for Qt5 Designer.
|
|
|
|
|
2024-01-06 05:23:27 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n phonon-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 05:23:27 +01:00
|
|
|
# NOTE: using rpm % cmake macro causes problems with paths
|
2024-01-06 05:23:27 +01:00
|
|
|
mkdir build
|
2024-01-06 05:23:27 +01:00
|
|
|
cd build
|
2024-01-06 05:23:27 +01:00
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
|
|
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
|
|
|
|
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
mkdir build-qt5
|
|
|
|
cd build-qt5
|
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
|
|
-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
|
|
|
|
-DPHONON_BUILD_PHONON4QT5=ON \
|
2024-01-06 05:23:27 +01:00
|
|
|
|
2024-01-06 05:23:27 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
2024-01-06 05:23:27 +01:00
|
|
|
%makeinstall -C build-qt5
|
2024-01-06 05:23:27 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libphonon.so.*
|
|
|
|
%{_libdir}/libphononexperimental.so.*
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml
|
|
|
|
%doc COPYING.LIB
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:23:27 +01:00
|
|
|
%dir %{_includedir}/KDE/Phonon
|
|
|
|
%{_includedir}/KDE/Phonon/*
|
|
|
|
%dir %{_includedir}/phonon
|
|
|
|
%{_includedir}/phonon/*
|
2024-01-06 05:23:27 +01:00
|
|
|
%{_libdir}/libphonon.so
|
|
|
|
%{_libdir}/libphononexperimental.so
|
|
|
|
%{_libdir}/pkgconfig/phonon.pc
|
|
|
|
%dir %{_libdir}/cmake/phonon
|
|
|
|
%{_libdir}/cmake/phonon/PhononConfig.cmake
|
|
|
|
%{_libdir}/cmake/phonon/PhononConfigVersion.cmake
|
2024-01-06 05:23:27 +01:00
|
|
|
%{_libdir}/cmake/phonon/PhononTargets-release.cmake
|
2024-01-06 05:23:27 +01:00
|
|
|
%{_libdir}/cmake/phonon/PhononTargets.cmake
|
2024-01-06 05:23:27 +01:00
|
|
|
%{_datadir}/qt4/mkspecs/modules/qt_phonon.pri
|
2024-01-06 05:23:27 +01:00
|
|
|
%dir %{_datadir}/phonon/buildsystem
|
|
|
|
%{_datadir}/phonon/buildsystem/COPYING-CMAKE-SCRIPTS
|
|
|
|
%{_datadir}/phonon/buildsystem/*.cmake
|
|
|
|
%{_datadir}/phonon/buildsystem/cmake_uninstall.cmake.in
|
|
|
|
|
|
|
|
%files designer
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:23:27 +01:00
|
|
|
%{_libdir}/qt4/plugins/designer/libphononwidgets.so
|
2024-01-06 05:23:27 +01:00
|
|
|
|
2024-01-06 05:23:27 +01:00
|
|
|
%files -n %{name}-qt5
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libphonon4qt5.so.*
|
|
|
|
%{_libdir}/libphonon4qt5experimental.so.*
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.kde.Phonon4Qt5.AudioOutput.xml
|
|
|
|
|
|
|
|
%files -n %{name}-qt5-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/phonon4qt5
|
|
|
|
%dir %{_includedir}/phonon4qt5/KDE
|
|
|
|
%dir %{_includedir}/phonon4qt5/KDE/Phonon
|
|
|
|
%{_includedir}/phonon4qt5/KDE/Phonon/*
|
|
|
|
%dir %{_includedir}/phonon4qt5/phonon
|
|
|
|
%{_includedir}/phonon4qt5/phonon/*
|
|
|
|
%dir %{_libdir}/cmake/phonon4qt5
|
|
|
|
%{_libdir}/cmake/phonon4qt5/Phonon*.cmake
|
2024-01-06 05:23:27 +01:00
|
|
|
%dir %{_libdir}/cmake/phonon
|
|
|
|
%{_libdir}/cmake/phonon/PhononExperimental*.cmake
|
2024-01-06 05:23:27 +01:00
|
|
|
%{_libdir}/libphonon4qt5.so
|
|
|
|
%{_libdir}/libphonon4qt5experimental.so
|
|
|
|
%{_libdir}/pkgconfig/phonon4qt5.pc
|
|
|
|
%{_libdir}/qt5/mkspecs/modules/qt_phonon4qt5.pri
|
|
|
|
%dir %{_datadir}/phonon4qt5/buildsystem
|
|
|
|
%{_datadir}/phonon4qt5/buildsystem/COPYING-CMAKE-SCRIPTS
|
|
|
|
%{_datadir}/phonon4qt5/buildsystem/*.cmake
|
|
|
|
%{_datadir}/phonon4qt5/buildsystem/cmake_uninstall.cmake.in
|
|
|
|
|
|
|
|
%files -n %{name}-qt5-designer
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:23:27 +01:00
|
|
|
%{_libdir}/qt5/plugins/designer/phononwidgets.so
|
2024-01-06 05:23:27 +01:00
|
|
|
|
2024-01-06 05:23:27 +01:00
|
|
|
%changelog
|
2024-01-06 05:23:27 +01:00
|
|
|
* Sat May 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 4.9.0-1mamba
|
|
|
|
- update to 4.9.0
|
|
|
|
|
2024-01-06 05:23:27 +01:00
|
|
|
* Sat Feb 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.3-2mamba
|
|
|
|
- added qt5 subpackage
|
|
|
|
|
2024-01-06 05:23:27 +01:00
|
|
|
* Thu Jan 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.3-1mamba
|
|
|
|
- update to 4.8.3
|
|
|
|
|
2024-01-06 05:23:27 +01:00
|
|
|
* Wed Jun 04 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 4.7.1-1mamba
|
|
|
|
- update to 4.7.1
|
|
|
|
|
2024-01-06 05:23:27 +01:00
|
|
|
* Fri Mar 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.0-1mamba
|
|
|
|
- update to 4.6.0
|
|
|
|
|
|
|
|
* Thu Aug 04 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.0-1mamba
|
|
|
|
- update to 4.5.0
|
|
|
|
|
|
|
|
* Sun Feb 20 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.4-3mamba
|
|
|
|
- added virtual requirement for phonon_backend
|
|
|
|
|
|
|
|
* Sat Jan 29 2011 Davide Madrisan <davide.madrisan@gmail.com> 4.4.4-2mamba
|
|
|
|
- rebuilt moving libraries to %{_libdir}
|
|
|
|
|
|
|
|
* Sun Jan 23 2011 Davide Madrisan <davide.madrisan@gmail.com> 4.4.4-1mamba
|
|
|
|
- update to 4.4.4
|
|
|
|
- move phonon.pc to %{_libdir}/pkgconfig (pkg-config doesn't work otherwise)
|
|
|
|
|
|
|
|
* Thu Jan 06 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.3-1mamba
|
|
|
|
- update to 4.4.3
|
|
|
|
|
|
|
|
* Tue Feb 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.0-1mamba
|
|
|
|
- update to 4.3.0
|
|
|
|
|
|
|
|
* Tue Oct 07 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.0-3mamba
|
|
|
|
- removed conflicts with libqt4-phonon
|
|
|
|
|
|
|
|
* Thu Aug 28 2008 Aleph0 <aleph0@openmamba.org> 4.2.0-2mamba
|
|
|
|
- add libphonon conflict against libqt4-phonon
|
|
|
|
|
|
|
|
* Thu Aug 28 2008 Aleph0 <aleph0@openmamba.org> 4.2.0-1mamba
|
|
|
|
- package created by autospec
|