You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
162 lines
5.2 KiB
162 lines
5.2 KiB
#global gitTag 396cb8e4ed03ef9352e0e0e8ff941355df877405
|
|
#global gitshort 396cb8e4
|
|
|
|
Summary: Qt support library for PackageKit
|
|
Name: PackageKit-Qt
|
|
Version: 0.9.2
|
|
Release: 6%{?dist}
|
|
|
|
License: LGPLv2+
|
|
URL: http://www.packagekit.org/
|
|
|
|
%if 0%{?gitTag:1}
|
|
# Gitorious does not provide final tarballs, but allows downloading gzipp'ed snapshots
|
|
# of specific commits or tags
|
|
Source0: https://gitorious.org/packagekit/packagekit-qt/archive/%{gitTag}.tar.gz
|
|
%else
|
|
Source0: http://www.freedesktop.org/software/PackageKit/releases/PackageKit-Qt-%{version}.tar.xz
|
|
%endif
|
|
|
|
## upstream patches
|
|
Patch2: 0002-Remove-daemon-proxy-conection-to-changed.patch
|
|
Patch3: 0003-Add-operator-to-bitfield.patch
|
|
Patch4: 0004-Remove-the-metatype-registration-for-Transaction-typ.patch
|
|
Patch5: 0005-Remove-RoleUpgradeSystem-as-it-s-not-supported-in-0..patch
|
|
#Patch6: 0006-Properly-export-cmake-targets.patch
|
|
|
|
BuildRequires: cmake
|
|
BuildRequires: pkgconfig(QtDBus) pkgconfig(QtSql)
|
|
|
|
Obsoletes: PackageKit-qt < 0.8.6
|
|
Provides: PackageKit-qt = %{version}-%{release}
|
|
Provides: PackageKit-qt%{?_isa} = %{version}-%{release}
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1003122
|
|
# https://lists.fedoraproject.org/pipermail/test/2014-September/122641.html
|
|
Requires: PackageKit
|
|
|
|
# required for /usr/share/dbus-1/interfaces/*.xml
|
|
BuildRequires: PackageKit >= 0.9.1
|
|
|
|
%description
|
|
PackageKit-qt is a Qt support library for PackageKit
|
|
|
|
%package devel
|
|
Summary: Development headers for PackageKit-Qt
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Obsoletes: PackageKit-qt-devel < 0.8.6
|
|
Provides: PackageKit-qt-devel = %{version}-%{release}
|
|
|
|
%description devel
|
|
Development headers and libraries for PackageKit-Qt.
|
|
|
|
|
|
%prep
|
|
%autosetup -p1 %{?gitTag:-n packagekit-packagekit-qt}
|
|
|
|
|
|
%build
|
|
mkdir -p %{_target_platform}
|
|
pushd %{_target_platform}
|
|
%{cmake} \
|
|
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
|
|
..
|
|
popd
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
%install
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%doc AUTHORS NEWS COPYING
|
|
%{_libdir}/libpackagekitqt4.so.%{version}
|
|
%{_libdir}/libpackagekitqt4.so.0
|
|
|
|
%files devel
|
|
%{_libdir}/libpackagekitqt4.so
|
|
%{_libdir}/pkgconfig/packagekitqt4.pc
|
|
%dir %{_includedir}/PackageKit
|
|
%{_includedir}/PackageKit/packagekitqt4/
|
|
%dir %{_libdir}/cmake
|
|
%{_libdir}/cmake/packagekitqt4/
|
|
|
|
|
|
%changelog
|
|
* Thu Sep 04 2014 Adam Williamson <awilliam@redhat.com> - 0.9.2-6
|
|
- require PackageKit (#1003122)
|
|
|
|
* Wed Aug 27 2014 Rex Dieter <rdieter@fedoraproject.org> 0.9.2-5
|
|
- drop Properly-export-cmake-targets.patch, breaks apper build
|
|
|
|
* Tue Aug 26 2014 Rex Dieter <rdieter@fedoraproject.org> 0.9.2-4
|
|
- pull in some upstream fixes
|
|
|
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Tue Apr 29 2014 Rex Dieter <rdieter@fedoraproject.org> 0.9.2-1
|
|
- 0.9.2 release
|
|
|
|
* Sat Apr 26 2014 Rex Dieter <rdieter@fedoraproject.org> 0.9.0-0.3.20140424git
|
|
- 20140424 snapshot
|
|
|
|
* Tue Apr 22 2014 Rex Dieter <rdieter@fedoraproject.org> 0.9.0-0.1.20140421git
|
|
- fresh git snapshot
|
|
|
|
* Tue Apr 08 2014 Daniel Vrátil <dvratil@redhat.com> - 0.9.0-0.1
|
|
- Update to 0.9.0 git snapshot, 0.8.x does not build against PackageKit 0.9.0 which is in rawhide
|
|
|
|
* Tue Apr 08 2014 Daniel Vrátil <dvratil@redhat.com> - 0.8.9-1
|
|
- Update to latest upstream release
|
|
|
|
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Thu May 09 2013 Richard Hughes <richard@hughsie.com> 0.8.8-1
|
|
- New upstream release
|
|
- Adding Provides property to Daemon
|
|
- Adding some Meta information
|
|
- Add missing declare enums
|
|
- Adds the transactionFlags to the Transaction class
|
|
- Add TransactionFlags registration
|
|
- Fix searchGroups() be iterating over the flaged values
|
|
- Ignore Interface isValid() check
|
|
- Implement connectNotify and disconnectNotify
|
|
- Improve error handling and make it easier for QML use it
|
|
- Make sure we set an error if we fail to contact PackageKit
|
|
|
|
* Thu Mar 07 2013 Rex Dieter <rdieter@fedoraproject.org> 0.8.7-3
|
|
- pickup/test upstream crash fix (kde#315009)
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.7-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Thu Jan 17 2013 Richard Hughes <richard@hughsie.com> 0.8.7-1
|
|
- New upstream release
|
|
- Add back the destroy() signal
|
|
- Make our package spliters static
|
|
- Make sure we waitForFinishe() when getting the TransactionList
|
|
- Only call Cancel() if the transaction proxy exist
|
|
- The full namespace is needed for a slot to be called
|
|
- Workaround Qt bug not contructing default values when the call fails
|
|
|
|
* Mon Nov 26 2012 Rex Dieter <rdieter@fedoraproject.org> 0.8.6-3
|
|
- fixup dir ownership
|
|
- use pkgconfig-style deps
|
|
- tighten subpkg dep via %%?_isa
|
|
|
|
* Mon Nov 26 2012 Richard Hughes <richard@hughsie.com> 0.8.6-2
|
|
- Added obsoletes/provides as required for the Fedora package review
|
|
|
|
* Mon Nov 26 2012 Richard Hughes <richard@hughsie.com> 0.8.6-1
|
|
- Initial version for Fedora package review
|