fix requirements of libpackagekitqt4-devel [release 0.9.5-2mamba;Sat Aug 15 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 08:22:16 +01:00
parent 0f3dfc56d0
commit dc9c1e0402

View File

@ -1,8 +1,8 @@
%define tagver %(echo %version | tr . _)
Name: packagekit-qt
Epoch: 1
Version: 0.8.8
Release: 1mamba
Version: 0.9.5
Release: 2mamba
Summary: Qt bindings for PackageKit
Group: System/Management
Vendor: openmamba
@ -10,7 +10,7 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.packagekit.org
## GITSOURCE git://gitorious.org/packagekit/packagekit-qt.git
Source: git://gitorious.org/packagekit/packagekit-qt.git/QPACKAGEKIT_%{tagver}/packagekit-qt-%{version}.tar.bz2
Source0: https://github.com/hughsie/PackageKit-Qt.git/QPACKAGEKIT_%{tagver}/PackageKit-Qt-%{version}.tar.bz2
Patch0: packagekit-qt-20130306git-revert-to-tag-QPACKAGEKIT_0_8_7.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
@ -19,42 +19,46 @@ BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: PackageKit-devel >= 0.8.8
BuildRequires: PackageKit-devel >= 0.9
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Qt bindings for PackageKit.
%package -n lib%{name}2
%package -n libpackagekitqt4
Summary: Shared libraries for %{name}
Group: System/Libraries
Provides: PackageKit-qt
Obsoletes: PackageKit-qt
Provides: PackageKit-qt2
Obsoletes: PackageKit-qt2
Requires: PackageKit >= 0.8.7
Provides: libpackagekit-qt2
Obsoletes: libpackagekit-qt2
Requires: PackageKit >= 0.9
%description -n lib%{name}2
%description -n libpackagekitqt4
Qt bindings for PackageKit.
%package -n lib%{name}2-devel
%package -n libpackagekitqt4-devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: lib%{name}2 = %{?epoch:%epoch:}%{version}-%{release}
Requires: libpackagekitqt4 = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
Provides: PackageKit-qt-devel
Obsoletes: PackageKit-qt-devel
Provides: PackageKit-qt2-devel
Obsoletes: PackageKit-qt2-devel
Provides: libpackagekit-qt2-devel
Obsoletes: libpackagekit-qt2-devel
%description -n lib%{name}2-devel
%description -n libpackagekitqt4-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%setup -q -n PackageKit-Qt-%{version}
#%patch0 -p1
%build
@ -68,25 +72,32 @@ This package contains libraries and header files for developing applications tha
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}2 -p /sbin/ldconfig
%postun -n lib%{name}2 -p /sbin/ldconfig
%post -n libpackagekitqt4 -p /sbin/ldconfig
%postun -n libpackagekitqt4 -p /sbin/ldconfig
%files -n lib%{name}2
%files -n libpackagekitqt4
%defattr(-,root,root)
%{_libdir}/libpackagekit-qt2.so.*
%{_libdir}/libpackagekitqt4.so.*
%doc AUTHORS COPYING
%files -n lib%{name}2-devel
%files -n libpackagekitqt4-devel
%defattr(-,root,root)
%dir %{_includedir}/PackageKit/packagekit-qt2
%{_includedir}/PackageKit/packagekit-qt2/*
%{_libdir}/cmake/packagekit-qt2/packagekit-qt2-config-version.cmake
%{_libdir}/cmake/packagekit-qt2/packagekit-qt2-config.cmake
%{_libdir}/libpackagekit-qt2.so
%{_libdir}/pkgconfig/packagekit-qt2.pc
%dir %{_includedir}/packagekitqt4
%dir %{_includedir}/packagekitqt4/PackageKit
%{_includedir}/packagekitqt4/PackageKit/*
%dir %{_libdir}/cmake/packagekitqt4
%{_libdir}/cmake/packagekitqt4/*.cmake
%{_libdir}/libpackagekitqt4.so
%{_libdir}/pkgconfig/packagekitqt4.pc
%doc NEWS TODO
%changelog
* 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
* Mon Jul 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.8-1mamba
- update to 0.8.8
- libpackagekit-qt2: require PackageKit