2024-01-06 08:22:16 +01:00
|
|
|
%define tagver %(echo %version | tr . _)
|
|
|
|
Name: packagekit-qt
|
|
|
|
Epoch: 1
|
2024-01-06 08:22:16 +01:00
|
|
|
Version: 0.9.6
|
2024-01-06 08:22:16 +01:00
|
|
|
Release: 2mamba
|
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>
|
|
|
|
URL: http://www.packagekit.org
|
|
|
|
## GITSOURCE git://gitorious.org/packagekit/packagekit-qt.git
|
2024-01-06 08:22:16 +01:00
|
|
|
Source0: https://github.com/hughsie/PackageKit-Qt.git/QPACKAGEKIT_%{tagver}/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
|
2024-01-06 08:22:16 +01:00
|
|
|
BuildRequires: libqt5-devel
|
2024-01-06 08:22:16 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 08:22:16 +01:00
|
|
|
BuildRequires: PackageKit-glib-devel
|
2024-01-06 08:22:16 +01:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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
|
|
|
|
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 >= 1.1.6
|
|
|
|
|
|
|
|
%description -n libpackagekitqt5
|
2024-01-06 08:22:16 +01:00
|
|
|
Qt bindings for PackageKit.
|
|
|
|
|
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
|
|
|
|
Obsoletes: PackageKit-qt-devel
|
|
|
|
Provides: PackageKit-qt2-devel
|
|
|
|
Obsoletes: PackageKit-qt2-devel
|
2024-01-06 08:22:16 +01:00
|
|
|
Provides: libpackagekit-qt2-devel
|
|
|
|
Obsoletes: libpackagekit-qt2-devel
|
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}.
|
|
|
|
|
|
|
|
%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
|
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%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
|
|
|
%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
|
|
|
|
|
|
|
|
%changelog
|
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
|