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