|
|
c269c2 |
%global _changelog_trimtime %(date +%s -d "1 year ago")
|
|
|
c269c2 |
|
|
|
c269c2 |
%define _default_patch_fuzz 2
|
|
|
c269c2 |
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
c269c2 |
|
|
|
c269c2 |
Summary: Compat package with PackageKit 0.8.9 libraries
|
|
|
c269c2 |
Name: compat-PackageKit08
|
|
|
c269c2 |
Version: 0.8.9
|
|
|
c269c2 |
Release: 1%{?dist}
|
|
|
c269c2 |
License: GPLv2+ and LGPLv2+
|
|
|
c269c2 |
URL: http://www.packagekit.org
|
|
|
c269c2 |
Source0: http://www.packagekit.org/releases/PackageKit-%{version}.tar.xz
|
|
|
c269c2 |
|
|
|
c269c2 |
# Upstream already
|
|
|
c269c2 |
Patch5: 0001-Do-not-install-into-python_sitelib.patch
|
|
|
c269c2 |
|
|
|
c269c2 |
# required by patch4
|
|
|
c269c2 |
BuildRequires: automake gtk-doc libtool
|
|
|
c269c2 |
BuildRequires: glib2-devel >= 2.16.1
|
|
|
c269c2 |
BuildRequires: dbus-devel >= 1.1.1
|
|
|
c269c2 |
BuildRequires: dbus-glib-devel >= 0.74
|
|
|
c269c2 |
BuildRequires: pam-devel
|
|
|
c269c2 |
BuildRequires: libX11-devel
|
|
|
c269c2 |
BuildRequires: xmlto
|
|
|
c269c2 |
BuildRequires: gtk-doc
|
|
|
c269c2 |
BuildRequires: gcc-c++
|
|
|
c269c2 |
BuildRequires: sqlite-devel
|
|
|
c269c2 |
BuildRequires: NetworkManager-devel
|
|
|
c269c2 |
BuildRequires: polkit-devel >= 0.92
|
|
|
c269c2 |
BuildRequires: libtool
|
|
|
c269c2 |
BuildRequires: gtk2-devel
|
|
|
c269c2 |
BuildRequires: gtk3-devel
|
|
|
c269c2 |
BuildRequires: docbook-utils
|
|
|
c269c2 |
BuildRequires: gnome-doc-utils
|
|
|
c269c2 |
BuildRequires: python-devel
|
|
|
c269c2 |
BuildRequires: perl(XML::Parser)
|
|
|
c269c2 |
BuildRequires: intltool
|
|
|
c269c2 |
BuildRequires: gettext
|
|
|
c269c2 |
BuildRequires: libgudev1-devel
|
|
|
c269c2 |
BuildRequires: libarchive-devel
|
|
|
c269c2 |
BuildRequires: pango-devel
|
|
|
c269c2 |
BuildRequires: fontconfig-devel
|
|
|
c269c2 |
BuildRequires: systemd-devel
|
|
|
c269c2 |
BuildRequires: gobject-introspection-devel
|
|
|
c269c2 |
|
|
|
c269c2 |
%description
|
|
|
c269c2 |
Compatibility package with PackageKit 0.8 libraries.
|
|
|
c269c2 |
|
|
|
c269c2 |
%package -n compat-libpackagekit-glib2-16
|
|
|
c269c2 |
Summary: Compatibility package with PackageKit 0.8 libraries
|
|
|
c269c2 |
Conflicts: PackageKit-glib < 0.9
|
|
|
c269c2 |
|
|
|
c269c2 |
%description -n compat-libpackagekit-glib2-16
|
|
|
c269c2 |
Compatibility package with PackageKit 0.8 libraries.
|
|
|
c269c2 |
|
|
|
c269c2 |
%prep
|
|
|
c269c2 |
%setup -q -n PackageKit-%{version}
|
|
|
c269c2 |
%patch5 -p1 -b .python_sitelib
|
|
|
c269c2 |
|
|
|
c269c2 |
NOCONFIGURE=1 ./autogen.sh
|
|
|
c269c2 |
|
|
|
c269c2 |
%build
|
|
|
c269c2 |
%configure \
|
|
|
c269c2 |
--disable-static \
|
|
|
c269c2 |
--disable-yum \
|
|
|
c269c2 |
--disable-bash-completion \
|
|
|
c269c2 |
--with-default-backend=auto \
|
|
|
c269c2 |
--with-python-package-dir=%{python_sitearch} \
|
|
|
c269c2 |
--disable-local \
|
|
|
c269c2 |
--disable-strict \
|
|
|
c269c2 |
--disable-silent-rules \
|
|
|
c269c2 |
--disable-tests
|
|
|
c269c2 |
|
|
|
c269c2 |
make %{?_smp_mflags} V=1
|
|
|
c269c2 |
|
|
|
c269c2 |
%install
|
|
|
c269c2 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
c269c2 |
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_bindir}
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_includedir}
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/systemd
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/udev
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/girepository-1.0/
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/gnome-settings-daemon-3.0/
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/libpackagekit-glib2.la
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/libpackagekit-glib2.so
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/mozilla/
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/packagekit-plugins/
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig/
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/pm-utils/
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/pm-utils/
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{python_sitearch}
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_libexecdir}
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_sbindir}
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_datadir}
|
|
|
c269c2 |
rm -rf $RPM_BUILD_ROOT%{_localstatedir}
|
|
|
c269c2 |
|
|
|
c269c2 |
%post -n compat-libpackagekit-glib2-16 -p /sbin/ldconfig
|
|
|
c269c2 |
|
|
|
c269c2 |
%postun -n compat-libpackagekit-glib2-16 -p /sbin/ldconfig
|
|
|
c269c2 |
|
|
|
c269c2 |
%files -n compat-libpackagekit-glib2-16
|
|
|
c269c2 |
%doc COPYING
|
|
|
c269c2 |
%{_libdir}/libpackagekit-glib2.so.*
|
|
|
c269c2 |
|
|
|
c269c2 |
%changelog
|
|
|
c269c2 |
* Tue May 05 2015 Richard Hughes <rhughes@redhat.com> - 0.8.9-1
|
|
|
c269c2 |
- New compat package for RHEL
|
|
|
c269c2 |
- Resolves: #1184214
|