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
#
2013-01-16 22:41:02 +01:00
# Copyright (c) 2013 SUSE LINUX Products 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
2010-04-15 23:37:10 +02:00
# $ pkcon search file /usr/bin/anjuta
2011-05-09 17:03:50 +02:00
%define BUILD_CNF 1
2010-04-15 23:37:10 +02:00
2007-12-18 04:26:13 +01:00
Name : PackageKit
2013-01-16 22:41:02 +01:00
Version : 0.8.7
2011-12-12 17:08:55 +01:00
Release : 0
2012-04-27 19:28:33 +02:00
Summary : Simple software installation management software
2012-09-21 23:02:02 +02:00
License : GPL-2.0+
2012-04-27 19:28:33 +02:00
Group : System/Daemons
Url : http://packagekit.org/
Source : http://www.packagekit.org/releases/%{name} -%{version} .tar.xz
Source2 : baselibs.conf
2013-01-16 22:41:02 +01:00
# PATCH-FEATURE-OPENSUSE 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch vuntz@opensuse.org -- Change the configuration of the cron script to a sysconfig-like config
Patch1 : 0001-Change-the-configuration-of-the-cron-script-to-a-sys.patch
# PATCH-FIX-UPSTREAM PackageKit-npapi.patch fdo#40026 wr@rosenauer.org -- Build against npapi-sdk instead of xulrunner
Patch2 : 0002-Build-against-npapi-sdk-instead-of-xulrunner.patch
2013-01-17 20:04:48 +01:00
# PATCH-FIX-OPENSUSE fix-policies-opensuse.patch tittiatcoke@gmail.com -- Make sure that the Policy settings are conform openSUSE standards
Patch3 : fix-policies-opensuse.patch
# PATCH-FIX-UPSTREAM 0003-zypp-fix-download-progress.patch coolo@suse.de -- Fix download progress
Patch4 : 0003-zypp-fix-download-progress.patch
2012-04-27 19:28:33 +02:00
# To update this package, please git-format-patch the tag of the
# tarball version (eg: PACKAGEKIT_0_6_19) vs the distro tag (eg: openSUSE_Factory)
# in https://github.com/openSUSE/PackageKit and keep the patches
# in that git repository for easier tracking and merging.
# When updating the package you can rebase the distro branch against
# the new release tag.
#
2009-02-16 01:27:05 +01:00
BuildRequires : NetworkManager-devel
2011-12-12 17:08:55 +01:00
BuildRequires : automake
2009-06-12 18:42:12 +02:00
BuildRequires : docbook-utils
2009-02-16 01:27:05 +01:00
BuildRequires : fdupes
BuildRequires : gcc-c++
2010-03-31 02:08:42 +02:00
BuildRequires : gobject-introspection-devel
2009-02-16 01:27:05 +01:00
BuildRequires : gstreamer-0_10-devel
BuildRequires : gstreamer-0_10-plugins-base-devel
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
2009-02-16 01:27:05 +01:00
BuildRequires : libqt4-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
2010-03-31 02:08:42 +02:00
BuildRequires : pm-utils
2011-12-23 10:57:35 +01:00
BuildRequires : polkit-devel >= 0.98
2009-02-16 01:27:05 +01:00
BuildRequires : python-devel
2013-01-16 22:53:44 +01:00
BuildRequires : pkgconfig(npapi-sdk)
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
2011-02-17 13:10:30 +01:00
BuildRequires : translation-update-upstream
2013-01-16 22:41:02 +01:00
BuildRequires : pkgconfig(systemd)
2010-08-10 00:02:29 +02:00
Requires : %{name} -branding = %{version}
2012-02-16 08:04:25 +01:00
# We really want a working backend (likely zypp)
Requires : %{name} -backend
2010-10-15 16:49:28 +02:00
Recommends: %{name} -lang
2010-04-15 23:37:10 +02:00
PreReq : %fillup_prereq
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
2012-04-27 19:28:33 +02:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2010-04-15 23:37:10 +02:00
%py_requires
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
2012-09-21 23:02:02 +02:00
License : GPL-2.0+
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.
2011-12-23 10:57:35 +01:00
%package -n typelib-1_0-PackageKitPlugin-1_0
Summary : Simple software installation management software -- Plugin library, Introspection bindings
2012-09-21 23:02:02 +02:00
License : GPL-2.0+
2011-12-23 10:57:35 +01:00
Group : System/Libraries
%description -n typelib-1_0-PackageKitPlugin-1_0
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 GObject Introspection bindings for the
PackageKit plugin library.
2010-04-15 23:37:10 +02:00
%package gstreamer-plugin
Summary : Simple software installation management software
2012-09-21 23:02:02 +02:00
License : GPL-2.0+
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}
Supplements: packageand(%{name} :gstreamer-0_10-plugins-base)
2011-04-21 11:41:47 +02:00
Provides : opensuse-codecs-installer = 10.3.1
Obsoletes : opensuse-codecs-installer <= 10.3.1
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
2012-09-21 23:02:02 +02:00
License : GPL-2.0+
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
2012-09-21 23:02:02 +02:00
License : GPL-2.0+
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
2011-12-23 10:57:35 +01:00
Requires : typelib-1_0-PackageKitPlugin-1_0 = %{version}
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.
2013-01-16 22:41:02 +01:00
%package -n libpackagekit-glib2-16
2008-11-03 14:16:09 +01:00
Summary : Simple software installation management software
2012-09-21 23:02:02 +02:00
License : LGPL-2.1+
2011-12-23 10:57:35 +01:00
Group : System/Libraries
2011-05-09 17:03:50 +02:00
Recommends: %{name}
2010-04-25 18:42:54 +02:00
Provides : libpackagekit-glib12 = %{version}
Obsoletes : libpackagekit-glib12 < %{version}
2008-11-03 14:16:09 +01:00
2013-01-16 22:41:02 +01:00
%description -n libpackagekit-glib2-16
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
2012-09-21 23:02:02 +02:00
License : LGPL-2.1+
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
2012-09-21 23:02:02 +02:00
License : LGPL-2.1+
2011-12-23 10:57:35 +01:00
Group : Development/Libraries/GNOME
2013-01-16 22:41:02 +01:00
Requires : libpackagekit-glib2-16 = %{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.
2013-01-16 22:41:02 +01:00
%package browser-plugin
2011-05-09 17:03:50 +02:00
Summary : Simple software installation management software
2013-01-16 22:41:02 +01:00
License : GPL-2.0+
Group : Productivity/Networking/Web/Browsers
Recommends: %{name} = %{version}
Supplements: packageand(%{name} :MozillaFirefox)
Supplements: packageand(%{name} :epiphany)
2011-05-09 17:03:50 +02:00
2013-01-16 22:41:02 +01:00
%description browser-plugin
2011-05-09 17:03:50 +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.
2010-03-31 02:08:42 +02:00
%package branding-upstream
2011-07-06 18:44:29 +02:00
Summary : Simple software installation management software -- Upstream default configuration
2012-09-21 23:02:02 +02:00
License : GPL-2.0+
2011-12-23 10:57:35 +01:00
Group : System/Daemons
2011-07-06 18:44:29 +02:00
Requires : %{name} = %{version}
2010-03-31 02:08:42 +02:00
Provides : %{name} -branding = %{version}
Conflicts : otherproviders(%{name} -branding)
2011-07-06 18:44:29 +02:00
Supplements: packageand(%{name} :branding-upstream)
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
2007-12-18 04:26:13 +01:00
%prep
2009-03-03 00:40:57 +01:00
%setup -q
2012-01-18 09:09:10 +01:00
%patch1 -p1
2012-04-27 19:28:33 +02:00
%patch2 -p1
2013-01-17 20:04:48 +01:00
%patch3 -p0
%patch4 -p1
2013-01-16 22:41:02 +01:00
translation-update-upstream
2007-12-18 04:26:13 +01:00
%build
2012-11-18 16:07:05 +01:00
# Needed due to patch3 and patch13
2012-06-21 20:04:27 +02:00
autoreconf -fi
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 \
2009-02-16 01:27:05 +01:00
--with-default-backend=zypp \
2009-05-20 21:55:04 +02:00
--with-security-framework=polkit \
2009-02-16 01:27:05 +01:00
--with-mozilla-plugin-dir=%{_libdir} /browser-plugins \
2010-04-15 23:37:10 +02:00
%if ! %BUILD_CNF
2013-01-16 22:41:02 +01:00
--disable-command-not-found \
%else
--enable-command-not-found \
2010-04-15 23:37:10 +02:00
%endif
%{nil}
2011-09-22 14:17:17 +02:00
make %{?_smp_mflags} V=1
2007-12-18 04:26:13 +01:00
%install
%makeinstall
2008-08-21 21:39:04 +02:00
mv %{buildroot} %{_sysconfdir} /bash_completion.d/pk-completion.{ba,}sh
2013-01-16 23:04:29 +01:00
find %{buildroot} -type f -name " * . l a " -delete -print
2010-03-31 02:08:42 +02:00
# the pm-utils package in openSUSE uses libexecdir and not libdir
%if "%{_libdir}" != "%{_libexecdir}"
2010-04-15 23:37:10 +02:00
test ! -e %{buildroot} %{_libexecdir} /pm-utils
mv %{buildroot} %{_libdir} /pm-utils %{buildroot} %{_libexecdir} /pm-utils
2010-03-31 02:08:42 +02:00
%endif
2010-04-15 23:37:10 +02:00
# move the cron configuration to a sysconfig template
install -d %{buildroot} %{_localstatedir} /adm/fillup-templates
mv %{buildroot} %{_sysconfdir} /sysconfig/packagekit-background %{buildroot} %{_localstatedir} /adm/fillup-templates/sysconfig.packagekit-background
2011-07-05 10:25:13 +02:00
# create ghost file
touch %{buildroot} %{_libexecdir} /gst-install-plugins-helper
2011-02-13 22:19:08 +01:00
%find_lang %{name} %{?no_lang_C}
2008-04-14 22:27:42 +02:00
%fdupes $RPM_BUILD_ROOT
2007-12-18 04:26:13 +01:00
2013-01-16 22:41:02 +01:00
%pre
%service_add_pre packagekit-offline-update.service
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-01-16 22:41:02 +01:00
%service_add_post packagekit-offline-update.service
%preun
%service_del_preun packagekit-offline-update.service
2011-02-13 22:19:08 +01:00
%postun
%mime_database_postun
2013-01-16 22:41:02 +01:00
%service_del_postun packagekit-offline-update.service
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
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
2013-01-16 22:41:02 +01:00
%post -n libpackagekit-glib2-16 -p /sbin/ldconfig
2011-05-09 17:03:50 +02:00
2013-01-16 22:41:02 +01:00
%postun -n libpackagekit-glib2-16 -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
2007-12-18 04:26:13 +01:00
%defattr (-,root,root)
2010-03-31 02:08:42 +02:00
%doc AUTHORS ChangeLog COPYING HACKING NEWS README
2007-12-18 04:26:13 +01:00
%dir %{_sysconfdir} /PackageKit
2010-10-15 16:49:28 +02:00
%dir %{_sysconfdir} /PackageKit/events
%dir %{_sysconfdir} /PackageKit/events/post-transaction.d
%dir %{_sysconfdir} /PackageKit/events/pre-transaction.d
2007-12-18 04:26:13 +01:00
%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
2011-12-23 10:57:35 +01:00
%dir %{_libdir} /packagekit-plugins
2009-08-17 15:02:59 +02:00
%dir %{python_sitelib} /packagekit
2010-03-31 02:08:42 +02:00
%dir %{_libexecdir} /pm-utils
%dir %{_libexecdir} /pm-utils/sleep.d
2010-04-15 23:37:10 +02:00
%dir %{_localstatedir} /lib/PackageKit
2010-10-15 16:49:28 +02:00
%{_sysconfdir} /PackageKit/events/post-transaction.d/README
%{_sysconfdir} /PackageKit/events/pre-transaction.d/README
2008-08-21 21:39:04 +02:00
%{_sysconfdir} /bash_completion.d/pk-completion.sh
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
2010-04-15 23:37:10 +02: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
%{_localstatedir} /adm/fillup-templates/sysconfig.packagekit-background
2007-12-18 04:26:13 +01:00
%{_bindir} /packagekit-bugreport.sh
2009-08-17 15:02:59 +02:00
%{_bindir} /pk-debuginfo-install
2007-12-18 04:26:13 +01:00
%{_bindir} /pkcon
%{_bindir} /pkmon
2008-08-18 18:59:14 +02:00
%{_bindir} /pkgenpack
2012-02-16 08:04:25 +01:00
%{_libdir} /packagekit-backend/libpk_backend_dummy.so
%{_libdir} /packagekit-plugins/libpk_plugin-check-shared-libraries-in-use.so
%{_libdir} /packagekit-plugins/libpk_plugin-no-update-process.so
%{_libdir} /packagekit-plugins/libpk_plugin-scan-desktop-files.so
%{_libdir} /packagekit-plugins/libpk_plugin_scripts.so
%{_libdir} /packagekit-plugins/libpk_plugin-update-check-processes.so
2013-01-16 22:41:02 +01:00
%{_libdir} /packagekit-plugins/libpk_plugin-clear-firmware-requests.so
%{_libdir} /packagekit-plugins/libpk_plugin-clear-system-update.so
%{_libdir} /packagekit-plugins/libpk_plugin-require-restart.so
%{_libdir} /packagekit-plugins/libpk_plugin-systemd-updates.so
%{_libdir} /packagekit-plugins/libpk_plugin-update-package-cache.so
2010-08-10 00:02:29 +02:00
%{_libexecdir} /packagekitd
2013-01-16 22:41:02 +01:00
%{_libexecdir} /pk-clear-offline-update
%{_libexecdir} /pk-offline-update
%{_libexecdir} /pk-trigger-offline-update
2010-03-31 02:08:42 +02:00
%{_libexecdir} /pm-utils/sleep.d/95packagekit
2010-04-15 23:37:10 +02: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
2009-08-17 15:02:59 +02:00
%{python_sitelib} /packagekit/*
2010-03-31 02:08:42 +02:00
%{_sbindir} /pk-device-rebind
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
2008-10-14 18:14:35 +02:00
%{_datadir} /mime/packages/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
2007-12-18 04:26:13 +01:00
%{_datadir} /dbus-1/system-services/*
2009-06-12 18:42:12 +02:00
%doc %{_mandir} /man?/*.*
2010-04-15 23:37:10 +02:00
%verify (not md5 size mtime) %{_localstatedir} /lib/PackageKit/transactions.db
2013-01-16 22:41:02 +01:00
%{_unitdir} /packagekit-offline-update.service
2010-04-15 23:37:10 +02:00
2012-02-16 08:04:25 +01:00
%files backend-zypp
%defattr (-,root,root)
%{_libdir} /packagekit-backend/libpk_backend_zypp.so
2011-12-23 10:57:35 +01:00
%files -n typelib-1_0-PackageKitPlugin-1_0
%defattr (-,root,root)
%{_libdir} /girepository-1.0/PackageKitPlugin-1.0.typelib
2010-04-15 23:37:10 +02:00
%files gstreamer-plugin
%defattr (-,root,root)
2011-01-06 02:32:08 +01:00
%ghost %attr (755,root,root) %{_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
%defattr (-,root,root)
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
%defattr (-,root,root)
2011-12-23 10:57:35 +01:00
%doc %{_datadir} /gtk-doc/html/PackageKit
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
2011-12-23 10:57:35 +01:00
%{_libdir} /pkgconfig/packagekit-plugin.pc
2008-11-03 14:16:09 +01:00
%dir %{_includedir} /PackageKit
2011-12-23 10:57:35 +01:00
%{_includedir} /PackageKit/plugin/
%{_datadir} /gir-1.0/PackageKitPlugin-1.0.gir
2008-11-03 14:16:09 +01:00
2013-01-16 22:41:02 +01:00
%files -n libpackagekit-glib2-16
2008-11-03 14:16:09 +01:00
%defattr (-,root,root)
2012-09-21 23:02:02 +02:00
%doc 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
%defattr (-,root,root)
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
2008-11-03 14:16:09 +01:00
%defattr (-,root,root)
2010-03-31 02:08:42 +02:00
%{_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
2013-01-16 22:41:02 +01:00
%files browser-plugin
2011-05-09 17:03:50 +02:00
%defattr (-,root,root)
2013-01-16 22:41:02 +01:00
%{_libdir} /browser-plugins/packagekit-plugin.so
2011-05-09 17:03:50 +02:00
2010-03-31 02:08:42 +02:00
%files branding-upstream
%defattr (-,root,root)
2010-04-15 23:37:10 +02: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