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