parent
140f9a081f
commit
918e7b58f4
|
@ -1 +1,2 @@
|
||||||
/qt-mobility-opensource-src-1.2.0.tar.gz
|
/qt-mobility-opensource-src-1.2.0.tar.gz
|
||||||
|
/qt-mobility-opensource-src-1.2.0-20110922.tar.xz
|
||||||
|
|
|
@ -2,14 +2,22 @@
|
||||||
# options
|
# options
|
||||||
#define examples 1
|
#define examples 1
|
||||||
|
|
||||||
|
%define snap 20110922
|
||||||
|
|
||||||
Name: qt-mobility
|
Name: qt-mobility
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Release: 4%{?dist}
|
Release: 5.%{snap}%{?dist}
|
||||||
Summary: Qt Mobility Framework
|
Summary: Qt Mobility Framework
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: LGPLv2 with exceptions
|
License: LGPLv2 with exceptions
|
||||||
URL: http://qt.nokia.com/products/qt-addons/mobility
|
URL: http://qt.nokia.com/products/qt-addons/mobility
|
||||||
|
%if 0%{?snap:1}
|
||||||
|
# git clone git://gitorious.org/qt-mobility/qt-mobility.git
|
||||||
|
# cd qt-mobility; git archive --prefix=qt-mobility-opensource-src-1.2.0/ master | xz -9 > qt-mobility-opensources-src-1.2.0-20110922.tar.xz
|
||||||
|
Source0: qt-mobility-opensource-src-1.2.0-%{snap}.tar.xz
|
||||||
|
%else
|
||||||
Source0: http://get.qt.nokia.com/qt/add-ons/qt-mobility-opensource-src-%{version}.tar.gz
|
Source0: http://get.qt.nokia.com/qt/add-ons/qt-mobility-opensource-src-%{version}.tar.gz
|
||||||
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Provides: qt4-mobility = %{version}-%{release}
|
Provides: qt4-mobility = %{version}-%{release}
|
||||||
|
@ -22,18 +30,20 @@ Patch50: qt-mobility-opensource-src-1.2.0-translationsdir.patch
|
||||||
# double-check if this is still required -- Rex
|
# double-check if this is still required -- Rex
|
||||||
Patch101: qt-mobility-opensource-src-1.1.0-pulseaudio-lib.patch
|
Patch101: qt-mobility-opensource-src-1.1.0-pulseaudio-lib.patch
|
||||||
|
|
||||||
BuildRequires: alsa-lib-devel
|
|
||||||
BuildRequires: bluez-libs-devel
|
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: gstreamer-plugins-bad-free-devel
|
BuildRequires: pkgconfig(alsa)
|
||||||
BuildRequires: gstreamer-plugins-base-devel
|
BuildRequires: pkgconfig(blkid)
|
||||||
BuildRequires: libXv-devel
|
BuildRequires: pkgconfig(bluez)
|
||||||
BuildRequires: libudev-devel
|
BuildRequires: pkgconfig(gstreamer-plugins-bad-0.10)
|
||||||
BuildRequires: NetworkManager-devel
|
BuildRequires: pkgconfig(gstreamer-app-0.10)
|
||||||
BuildRequires: pulseaudio-libs-devel
|
BuildRequires: pkgconfig(libpulse)
|
||||||
|
BuildRequires: pkgconfig(libudev)
|
||||||
|
BuildRequires: pkgconfig(NetworkManager)
|
||||||
|
BuildRequires: pkgconfig(QtCore) pkgconfig(QtGui) pkgconfig(QtOpenGL)
|
||||||
|
BuildRequires: pkgconfig(xv)
|
||||||
|
|
||||||
## under review, http://bugzilla.redhat.com/626122
|
## under review, http://bugzilla.redhat.com/626122
|
||||||
# BuildRequires: libqmf-devel >= 1.0
|
# BuildRequires: libqmf-devel >= 1.0
|
||||||
BuildRequires: qt4-devel
|
|
||||||
|
|
||||||
%{?_qt4_version:Requires: qt4%{?_isa} >= %{_qt4_version}}
|
%{?_qt4_version:Requires: qt4%{?_isa} >= %{_qt4_version}}
|
||||||
|
|
||||||
|
@ -102,6 +112,8 @@ PATH=%{_qt4_bindir}:$PATH; export PATH
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
make %{?_smp_mflags} qch_docs
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
@ -132,11 +144,9 @@ rm -rf %{buildroot}
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE.LGPL LGPL_EXCEPTION.txt
|
%doc LICENSE.LGPL LGPL_EXCEPTION.txt
|
||||||
%doc changes*
|
|
||||||
%{_qt4_libdir}/libQtBearer.so.1*
|
%{_qt4_libdir}/libQtBearer.so.1*
|
||||||
%{_qt4_libdir}/libQtContacts.so.1*
|
%{_qt4_libdir}/libQtContacts.so.1*
|
||||||
%{_qt4_libdir}/libQtConnectivity.so.1*
|
%{_qt4_libdir}/libQtConnectivity.so.1*
|
||||||
|
@ -224,6 +234,10 @@ rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 22 2011 Rex Dieter <rdieter@fedoraproject.org> 1.2.0-5.20110922
|
||||||
|
- 20110922 snapshot
|
||||||
|
- use pkgconfig-style deps
|
||||||
|
|
||||||
* Wed Jul 20 2011 Rex Dieter <rdieter@fedoraproject.org> 1.2.0-4
|
* Wed Jul 20 2011 Rex Dieter <rdieter@fedoraproject.org> 1.2.0-4
|
||||||
- rebuild (qt48)
|
- rebuild (qt48)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue