SPECS: phonon.spec (NEW) - initial

shadzik shadzik at pld-linux.org
Tue Jun 24 21:24:37 CEST 2008


Author: shadzik                      Date: Tue Jun 24 19:24:37 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   phonon.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/phonon.spec
diff -u /dev/null SPECS/phonon.spec:1.1
--- /dev/null	Tue Jun 24 21:24:37 2008
+++ SPECS/phonon.spec	Tue Jun 24 21:24:32 2008
@@ -0,0 +1,104 @@
+# $Revision$, $Date$
+%define		qtbrver		4.4.0
+Summary:	Phonon library
+Summary(pl.UTF-8):	Biblioteka phonon
+Name:		phonon
+Version:	4.1.83
+Release:	1
+License:	GPL v2
+Group:		X11/Libraries
+Source0:	ftp://ftp.kde.org/pub/kde/unstable/4.0.83/support/%{name}-%{version}.tar.bz2
+# Source0-md5:	7d0ae1321e7f013ce92b39548134b770
+URL:		http://www.kde.org/
+Patch0:		%{name}-lib64.patch
+BuildRequires:	QtCore-devel >= %{qtbrver}
+BuildRequires:	QtDBus-devel >= %{qtbrver}
+BuildRequires:	QtNetwork-devel >= %{qtbrver}
+BuildRequires:	QtSql-devel >= %{qtbrver}
+BuildRequires:	QtTest-devel >= %{qtbrver}
+BuildRequires:	cmake
+BuildRequires:	qt4-build >= %{qtbrver}
+BuildRequires:	qt4-qmake >= %{qtbrver}
+BuildRequires:	rpmbuild(macros) >= 1.293
+Provides:	qt4-phonon
+Obsoletes:	qt4-phonon
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Phonon library.
+
+%description -l pl.UTF-8
+Biblioteka phonon.
+
+%package devel
+Summary:        Phonon files
+Group:          Development/Libraries
+Requires:	%{name} == %{version}-%{release}
+Requires:	kde4-kdelibs-devel
+Provides:	qt4-phonon-devel
+Obsoletes:	qt4-phonon-devel
+
+%description devel
+Header files for phonon.
+
+%description devel -l pl.UTF-8
+Pliki nag³ówkowe dla phonon.
+
+%prep
+%setup -q
+%patch0 -p0
+
+%build
+install -d build
+cd build
+%cmake \
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%if "%{_lib}" == "lib64"
+	-DLIB_SUFFIX=64 \
+%endif
+	..
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libphonon.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libphonon.so.?
+%attr(755,root,root) %{_libdir}/libphononexperimental.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libphononexperimental.so.?
+%dir %{_libdir}/kde4/plugins/phonon_backend
+%attr(755,root,root) %{_libdir}/kde4/plugins/phonon_backend/phonon_gstreamer.so
+%dir %{_datadir}/dbus-1/interfaces
+%{_datadir}/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml
+%dir %{_datadir}/kde4/services/phononbackends
+%{_datadir}/kde4/services/phononbackends/gstreamer.desktop
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libphonon.so
+%{_libdir}/libphononexperimental.so
+%{_includedir}/phonon
+%{_includedir}/KDE/Phonon
+%{_pkgconfigdir}/phonon.pc
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/06/24 19:24:32  shadzik
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list