added qt5 subpackage [release 4.8.3-2mamba;Sat Feb 14 2015]
This commit is contained in:
parent
8b67ac7773
commit
4d68458a31
105
libphonon.spec
105
libphonon.spec
@ -1,6 +1,6 @@
|
|||||||
Name: libphonon
|
Name: libphonon
|
||||||
Version: 4.8.3
|
Version: 4.8.3
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Multimedia API for KDE4
|
Summary: Multimedia API for KDE4
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -18,15 +18,15 @@ BuildRequires: libpulseaudio-devel
|
|||||||
BuildRequires: libpulseaudio-glib-devel
|
BuildRequires: libpulseaudio-glib-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: libqt4-devel
|
BuildRequires: libqt4-devel
|
||||||
|
BuildRequires: libqt5-devel
|
||||||
BuildRequires: libqzeitgeist-devel
|
BuildRequires: libqzeitgeist-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: automoc4
|
BuildRequires: automoc4
|
||||||
%if "%{stage1}" != "1"
|
#%if "%{stage1}" != "1"
|
||||||
BuildRequires: kdelibs-devel
|
#BuildRequires: kdelibs-devel
|
||||||
%endif
|
#%endif
|
||||||
BuildRequires: libqzeitgeist-devel
|
|
||||||
Conflicts: libqt4-phonon
|
Conflicts: libqt4-phonon
|
||||||
%if "%{stage1}" != "1"
|
%if "%{stage1}" != "1"
|
||||||
Requires: phonon_backend
|
Requires: phonon_backend
|
||||||
@ -45,7 +45,6 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
%description devel
|
%description devel
|
||||||
Phonon is the multimedia API for KDE4.
|
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.
|
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.
|
This package contains static libraries and header files need for development.
|
||||||
|
|
||||||
%package designer
|
%package designer
|
||||||
@ -56,28 +55,68 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
%description designer
|
%description designer
|
||||||
Phonon is the multimedia API for KDE4.
|
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.
|
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.
|
This package contains the libphonon widgets for Qt Designer.
|
||||||
|
|
||||||
|
%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.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n phonon-%{version}
|
%setup -q -n phonon-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# NOTE: using rpm % cmake macro causes problems with paths
|
# NOTE: using rpm % cmake macro causes problems with paths
|
||||||
mkdir -p build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} ..
|
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 \
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build
|
||||||
|
%makeinstall -C build-qt5
|
||||||
#%if "%{stage1}" != "1"
|
|
||||||
#install -d %{buildroot}%{_kde4_libdir}/kde4/plugins/phonon_backend/
|
|
||||||
#install -d %{buildroot}%{_kde4_servicesdir}/phononbackends/
|
|
||||||
#%endif
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -90,10 +129,6 @@ cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} ..
|
|||||||
%{_libdir}/libphonon.so.*
|
%{_libdir}/libphonon.so.*
|
||||||
%{_libdir}/libphononexperimental.so.*
|
%{_libdir}/libphononexperimental.so.*
|
||||||
%{_datadir}/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml
|
%{_datadir}/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml
|
||||||
#%if "%{stage1}" != "1"
|
|
||||||
#%dir %{_kde4_libdir}/kde4/plugins/phonon_backend
|
|
||||||
#%dir %{_kde4_servicesdir}/phononbackends
|
|
||||||
#%endif
|
|
||||||
%doc COPYING.LIB
|
%doc COPYING.LIB
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -108,7 +143,7 @@ cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} ..
|
|||||||
%dir %{_libdir}/cmake/phonon
|
%dir %{_libdir}/cmake/phonon
|
||||||
%{_libdir}/cmake/phonon/PhononConfig.cmake
|
%{_libdir}/cmake/phonon/PhononConfig.cmake
|
||||||
%{_libdir}/cmake/phonon/PhononConfigVersion.cmake
|
%{_libdir}/cmake/phonon/PhononConfigVersion.cmake
|
||||||
%{_libdir}/cmake/phonon/PhononTargets-noconfig.cmake
|
%{_libdir}/cmake/phonon/PhononTargets-release.cmake
|
||||||
%{_libdir}/cmake/phonon/PhononTargets.cmake
|
%{_libdir}/cmake/phonon/PhononTargets.cmake
|
||||||
%{_datadir}/qt4/mkspecs/modules/qt_phonon.pri
|
%{_datadir}/qt4/mkspecs/modules/qt_phonon.pri
|
||||||
%dir %{_datadir}/phonon/buildsystem
|
%dir %{_datadir}/phonon/buildsystem
|
||||||
@ -120,7 +155,39 @@ cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} ..
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/qt4/plugins/designer/libphononwidgets.so
|
%{_libdir}/qt4/plugins/designer/libphononwidgets.so
|
||||||
|
|
||||||
|
%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
|
||||||
|
%{_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)
|
||||||
|
%{_libdir}/qt5/plugins/designer/libphononwidgets.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.3-2mamba
|
||||||
|
- added qt5 subpackage
|
||||||
|
|
||||||
* Thu Jan 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.3-1mamba
|
* Thu Jan 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.8.3-1mamba
|
||||||
- update to 4.8.3
|
- update to 4.8.3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user