Hello community,

here is the log from the commit of package lightdm for openSUSE:Factory checked 
in at 2014-02-22 18:11:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lightdm (Old)
 and      /work/SRC/openSUSE:Factory/.lightdm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lightdm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/lightdm/lightdm.changes  2014-02-08 
10:34:25.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.lightdm.new/lightdm.changes     2014-02-22 
18:11:20.000000000 +0100
@@ -1,0 +2,5 @@
+Fri Feb 21 20:38:37 UTC 2014 - [email protected]
+
+- Enable Qt5 version build of the library for >= 13.1
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lightdm.spec ++++++
--- /var/tmp/diff_new_pack.F53rgt/_old  2014-02-22 18:11:21.000000000 +0100
+++ /var/tmp/diff_new_pack.F53rgt/_new  2014-02-22 18:11:21.000000000 +0100
@@ -21,6 +21,8 @@
 %define gobject_lib     lib%{gobject_libname}-0
 %define qt_libname      lightdm-qt-3
 %define qt_lib          lib%{qt_libname}-0
+%define qt5_libname     lightdm-qt5-3
+%define qt5_lib         lib%{qt5_libname}-0
 %if 0%{?suse_version} >= 1230
 %define rundir          /run
 %else
@@ -69,6 +71,9 @@
 BuildRequires:  pkgconfig(QtCore)
 BuildRequires:  pkgconfig(QtDBus)
 BuildRequires:  pkgconfig(QtGui)
+BuildRequires:  pkgconfig(Qt5Core)
+BuildRequires:  pkgconfig(Qt5DBus)
+BuildRequires:  pkgconfig(Qt5Gui)
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xcb)
 BuildRequires:  pkgconfig(xdmcp)
@@ -128,6 +133,26 @@
 This package contains development files needed for developing Qt-based
 LightDM clients.
 
+%if 0%{?suse_version} >= 1310
+%package -n %{qt5_lib}
+License:        LGPL-2.0 or LGPL-3.0
+Summary:        LightDM Qt5-based Client Library
+Group:          System/Libraries
+
+%description -n %{qt5_lib}
+A Qt5-based library for LightDM clients to use to interface with LightDM.
+
+%package qt5-devel
+License:        LGPL-2.0 or LGPL-3.0
+Summary:        Development Files for %{qt5_lib}
+Group:          Development/Libraries/C and C++
+Requires:       %{qt5_lib} = %{version}
+
+%description qt5-devel
+This package contains development files needed for developing Qt5-based
+LightDM clients.
+%endif
+
 %prep
 %setup -q
 %patch0 -p1
@@ -141,6 +166,10 @@
 %endif
 
 %build
+%if 0%{?suse_version} >= 1310
+export MOC4='%{_bindir}/moc'
+export MOC5='%{_libqt5_bindir}/moc'
+%endif
 bash ./autogen.sh
 %configure \
     --libexecdir=%{_libexecdir} \
@@ -200,6 +229,12 @@
 
 %postun -n %{qt_lib} -p /sbin/ldconfig
 
+%if 0%{?suse_version} >= 1310
+%post -n %{qt5_lib} -p /sbin/ldconfig
+
+%postun -n %{qt5_lib} -p /sbin/ldconfig
+%endif
+
 %files
 %defattr(-,root,root,-)
 %doc COPYING.GPL3 NEWS
@@ -257,4 +292,17 @@
 %{_libdir}/pkgconfig/lib%{qt_libname}.pc
 %{_includedir}/%{qt_libname}/
 
+%if 0%{?suse_version} >= 1310
+%files -n %{qt5_lib}
+%defattr(-,root,root,-)
+%doc COPYING.LGPL2 COPYING.LGPL3
+%{_libdir}/lib%{qt5_libname}.so.*
+
+%files qt5-devel
+%defattr(-,root,root,-)
+%{_libdir}/lib%{qt5_libname}.so
+%{_libdir}/pkgconfig/lib%{qt5_libname}.pc
+%{_includedir}/%{qt5_libname}/
+%endif
+
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to