86 lines
2.3 KiB
RPMSpec
86 lines
2.3 KiB
RPMSpec
Name: phonon-backend-gstreamer
|
|
Version: 4.6.3
|
|
Release: 1mamba
|
|
Summary: Gstreamer phonon backend
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
URL: http://www.kde.org
|
|
Source: ftp://ftp.kde.org/pub/kde/stable/phonon/phonon-backend-gstreamer/%{version}/src/phonon-backend-gstreamer-%{version}.tar.xz
|
|
License: LGPL
|
|
BuildRequires: cmake
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: gst-plugins-good
|
|
BuildRequires: libalsa-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libGL-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgst-plugins-base010-devel
|
|
BuildRequires: libgstreamer010-devel
|
|
BuildRequires: libphonon-devel
|
|
BuildRequires: libqt4-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
Provides: phonon_backend
|
|
Requires: libqt4 >= %_qt4_version
|
|
Requires: gst-plugins-good010
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Gstreamer phonon backend.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake_kde4 -d build
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post
|
|
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
|
exit 0
|
|
|
|
%posttrans
|
|
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
|
exit 0
|
|
|
|
%postun
|
|
if [ $1 -eq 0 ]; then
|
|
touch --no-create %{_kde4_icondir}/hicolor &>/dev/null
|
|
gtk-update-icon-cache %{_kde4_icondir}/hicolor &>/dev/null
|
|
fi
|
|
exit 0
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_kde4_libdir}/kde4/plugins/phonon_backend/phonon_gstreamer.so
|
|
%{_kde4_icondir}/hicolor/*/apps/phonon-gstreamer.png
|
|
%{_kde4_icondir}/hicolor/*/apps/phonon-gstreamer.svgz
|
|
%{_kde4_servicesdir}/phononbackends/gstreamer.desktop
|
|
%doc COPYING.LIB
|
|
|
|
%changelog
|
|
* Sun Feb 03 2013 Davide Madrisan <davide.madrisan@gmail.com> 4.6.3-1mamba
|
|
- update to 4.6.3
|
|
|
|
* Thu Aug 16 2012 Automatic Build System <autodist@mambasoft.it> 4.6.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Mar 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.6.0-1mamba
|
|
- update to 4.6.0
|
|
|
|
* Mon Aug 08 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.1-1mamba
|
|
- update to 4.5.1
|
|
|
|
* Sun Jan 23 2011 Davide Madrisan <davide.madrisan@gmail.com> 4.4.4-1mamba
|
|
- package created by autospec
|