commit PackageKit-Qt for openSUSE:Factory
Hello community, here is the log from the commit of package PackageKit-Qt for openSUSE:Factory checked in at 2014-10-06 22:04:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/PackageKit-Qt (Old) and /work/SRC/openSUSE:Factory/.PackageKit-Qt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "PackageKit-Qt" Changes: -------- --- /work/SRC/openSUSE:Factory/PackageKit-Qt/PackageKit-Qt.changes 2014-09-23 17:16:51.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit-Qt.new/PackageKit-Qt.changes 2014-10-06 22:04:36.000000000 +0200 @@ -1,0 +2,13 @@ +Fri Oct 3 20:29:30 UTC 2014 - dimstar@opensuse.org + +- Build PackageKit-Qt5 variant: + + Add pre_checkin.sh to help keep Qt4 and Qt5 variants in sync. + + Introduce QtVersion defines to distinguish between Qt4 and Qt5 + build. + + Only BuildRequire libqt4-devel when built for Qt4. + + In case of Qt5 builds, add: + - -DUSE_QT5=ON parameter to cmake. + - pkgconfig(Qt5Core), pkgconfig(Qt5DBus) and pkgconfig(Qt5Sql) + BuildRequires. + +------------------------------------------------------------------- New Changes file: --- /dev/null 2014-09-26 12:09:11.568032006 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit-Qt.new/PackageKit-Qt5.changes 2014-10-06 22:04:37.000000000 +0200 @@ -0,0 +1,118 @@ +------------------------------------------------------------------- +Fri Oct 3 20:29:30 UTC 2014 - dimstar@opensuse.org + +- Build PackageKit-Qt5 variant: + + Add pre_checkin.sh to help keep Qt4 and Qt5 variants in sync. + + Introduce QtVersion defines to distinguish between Qt4 and Qt5 + build. + + Only BuildRequire libqt4-devel when built for Qt4. + + In case of Qt5 builds, add: + - -DUSE_QT5=ON parameter to cmake. + - pkgconfig(Qt5Core), pkgconfig(Qt5DBus) and pkgconfig(Qt5Sql) + BuildRequires. + +------------------------------------------------------------------- +Thu Sep 18 22:23:11 UTC 2014 - hrvoje.senjan@gmail.com + +- Add + 0001-Use-GNUInstallDirs-to-determine-most-of-used-variabl.patch: + Use GNUinstallDirs to determine relevant destination directories. + Also removed unused vars. +- Pass only install prefix, the above patch takes care of the + libdir. + +------------------------------------------------------------------- +Thu Sep 18 01:03:15 UTC 2014 - dimstar@opensuse.org + +- Add PackageKit-Qt-ff-7248b030c0.patch: Fast forward to git + commit 7248b030c0, fixing build with PackageKit 1.0.0. +- Rename libpackagekit-qt2-6 subpackage to libpackagekitqt4-0, + following upstreams soname bump. +- Adust Requires in -devel package accordingly. + +------------------------------------------------------------------- +Wed Sep 10 09:58:37 UTC 2014 - dimstar@opensuse.org + +- Update to version 0.9.2: + + Notes: + - Update to new PK API 0.9. + - Applied a series of patches to port to Qt5. + + New Features: + - Add GetDetailsLocal, GetFilesLocal and RepoRemove. + - Make use of DBus Properties changed to make less blocking + calls. + + Bugfixes: + - Allow for Details to be empty constructed. + - Cleaned include directive. + - Finish the API changes to get rid of blocking calls. + - Fix CMake var names for both Qt versions. + - Fix libdir path. + - Fix reply signature for Transaction methods. + - Improve object handlying. + - I think the API level should be hidden from libname. + - Keep only one transaction flags, which is unlikely to change. + - PackageKit doesn't has a changed signal anymore. + - Properly delete private data on daemon as DaemonPrivate is + not a QObject. + - Properly handle new Details signal. + - Properly init some Daemon values. + - Queue signals so that all transaction properties are + available when needed. + - Remove debug info. + - Update Roles enum, remove Provides enum, and fix some docs + typos. +- Drop PackageKit-Qt-libdir-references.patch: fixed upstream. + +------------------------------------------------------------------- +Fri Sep 20 07:57:26 UTC 2013 - alarrosa@suse.com + +- Add PackageKit-Qt-libdir-references.patch: Fix the installed + packagekit-qt2-config.cmake file to have the correct link to the + library by keeping CMAKE_INSTALL_LIBDIR as a relative path and + the .pc file to have a valid path to $libdir. + +------------------------------------------------------------------- +Fri May 10 10:01:11 UTC 2013 - cgiboudeaux@gmx.com + +- Update to 0.8.8 + + New Features: + - Adding Provides property to Daemon. + - Adding some Meta information. + - Adds the transactionFlags to the Transaction class. + - Add TransactionFlags registration. + - Implement connectNotify and disconnectNotify. + + Bugfixes: + - Add missing declare enums. + - Fix searchGroups() be iterating over the flaged values. + - Ignore Interface isValid() check. + - Improve error handling and make it easier for QML use it. + - Make sure we set an error if we fail to contact PackageKit. + - Use the correct version of the LGPL library. +- Drop 0001-upstream-license-correction.patch: fixed upstream. +- Rename libpackagekit-qt2-5 subpackage to libpackagekit-qt2-6, + following upstreams soname change. + +------------------------------------------------------------------- +Mon Mar 11 06:18:22 UTC 2013 - coolo@suse.com + +- add rename provides for old devel package + +------------------------------------------------------------------- +Tue Jan 22 11:23:59 UTC 2013 - tittiatcoke@gmail.com + +- Add 0001-upstream-license-correction.patch: Update COPYING file + to reflect LGPL-2.1. The GPL-3.0 COPYING file was just the + default injected one by autotools, if none is explicitly given. +- Udpate License tag LGPL-2.1 (from LGPL-2.0, which was what the + file headers indicated). + +------------------------------------------------------------------- +Thu Jan 17 21:14:58 UTC 2013 - tittiatcoke@gmail.com + +- Initial package, version 0.8.7: + + This is the first release of Packagekit-Qt which has been split + out of the main PackageKit project. This project is decoupled + from the main PackageKit project from this point onwards and + does not subscribe to the same API and ABI promises of + PackageKit. + New: ---- PackageKit-Qt5.changes PackageKit-Qt5.spec pre_checkin.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ PackageKit-Qt.spec ++++++ --- /var/tmp/diff_new_pack.Ar7gfW/_old 2014-10-06 22:04:37.000000000 +0200 +++ /var/tmp/diff_new_pack.Ar7gfW/_new 2014-10-06 22:04:37.000000000 +0200 @@ -16,14 +16,25 @@ # +%define QtVersion 4 +%if %{QtVersion} == 4 +BuildRequires: libqt4-devel +%define libpk libpackagekitqt4-0 +%endif +%if %{QtVersion} == 5 +%define libpk libpackagekitqt5-0 +%endif + Name: PackageKit-Qt +%define _name PackageKit-Qt Version: 0.9.2 Release: 0 Summary: Simple software installation management software License: LGPL-2.1+ Group: System/Daemons Url: http://packagekit.org/ -Source: http://www.freedesktop.org/software/PackageKit/releases/%{name}-%{version}.tar.xz +Source: http://www.freedesktop.org/software/PackageKit/releases/%{_name}-%{version}.tar.xz +Source99: pre_checkin.sh # PATCH-FIX-UPSTREAM PackageKit-Qt-ff-7248b030c0.patch dimstar@opensuse.org -- Fast forward to git 7248b030c Patch0: PackageKit-Qt-ff-7248b030c0.patch # PATCH-FIX-UPSTREAM 0001-Use-GNUInstallDirs-to-determine-most-of-used-variabl.patch hrvoje.senjan@gmail.com -- Use GNUinstallDirs to determine relevant destination directories. Also removed unused vars. @@ -31,7 +42,14 @@ BuildRequires: PackageKit-devel >= %{version} BuildRequires: cmake BuildRequires: kde4-filesystem +%if %{QtVersion} == 4 BuildRequires: libqt4-devel +%endif +%if %{QtVersion} == 5 +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5DBus) +BuildRequires: pkgconfig(Qt5Sql) +%endif %description PackageKit is a system designed to make installing and updating @@ -40,11 +58,11 @@ use some of the latest technology like PolicyKit to make the process suck less. -%package -n libpackagekitqt4-0 +%package -n %{libpk} Summary: Simple software installation management software Group: System/Libraries -%description -n libpackagekitqt4-0 +%description -n %{libpk} PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and @@ -54,9 +72,11 @@ %package devel Summary: Simple software installation management software Group: Development/Libraries/C and C++ -Requires: libpackagekitqt4-0 = %{version} +Requires: %{libpk} = %{version} +%if %{QtVersion} == 4 Provides: libpackagekit-qt2-devel = %{version} Obsoletes: libpackagekit-qt2-devel < %{version} +%endif %description devel PackageKit is a system designed to make installing and updating @@ -66,7 +86,7 @@ suck less. %prep -%setup -q +%setup -q -n %{_name}-%{version} %patch0 -p1 %patch1 -p1 @@ -75,6 +95,9 @@ cd build cmake \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ +%if %{QtVersion} == 5 + -DUSE_QT5=ON \ +%endif .. make %{?smp_mflags} @@ -82,21 +105,21 @@ cd build %make_install -%post -n libpackagekitqt4-0 -p /sbin/ldconfig +%post -n %{libpk} -p /sbin/ldconfig -%postun -n libpackagekitqt4-0 -p /sbin/ldconfig +%postun -n %{libpk} -p /sbin/ldconfig -%files -n libpackagekitqt4-0 +%files -n %{libpk} %defattr(-,root,root) %doc COPYING NEWS AUTHORS -%{_libdir}/libpackagekitqt4.so.* +%{_libdir}/libpackagekitqt?.so.* %files devel %defattr(-,root,root) %doc TODO MAINTAINERS RELEASE -%{_libdir}/libpackagekitqt4.so -%{_libdir}/cmake/packagekitqt4/ -%{_libdir}/pkgconfig/packagekitqt4.pc -%{_includedir}/packagekitqt4/ +%{_libdir}/libpackagekitqt?.so +%{_libdir}/cmake/packagekitqt?/ +%{_libdir}/pkgconfig/packagekitqt?.pc +%{_includedir}/packagekitqt?/ %changelog ++++++ PackageKit-Qt5.spec ++++++ # # spec file for package PackageKit-Qt5 # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define QtVersion 5 %if %{QtVersion} == 4 BuildRequires: libqt4-devel %define libpk libpackagekitqt4-0 %endif %if %{QtVersion} == 5 %define libpk libpackagekitqt5-0 %endif Name: PackageKit-Qt5 %define _name PackageKit-Qt Version: 0.9.2 Release: 0 Summary: Simple software installation management software License: LGPL-2.1+ Group: System/Daemons Url: http://packagekit.org/ Source: http://www.freedesktop.org/software/PackageKit/releases/%{_name}-%{version}.tar.xz Source99: pre_checkin.sh # PATCH-FIX-UPSTREAM PackageKit-Qt-ff-7248b030c0.patch dimstar@opensuse.org -- Fast forward to git 7248b030c Patch0: PackageKit-Qt-ff-7248b030c0.patch # PATCH-FIX-UPSTREAM 0001-Use-GNUInstallDirs-to-determine-most-of-used-variabl.patch hrvoje.senjan@gmail.com -- Use GNUinstallDirs to determine relevant destination directories. Also removed unused vars. Patch1: 0001-Use-GNUInstallDirs-to-determine-most-of-used-variabl.patch BuildRequires: PackageKit-devel >= %{version} BuildRequires: cmake BuildRequires: kde4-filesystem %if %{QtVersion} == 4 BuildRequires: libqt4-devel %endif %if %{QtVersion} == 5 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Sql) %endif %description PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. %package -n %{libpk} Summary: Simple software installation management software Group: System/Libraries %description -n %{libpk} PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. %package devel Summary: Simple software installation management software Group: Development/Libraries/C and C++ Requires: %{libpk} = %{version} %if %{QtVersion} == 4 Provides: libpackagekit-qt2-devel = %{version} Obsoletes: libpackagekit-qt2-devel < %{version} %endif %description devel PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. %prep %setup -q -n %{_name}-%{version} %patch0 -p1 %patch1 -p1 %build mkdir build cd build cmake \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ %if %{QtVersion} == 5 -DUSE_QT5=ON \ %endif .. make %{?smp_mflags} %install cd build %make_install %post -n %{libpk} -p /sbin/ldconfig %postun -n %{libpk} -p /sbin/ldconfig %files -n %{libpk} %defattr(-,root,root) %doc COPYING NEWS AUTHORS %{_libdir}/libpackagekitqt?.so.* %files devel %defattr(-,root,root) %doc TODO MAINTAINERS RELEASE %{_libdir}/libpackagekitqt?.so %{_libdir}/cmake/packagekitqt?/ %{_libdir}/pkgconfig/packagekitqt?.pc %{_includedir}/packagekitqt?/ %changelog ++++++ pre_checkin.sh ++++++ #!/bin/bash # Sync PackageKit-Qt.spec to PackageKit-Qt5 sed -e "s/%define.*QtVersion.*4/%define QtVersion 5/" -e "s/Name:.*PackageKit-Qt/Name: PackageKit-Qt5/" PackageKit-Qt.spec > PackageKit-Qt5.spec # Sync .changes files cp PackageKit-Qt.changes PackageKit-Qt5.changes -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de