added libpackagekitqt6 library and subpackages [release 1.1.0-2mamba;Sun Dec 04 2022]
This commit is contained in:
parent
0f3eec854e
commit
937e2c4c42
@ -1,38 +1,37 @@
|
|||||||
%define tagver %(echo %version | tr . _)
|
%define tagver %(echo %version | tr . _)
|
||||||
Name: packagekit-qt
|
Name: packagekit-qt
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.0.2
|
Version: 1.1.0
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Qt5 bindings for PackageKit
|
Summary: Qt5 bindings for PackageKit
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://www.packagekit.org
|
URL: http://ww25.packagekit.org/?subid1=20221202-1933-464c-87d9-52b2d0bcc190
|
||||||
## GITSOURCE git://gitorious.org/packagekit/packagekit-qt.git
|
|
||||||
Source0: https://github.com/hughsie/PackageKit-Qt.git/v%{version}/PackageKit-Qt-%{version}.tar.bz2
|
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
|
Patch0: packagekit-qt-20130306git-revert-to-tag-QPACKAGEKIT_0_8_7.patch
|
||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libqt5-devel
|
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
BuildRequires: qt6-qtbase-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: PackageKit-glib-devel
|
BuildRequires: PackageKit-glib-devel
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Qt5 bindings for PackageKit.
|
Qt5 bindings for PackageKit.
|
||||||
|
|
||||||
%package -n libpackagekitqt5
|
%package -n libpackagekitqt5
|
||||||
Summary: Qt5 bindings for PackageKit.
|
Summary: Qt5 bindings for PackageKit
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: PackageKit
|
Requires: PackageKit
|
||||||
|
|
||||||
%description -n libpackagekitqt5
|
%description -n libpackagekitqt5
|
||||||
Qt bindings for PackageKit.
|
Qt5 bindings for PackageKit.
|
||||||
|
|
||||||
%package -n libpackagekitqt5-devel
|
%package -n libpackagekitqt5-devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
@ -40,15 +39,32 @@ Group: Development/Libraries
|
|||||||
Requires: libpackagekitqt5 = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: libpackagekitqt5 = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Requires: pkg-config
|
Requires: pkg-config
|
||||||
Provides: PackageKit-qt-devel
|
Provides: PackageKit-qt-devel
|
||||||
Obsoletes: PackageKit-qt-devel
|
Obsoletes: PackageKit-qt-devel < 1:1.1.0
|
||||||
Provides: PackageKit-qt2-devel
|
Provides: PackageKit-qt2-devel
|
||||||
Obsoletes: PackageKit-qt2-devel
|
Obsoletes: PackageKit-qt2-devel < 1:1.1.0
|
||||||
Provides: libpackagekit-qt2-devel
|
Provides: libpackagekit-qt2-devel
|
||||||
Obsoletes: libpackagekit-qt2-devel
|
Obsoletes: libpackagekit-qt2-devel < 1:1.1.0
|
||||||
|
|
||||||
%description -n libpackagekitqt5-devel
|
%description -n libpackagekitqt5-devel
|
||||||
This package contains libraries and header files for developing applications that use %{name}.
|
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
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -56,12 +72,19 @@ This package contains libraries and header files for developing applications tha
|
|||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build
|
%cmake -d build-qt5 \
|
||||||
|
-DCMAKE_PREFIX_PATH=%{_libdir}/cmake/Qt5
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
%cmake -d build-qt6 \
|
||||||
|
-DCMAKE_PREFIX_PATH=%{_libdir}/cmake/Qt6
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build-qt5
|
||||||
|
%makeinstall -C build-qt6
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -69,6 +92,9 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%post -n libpackagekitqt5 -p /sbin/ldconfig
|
%post -n libpackagekitqt5 -p /sbin/ldconfig
|
||||||
%postun -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
|
%files -n libpackagekitqt5
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libpackagekitqt5.so.*
|
%{_libdir}/libpackagekitqt5.so.*
|
||||||
@ -85,7 +111,28 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%{_libdir}/pkgconfig/packagekitqt5.pc
|
%{_libdir}/pkgconfig/packagekitqt5.pc
|
||||||
%doc NEWS TODO
|
%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
|
%changelog
|
||||||
|
* 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
|
||||||
|
|
||||||
* Sat Feb 20 2021 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
|
* Sat Feb 20 2021 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user