2007-12-18 04:26:13 +01:00
#
2011-02-17 13:10:30 +01:00
# spec file for package PackageKit
2007-12-18 04:26:13 +01:00
#
2018-02-22 15:12:37 +01:00
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
2007-12-18 04:26:13 +01:00
#
2008-08-18 18:59:14 +02:00
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2007-12-18 04:26:13 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2012-02-16 08:04:25 +01:00
2018-03-01 12:12:26 +01:00
%define BUILD_CNF 0
%define with_offline_updates 1
2010-04-15 23:37:10 +02:00
# $ pkcon search file /usr/bin/anjuta
2017-11-23 16:00:31 +01:00
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
2018-03-01 12:12:26 +01:00
%define _fillupdir %{_localstatedir}/adm/fillup-templates
2017-11-23 16:00:31 +01:00
%endif
2007-12-18 04:26:13 +01:00
Name : PackageKit
2018-03-09 11:10:06 +01:00
Version : 1.1.9
2011-12-12 17:08:55 +01:00
Release : 0
2012-04-27 19:28:33 +02:00
Summary : Simple software installation management software
2018-03-01 12:12:26 +01:00
License : GPL-2.0-or-later
2012-04-27 19:28:33 +02:00
Group : System/Daemons
2018-04-05 17:22:25 +02:00
URL : http://packagekit.org/
2015-01-26 12:21:41 +01:00
Source0 : http://www.freedesktop.org/software/PackageKit/releases/%{name} -%{version} .tar.xz
Source1 : http://www.freedesktop.org/software/PackageKit/releases/%{name} -%{version} .tar.xz.asc
2012-04-27 19:28:33 +02:00
Source2 : baselibs.conf
2015-01-26 12:21:41 +01:00
Source99 : PackageKit.keyring
2015-11-13 17:33:20 +01:00
# PATCH-FIX-UPSTREAM PackageKit-avoid-endless-loop-on-autoupdate.patch zaitor@opensuse.org -- Avoid a endless loop on autoupdates.
2016-09-20 20:29:11 +02:00
Patch0 : PackageKit-avoid-endless-loop-on-autoupdate.patch
2017-02-22 20:23:26 +01:00
# PATCH-FIX-OPENSUSE PackageKit-zypp-backend-improve-refresh-cache.patch bsc#899755 sckang@suse.com -- Improve refresh-cache function in zypp backend.
Patch1 : PackageKit-zypp-backend-improve-refresh-cache.patch
2017-12-08 12:05:40 +01:00
# PATCH-FIX-OPENSUSE PackageKit-cron-without-sleep.patch boo#1071521 dimstar@opensuse.org -- Do not sleep in the cron job; our cron mechansim has sufficient randomization
2018-02-22 15:12:37 +01:00
Patch2 : PackageKit-cron-without-sleep.patch
2018-03-06 10:33:26 +01:00
# PATCH-FIX-UPSTREAM PackageKit-zypp-backend-get-details-local.patch bsc#1008287 sckang -- Implement GetDetailsLocal method in zypp backend
Patch3 : PackageKit-zypp-backend-get-details-local.patch
2009-02-16 01:27:05 +01:00
BuildRequires : NetworkManager-devel
BuildRequires : fdupes
BuildRequires : gcc-c++
2010-03-31 02:08:42 +02:00
BuildRequires : gobject-introspection-devel
2014-09-10 17:29:03 +02:00
BuildRequires : gstreamer-devel
BuildRequires : gstreamer-plugins-base-devel
2009-02-16 01:27:05 +01:00
BuildRequires : gtk-doc
BuildRequires : gtk2-devel
2011-04-21 11:37:42 +02:00
BuildRequires : gtk3-devel
2009-02-16 01:27:05 +01:00
BuildRequires : intltool
2009-06-12 18:42:12 +02:00
BuildRequires : libarchive-devel
2009-02-16 01:27:05 +01:00
BuildRequires : libcppunit-devel
2010-03-31 02:08:42 +02:00
BuildRequires : libgudev-1_0-devel
2011-12-23 10:57:35 +01:00
BuildRequires : libtool
2009-02-16 01:27:05 +01:00
BuildRequires : libzypp-devel
2012-01-18 09:09:10 +01:00
BuildRequires : mozilla-nspr-devel >= 4.8
2017-06-29 14:57:19 +02:00
BuildRequires : pkgconfig
2011-12-23 10:57:35 +01:00
BuildRequires : polkit-devel >= 0.98
2011-10-04 09:04:42 +02:00
# We need the %%mime_database_* macros
BuildRequires : shared-mime-info
2009-02-16 01:27:05 +01:00
BuildRequires : sqlite-devel
2018-03-22 10:38:18 +01:00
BuildRequires : translation-update-upstream
2015-09-02 10:03:31 +02:00
BuildRequires : vala
2015-11-10 13:35:31 +01:00
BuildRequires : pkgconfig(bash-completion) >= 2.0
2015-09-02 10:03:31 +02:00
BuildRequires : pkgconfig(libsystemd)
2013-01-16 22:41:02 +01:00
BuildRequires : pkgconfig(systemd)
2012-02-16 08:04:25 +01:00
# We really want a working backend (likely zypp)
Requires : %{name} -backend
2015-11-10 13:35:31 +01:00
Requires : %{name} -branding = %{version}
Requires(post) : %fillup_prereq
2010-10-15 16:49:28 +02:00
Recommends: %{name} -lang
2015-11-10 13:35:31 +01:00
Suggests : cron
2012-04-27 19:28:33 +02:00
# doc package only contained the website, and got removed in 0.7.4
Obsoletes : %{name} -doc < 0.7.4
2011-12-23 10:57:35 +01:00
# gtk+ 2 module was removed in 0.7.0
Obsoletes : %{name} -gtk-module < 0.7.0
2010-08-10 00:02:29 +02:00
# ruck was removed in 0.6.4, make sure it gets removed
Obsoletes : ruck <= 0.6.3
2016-02-19 16:01:23 +01:00
# the browser-plugin was dropped with version 1.1.0
Obsoletes : %{name} -browser-plugin < 1.1.0
2013-01-16 22:41:02 +01:00
%{?systemd_requires}
2007-12-18 04:26:13 +01:00
%description
PackageKit is a system designed to make installing and updating
software on your computer easier. The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.
2012-02-16 08:04:25 +01:00
%package backend-zypp
Summary : Simple software installation management software -- Zypp Backend
2018-03-01 12:12:26 +01:00
License : GPL-2.0-or-later
2012-02-16 08:04:25 +01:00
Group : System/Daemons
Requires : %{name} = %{version}
Provides : %{name} -backend = %{version}
%description backend-zypp
PackageKit is a system designed to make installing and updating
software on your computer easier. The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.
2010-04-15 23:37:10 +02:00
%package gstreamer-plugin
Summary : Simple software installation management software
2018-03-01 12:12:26 +01:00
License : GPL-2.0-or-later
2011-12-23 10:57:35 +01:00
Group : Productivity/Multimedia/Other
2010-04-15 23:37:10 +02:00
Requires(post) : update-alternatives
Requires(postun) : update-alternatives
Recommends: %{name} = %{version}
2014-09-18 19:14:00 +02:00
Supplements: packageand(%{name} :gstreamer-plugins-base)
2010-04-15 23:37:10 +02:00
%description gstreamer-plugin
PackageKit is a system designed to make installing and updating
software on your computer easier. The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.
2011-04-21 11:37:42 +02:00
%package gtk3-module
Summary : Simple software installation management software
2018-03-01 12:12:26 +01:00
License : GPL-2.0-or-later
2011-12-23 10:57:35 +01:00
Group : System/Libraries
2011-04-21 11:37:42 +02:00
Recommends: %{name} = %{version}
Supplements: packageand(%{name} :gtk3)
2011-12-23 10:57:35 +01:00
%glib2_gsettings_schema_requires
2011-04-21 11:37:42 +02:00
%description gtk3-module
PackageKit is a system designed to make installing and updating
software on your computer easier. The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.
2007-12-18 04:26:13 +01:00
%package devel
2008-03-27 22:29:47 +01:00
Summary : Needed include files and libraries for development
2018-03-01 12:12:26 +01:00
License : GPL-2.0-or-later
2011-12-23 10:57:35 +01:00
Group : Development/Libraries/C and C++
2007-12-18 04:26:13 +01:00
Requires : %{name} = %{version}
2011-05-09 17:03:50 +02:00
Requires : libpackagekit-glib2-devel
2007-12-18 04:26:13 +01:00
%description devel
This package contains all necessary include files, libraries,
configuration files and development tools (with manual pages) needed to
compile and link applications using PackageKit.
2014-09-10 17:29:03 +02:00
%package -n libpackagekit-glib2-18
2008-11-03 14:16:09 +01:00
Summary : Simple software installation management software
2018-03-01 12:12:26 +01:00
License : LGPL-2.1-or-later
2011-12-23 10:57:35 +01:00
Group : System/Libraries
2011-05-09 17:03:50 +02:00
Recommends: %{name}
2013-01-18 14:19:59 +01:00
Conflicts : %{name} < %{version}
2010-04-25 18:42:54 +02:00
Provides : libpackagekit-glib12 = %{version}
Obsoletes : libpackagekit-glib12 < %{version}
2008-11-03 14:16:09 +01:00
2014-09-10 17:29:03 +02:00
%description -n libpackagekit-glib2-18
2008-11-03 14:16:09 +01:00
PackageKit is a system designed to make installing and updating
software on your computer easier. The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.
2011-12-23 10:57:35 +01:00
%package -n typelib-1_0-PackageKitGlib-1_0
Summary : Simple software installation management software -- Introspection bindings
2018-03-01 12:12:26 +01:00
License : LGPL-2.1-or-later
2011-12-23 10:57:35 +01:00
Group : System/Libraries
2008-11-03 14:16:09 +01:00
2011-12-23 10:57:35 +01:00
%description -n typelib-1_0-PackageKitGlib-1_0
2008-11-03 14:16:09 +01:00
PackageKit is a system designed to make installing and updating
software on your computer easier. The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.
2011-12-23 10:57:35 +01:00
This package provides the GObject Introspection bindings for the
PackageKit client library.
2008-11-03 14:16:09 +01:00
2011-12-23 10:57:35 +01:00
%package -n libpackagekit-glib2-devel
2008-11-03 14:16:09 +01:00
Summary : Simple software installation management software
2018-03-01 12:12:26 +01:00
License : LGPL-2.1-or-later
2011-12-23 10:57:35 +01:00
Group : Development/Libraries/GNOME
2014-09-10 17:29:03 +02:00
Requires : libpackagekit-glib2-18 = %{version}
2011-12-23 10:57:35 +01:00
Requires : typelib-1_0-PackageKitGlib-1_0 = %{version}
Provides : libpackagekit-glib12-devel = %{version}
Obsoletes : libpackagekit-glib12-devel < %{version}
2008-11-03 14:16:09 +01:00
2011-12-23 10:57:35 +01:00
%description -n libpackagekit-glib2-devel
2009-02-16 01:27:05 +01:00
PackageKit is a system designed to make installing and updating
software on your computer easier. The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.
2010-03-31 02:08:42 +02:00
%package branding-upstream
2014-09-18 19:14:00 +02:00
Summary : Simple software installation management software -- Upstream configuration
2018-03-01 12:12:26 +01:00
License : GPL-2.0-or-later
2011-12-23 10:57:35 +01:00
Group : System/Daemons
2011-07-06 18:44:29 +02:00
Requires : %{name} = %{version}
Supplements: packageand(%{name} :branding-upstream)
2018-03-01 12:12:26 +01:00
Conflicts : %{name} -branding
2015-11-10 13:35:31 +01:00
Provides : %{name} -branding = %{version}
2011-05-09 17:03:50 +02:00
BuildArch : noarch
2010-03-31 02:08:42 +02:00
#BRAND: Provide configuration files -
#BRAND: /etc/PackageKit/*
%description branding-upstream
2011-07-06 18:44:29 +02:00
PackageKit is a system designed to make installing and updating
software on your computer easier. The primary design goal is to unify
all the software graphical tools used in different distributions, and
use some of the latest technology like PolicyKit to make the process
suck less.
This package provides the upstream default configuration for PackageKit.
2010-03-31 02:08:42 +02:00
2008-11-03 14:16:09 +01:00
%lang_package
2015-11-10 13:35:31 +01:00
2007-12-18 04:26:13 +01:00
%prep
2009-03-03 00:40:57 +01:00
%setup -q
2016-09-20 20:29:11 +02:00
%patch0 -p1
2017-02-22 20:23:26 +01:00
%patch1 -p1
2017-10-09 20:16:48 +02:00
%patch2 -p1
2018-03-06 10:33:26 +01:00
%patch3 -p1
2013-01-16 22:41:02 +01:00
translation-update-upstream
2007-12-18 04:26:13 +01:00
%build
2016-09-20 20:29:11 +02:00
%if !0%{?is_opensuse}
export CFLAGS=" %{optflags} - D S L E "
%endif
2007-12-18 04:26:13 +01:00
%configure \
2009-05-20 21:55:04 +02:00
--disable-static \
2008-02-28 20:24:11 +01:00
--enable-zypp \
2013-01-16 22:41:02 +01:00
--enable-gstreamer-plugin \
2015-11-10 13:35:31 +01:00
%if ! %{BUILD_CNF}
2013-01-16 22:41:02 +01:00
--disable-command-not-found \
%else
--enable-command-not-found \
2013-02-19 15:38:12 +01:00
%endif
--enable-systemd \
%if %{with_offline_updates}
2018-02-22 15:12:37 +01:00
--enable-offline-update \
2013-02-19 15:38:12 +01:00
%else
2018-02-22 15:12:37 +01:00
--disable-offline-update \
2010-04-15 23:37:10 +02:00
%endif
%{nil}
2016-09-20 20:29:11 +02:00
make %{?_smp_mflags}
2007-12-18 04:26:13 +01:00
%install
2018-03-01 12:12:26 +01:00
%make_install
2013-01-16 23:04:29 +01:00
find %{buildroot} -type f -name " * . l a " -delete -print
2010-04-15 23:37:10 +02:00
# move the cron configuration to a sysconfig template
2017-11-23 16:00:31 +01:00
install -d %{buildroot} %{_fillupdir}
mv %{buildroot} %{_sysconfdir} /sysconfig/packagekit-background %{buildroot} %{_fillupdir} /sysconfig.packagekit-background
2016-07-14 00:47:51 +02:00
# Prepare for update-alternatives
mkdir -p %{buildroot} %{_sysconfdir} /alternatives
ln -s -f %{_sysconfdir} /alternatives/gst-install-plugins-helper %{buildroot} /%{_libexecdir} /gst-install-plugins-helper
2014-09-18 19:14:00 +02:00
# Add rcFOO symlinks
mkdir -p %{buildroot} %{_sbindir}
ln -sf %{_sbindir} /service %{buildroot} %{_sbindir} /rcpackagekit
%if %{with_offline_updates}
ln -sf %{_sbindir} /service %{buildroot} %{_sbindir} /rcpackagekit-offline-update
%endif
2011-02-13 22:19:08 +01:00
%find_lang %{name} %{?no_lang_C}
2015-11-10 13:35:31 +01:00
%fdupes %{buildroot}
2007-12-18 04:26:13 +01:00
2015-11-10 13:35:31 +01:00
%pre
2013-12-01 18:39:29 +01:00
%service_add_pre packagekit.service
%if %{with_offline_updates}
2013-01-16 22:41:02 +01:00
%service_add_pre packagekit-offline-update.service
2013-02-20 00:14:20 +01:00
%endif
2013-01-16 22:41:02 +01:00
2010-04-15 23:37:10 +02:00
%post
%{fillup_only -n packagekit-background}
2011-02-13 22:19:08 +01:00
%mime_database_post
2013-12-01 18:39:29 +01:00
%service_add_post packagekit.service
2013-02-19 15:38:12 +01:00
%if %{with_offline_updates}
2013-01-16 22:41:02 +01:00
%service_add_post packagekit-offline-update.service
2013-02-19 15:38:12 +01:00
%else
if [ -L system-update ]; then
rm system-update
fi
if [ -f var/lib/PackageKit/prepared-update ]; then
rm var/lib/PackageKit/prepared-update
fi
%endif
2013-01-16 22:41:02 +01:00
2015-11-10 13:35:31 +01:00
%preun
2013-12-01 18:39:29 +01:00
%service_del_preun packagekit.service
%if %{with_offline_updates}
2013-01-16 22:41:02 +01:00
%service_del_preun packagekit-offline-update.service
2013-02-19 15:38:12 +01:00
%endif
2011-02-13 22:19:08 +01:00
%postun
%mime_database_postun
2014-08-07 09:22:03 +02:00
# Do not restart PackageKit on upgrade - it kills the transaction
2014-10-09 20:09:39 +02:00
export DISABLE_RESTART_ON_UPDATE=yes
2013-12-01 18:39:29 +01:00
%service_del_postun packagekit.service
2013-02-19 15:38:12 +01:00
%if %{with_offline_updates}
2013-01-16 22:41:02 +01:00
%service_del_postun packagekit-offline-update.service
2013-02-19 15:38:12 +01:00
%endif
2010-04-15 23:37:10 +02:00
%post gstreamer-plugin
update-alternatives --install %{_libexecdir} /gst-install-plugins-helper gst-install-plugins-helper %{_libexecdir} /pk-gstreamer-install 10
%postun gstreamer-plugin
# Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed
if [ ! -f %{_libexecdir} /pk-gstreamer-install ]; then
update-alternatives --remove gst-install-plugins-helper %{_libexecdir} /pk-gstreamer-install
fi
2017-11-07 10:40:59 +01:00
%if 0%{?suse_version} < 1330
2011-12-23 10:57:35 +01:00
%post gtk3-module
%glib2_gsettings_schema_post
2008-11-03 14:16:09 +01:00
2011-12-23 10:57:35 +01:00
%postun gtk3-module
%glib2_gsettings_schema_postun
2017-11-07 10:40:59 +01:00
%endif
2011-12-23 10:57:35 +01:00
2014-09-10 17:29:03 +02:00
%post -n libpackagekit-glib2-18 -p /sbin/ldconfig
%postun -n libpackagekit-glib2-18 -p /sbin/ldconfig
2011-05-09 17:03:50 +02:00
2008-11-03 14:16:09 +01:00
%files lang -f %{name}.lang
2010-03-31 02:08:42 +02:00
%files
2018-03-01 12:12:26 +01:00
%license COPYING
%doc AUTHORS HACKING NEWS README
2007-12-18 04:26:13 +01:00
%dir %{_sysconfdir} /PackageKit
%dir %{_datadir} /PackageKit
%dir %{_datadir} /PackageKit/helpers
%dir %{_datadir} /PackageKit/helpers/test_spawn
2008-01-10 02:36:18 +01:00
%dir %{_libdir} /packagekit-backend
2010-04-15 23:37:10 +02:00
%dir %{_localstatedir} /lib/PackageKit
2013-05-09 12:35:19 +02:00
%{_datadir} /bash-completion/completions/pkcon
2010-04-15 23:37:10 +02:00
%{_sysconfdir} /cron.daily/packagekit-background.cron
2007-12-18 04:26:13 +01:00
%{_sysconfdir} /dbus-1/system.d/org.freedesktop.PackageKit.conf
2015-11-10 13:35:31 +01:00
%if %{BUILD_CNF}
2009-02-16 01:27:05 +01:00
%{_sysconfdir} /profile.d/PackageKit.sh
2010-04-15 23:37:10 +02:00
%endif
2017-11-23 16:00:31 +01:00
%{_fillupdir} /sysconfig.packagekit-background
2007-12-18 04:26:13 +01:00
%{_bindir} /pkcon
%{_bindir} /pkmon
2012-02-16 08:04:25 +01:00
%{_libdir} /packagekit-backend/libpk_backend_dummy.so
2010-08-10 00:02:29 +02:00
%{_libexecdir} /packagekitd
2014-09-10 17:29:03 +02:00
%{_libexecdir} /packagekit-direct
2015-11-10 13:35:31 +01:00
%if %{BUILD_CNF}
2009-07-20 10:39:18 +02:00
%{_libexecdir} /pk-command-not-found
2010-04-15 23:37:10 +02:00
%endif
2012-02-16 08:04:25 +01:00
%{_datadir} /dbus-1/interfaces/org.freedesktop.PackageKit.Transaction.xml
%{_datadir} /dbus-1/interfaces/org.freedesktop.PackageKit.xml
2007-12-18 04:26:13 +01:00
%{_datadir} /PackageKit/helpers/test_spawn/search-name.sh
2008-09-24 17:19:16 +02:00
%{_datadir} /PackageKit/pk-upgrade-distro.sh
2009-07-31 21:06:16 +02:00
%{_datadir} /polkit-1/actions/org.freedesktop.packagekit.policy
2013-08-25 17:19:56 +02:00
%{_datadir} /polkit-1/rules.d/org.freedesktop.packagekit.rules
2007-12-18 04:26:13 +01:00
%{_datadir} /dbus-1/system-services/*
2016-08-25 13:12:48 +02:00
%dir %{_localstatedir} /cache/%{name}
2013-12-01 18:39:29 +01:00
%{_unitdir} /packagekit.service
2014-09-18 19:14:00 +02:00
%{_sbindir} /rcpackagekit
2018-03-01 12:12:26 +01:00
%{_mandir} /man?/*%{ext_man}
2010-04-15 23:37:10 +02:00
%verify (not md5 size mtime) %{_localstatedir} /lib/PackageKit/transactions.db
2013-02-19 15:38:12 +01:00
%if %{with_offline_updates}
%{_libexecdir} /pk-offline-update
2013-01-16 22:41:02 +01:00
%{_unitdir} /packagekit-offline-update.service
2014-10-04 14:34:15 +02:00
%dir %{_unitdir} /system-update.target.wants
%{_unitdir} /system-update.target.wants/packagekit-offline-update.service
2014-09-18 19:14:00 +02:00
%{_sbindir} /rcpackagekit-offline-update
2013-02-19 15:38:12 +01:00
%endif
2010-04-15 23:37:10 +02:00
2012-02-16 08:04:25 +01:00
%files backend-zypp
%{_libdir} /packagekit-backend/libpk_backend_zypp.so
2010-04-15 23:37:10 +02:00
%files gstreamer-plugin
2016-07-14 00:47:51 +02:00
%ghost %{_sysconfdir} /alternatives/gst-install-plugins-helper
%{_libexecdir} /gst-install-plugins-helper
2010-04-15 23:37:10 +02:00
%{_libexecdir} /pk-gstreamer-install
2011-04-21 11:37:42 +02:00
%files gtk3-module
2011-12-23 10:57:35 +01:00
%dir %{_libdir} /gnome-settings-daemon-3.0
%dir %{_libdir} /gnome-settings-daemon-3.0/gtk-modules
%{_libdir} /gnome-settings-daemon-3.0/gtk-modules/pk-gtk-module.desktop
2011-04-21 11:37:42 +02:00
%{_libdir} /gtk-3.0/modules/*
2013-01-16 22:41:02 +01:00
%{_libdir} /gtk-2.0/modules/*
2011-04-21 11:37:42 +02:00
2007-12-18 04:26:13 +01:00
%files devel
2011-12-23 10:57:35 +01:00
%doc %{_datadir} /gtk-doc/html/PackageKit
2015-09-02 10:03:31 +02:00
%{_datadir} /vala/vapi/packagekit-glib2.vapi
2012-02-16 08:04:25 +01:00
# Test backends are not useful, except for developers
%{_libdir} /packagekit-backend/libpk_backend_test_fail.so
%{_libdir} /packagekit-backend/libpk_backend_test_nop.so
%{_libdir} /packagekit-backend/libpk_backend_test_spawn.so
%{_libdir} /packagekit-backend/libpk_backend_test_succeed.so
%{_libdir} /packagekit-backend/libpk_backend_test_thread.so
2008-11-03 14:16:09 +01:00
%dir %{_includedir} /PackageKit
2014-09-10 17:29:03 +02:00
%files -n libpackagekit-glib2-18
2018-03-01 12:12:26 +01:00
%license lib/packagekit-glib2/COPYING
2010-03-31 02:08:42 +02:00
%{_libdir} /libpackagekit-glib2.so.*
2011-12-23 10:57:35 +01:00
%files -n typelib-1_0-PackageKitGlib-1_0
2010-03-31 02:08:42 +02:00
%{_libdir} /girepository-1.0/PackageKitGlib-1.0.typelib
2008-11-03 14:16:09 +01:00
2010-03-31 02:08:42 +02:00
%files -n libpackagekit-glib2-devel
%{_libdir} /libpackagekit-glib2.so
%{_libdir} /pkgconfig/packagekit-glib2.pc
2008-11-03 14:16:09 +01:00
%dir %{_includedir} /PackageKit
2010-03-31 02:08:42 +02:00
%{_includedir} /PackageKit/packagekit-glib2/
2010-09-24 00:00:55 +02:00
%{_datadir} /gir-1.0/PackageKitGlib-1.0.gir
2008-11-03 14:16:09 +01:00
2010-03-31 02:08:42 +02:00
%files branding-upstream
2015-11-10 13:35:31 +01:00
%if %{BUILD_CNF}
2010-03-31 02:08:42 +02:00
%config (noreplace) %{_sysconfdir} /PackageKit/CommandNotFound.conf
2010-04-15 23:37:10 +02:00
%endif
2010-03-31 02:08:42 +02:00
%config (noreplace) %{_sysconfdir} /PackageKit/PackageKit.conf
# This file should not be touched by users/admins, so we can replace it
%{_sysconfdir} /PackageKit/Vendor.conf
2007-12-18 04:26:13 +01:00
%changelog