%define tagver %(echo %version | tr . _) Name: packagekit-qt Epoch: 1 Version: 1.1.2 Release: 1mamba Summary: Qt5 bindings for PackageKit Group: System/Management Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://ww25.packagekit.org/?subid1=20221202-1933-464c-87d9-52b2d0bcc190 Source0: https://github.com/hughsie/PackageKit-Qt.git/v%{version}/PackageKit-Qt-%{version}.tar.bz2 Patch0: packagekit-qt-20130306git-revert-to-tag-QPACKAGEKIT_0_8_7.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libstdc++6-devel BuildRequires: qt5-qtbase-devel BuildRequires: qt6-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: PackageKit-glib-devel BuildRequires: cmake %description Qt5 bindings for PackageKit. %package -n libpackagekitqt5 Summary: Qt5 bindings for PackageKit Group: System/Libraries Requires: PackageKit %description -n libpackagekitqt5 Qt5 bindings for PackageKit. %package -n libpackagekitqt5-devel Summary: Development files for %{name} Group: Development/Libraries Requires: libpackagekitqt5 = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config Provides: PackageKit-qt-devel Obsoletes: PackageKit-qt-devel < 1:1.1.0 Provides: PackageKit-qt2-devel Obsoletes: PackageKit-qt2-devel < 1:1.1.0 Provides: libpackagekit-qt2-devel Obsoletes: libpackagekit-qt2-devel < 1:1.1.0 %description -n libpackagekitqt5-devel This package contains libraries and header files for developing applications that use %{name}. %package -n libpackagekitqt6 Summary: Qt6 bindings for PackageKit Group: System/Libraries Requires: PackageKit %description -n libpackagekitqt6 Qt6 bindings for PackageKit. %package -n libpackagekitqt6-devel Summary: Development files for %{name} Group: Development/Libraries Requires: libpackagekitqt6 = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description -n libpackagekitqt6-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q -n PackageKit-Qt-%{version} #%patch0 -p1 %build %cmake -d build-qt5 \ -DCMAKE_PREFIX_PATH=%{_libdir}/cmake/Qt5 %make cd .. %cmake -d build-qt6 \ -DBUILD_WITH_QT6=ON \ -DCMAKE_PREFIX_PATH=%{_libdir}/cmake/Qt6 %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build-qt5 %makeinstall -C build-qt6 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n libpackagekitqt5 -p /sbin/ldconfig %postun -n libpackagekitqt5 -p /sbin/ldconfig %post -n libpackagekitqt6 -p /sbin/ldconfig %postun -n libpackagekitqt6 -p /sbin/ldconfig %files -n libpackagekitqt5 %defattr(-,root,root) %{_libdir}/libpackagekitqt5.so.* %doc AUTHORS COPYING %files -n libpackagekitqt5-devel %defattr(-,root,root) %dir %{_includedir}/packagekitqt5 %dir %{_includedir}/packagekitqt5/PackageKit %{_includedir}/packagekitqt5/PackageKit/* %dir %{_libdir}/cmake/packagekitqt5 %{_libdir}/cmake/packagekitqt5/*.cmake %{_libdir}/libpackagekitqt5.so %{_libdir}/pkgconfig/packagekitqt5.pc %doc NEWS TODO %files -n libpackagekitqt6 %defattr(-,root,root) %{_libdir}/libpackagekitqt6.so.* %doc AUTHORS COPYING %files -n libpackagekitqt6-devel %defattr(-,root,root) %dir %{_includedir}/packagekitqt6 %dir %{_includedir}/packagekitqt6/PackageKit %{_includedir}/packagekitqt6/PackageKit/* %dir %{_libdir}/cmake/packagekitqt6 %{_libdir}/cmake/packagekitqt6/*.cmake %{_libdir}/libpackagekitqt6.so %{_libdir}/pkgconfig/packagekitqt6.pc %changelog * Mon Jun 17 2024 Automatic Build System 1.1.2-1mamba - automatic version update by autodist * Mon Mar 13 2023 Automatic Build System 1.1.1-1mamba - automatic version update by autodist * Sun Dec 04 2022 Silvan Calarco 1.1.0-2mamba - added libpackagekitqt6 library and subpackages * Fri Dec 02 2022 Automatic Build System 1.1.0-1mamba - automatic version update by autodist * Sat Feb 20 2021 Automatic Build System 1.0.2-1mamba - automatic version update by autodist * Thu Mar 15 2018 Silvan Calarco 1.0.1-1mamba - update to 1.0.1 * Thu Oct 19 2017 Silvan Calarco 0.9.6-3mamba - remove version in PackageKit requirement * Tue Oct 17 2017 Silvan Calarco 0.9.6-2mamba - don't obsolete libpackagekitqt4 * Fri Oct 13 2017 Silvan Calarco 0.9.6-1mamba - update to 0.9.6 * Sat Aug 15 2015 Silvan Calarco 0.9.5-2mamba - fix requirements of libpackagekitqt4-devel * Fri Aug 14 2015 Silvan Calarco 0.9.5-1mamba - update to 0.9.5 * Mon Jul 01 2013 Silvan Calarco 0.8.8-1mamba - update to 0.8.8 - libpackagekit-qt2: require PackageKit - bump epoch up * Wed Mar 06 2013 Silvan Calarco 20130306git-1mamba - package created by silvan using the webbuild interface