gnome-packagekit/gnome-packagekit.spec

126 lines
3.7 KiB
RPMSpec
Raw Normal View History

2019-12-14 17:08:01 +08:00
Name: gnome-packagekit
2022-06-30 14:01:20 +08:00
Version: 3.32.0
Release: 1
2019-12-14 17:08:01 +08:00
Summary: Allows the session user to manage packages in a secure way
2022-06-30 14:01:20 +08:00
2019-12-14 17:08:01 +08:00
License: GPLv2+
URL: http://www.packagekit.org
2022-06-30 14:01:20 +08:00
Source0: http://download.gnome.org/sources/gnome-packagekit/3.32/%{name}-%{version}.tar.xz
2019-12-14 17:08:01 +08:00
2022-06-30 14:01:20 +08:00
BuildRequires: glib2-devel >= 2.25.8
BuildRequires: gtk3-devel
BuildRequires: libnotify-devel >= 0.7.0
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libtool
BuildRequires: cairo-devel
BuildRequires: startup-notification-devel
BuildRequires: PackageKit-devel >= 0.5.0
BuildRequires: xorg-x11-proto-devel
BuildRequires: fontconfig-devel
BuildRequires: libcanberra-devel
BuildRequires: libgudev1-devel
BuildRequires: libxslt
BuildRequires: docbook-utils
BuildRequires: systemd-devel
BuildRequires: meson
BuildRequires: polkit-devel
BuildRequires: itstool
BuildRequires: libappstream-glib
2019-12-14 17:08:01 +08:00
2022-06-30 14:01:20 +08:00
# the top level package depends on all the apps to make upgrades work
Requires: %{name}-installer
Requires: %{name}-updater
2019-12-14 17:08:01 +08: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.
This package provides some shared files, and is used to manage or update packages
not shown in GNOME Software.
2022-06-30 14:01:20 +08:00
%package common
Summary: Common files required for %{name}
Requires: adwaita-icon-theme
Requires: PackageKit%{?_isa} >= 0.5.0
Requires: PackageKit-libs >= 0.5.0
Requires: shared-mime-info
Requires: iso-codes
Requires: libcanberra%{?_isa} >= 0.10
%description common
Files shared by all subpackages of %{name}
%package installer
Summary: PackageKit package installer
Requires: %{name}-common%{?_isa} = %{version}-%{release}
%description installer
A graphical package installer for PackageKit which is used to manage software
not shown in GNOME Software.
2019-12-14 17:08:01 +08:00
2022-06-30 14:01:20 +08:00
%package updater
Summary: PackageKit package updater
Requires: %{name}-common%{?_isa} = %{version}-%{release}
2019-12-14 17:08:01 +08:00
2022-06-30 14:01:20 +08:00
%description updater
A graphical package updater for PackageKit which is used to update packages
without rebooting.
2019-12-14 17:08:01 +08:00
%prep
2022-06-30 14:01:20 +08:00
%setup -q
2019-12-14 17:08:01 +08:00
%build
%meson
%meson_build
%install
%meson_install
2022-06-30 14:01:20 +08:00
# use gnome-software for installing local files
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/gpk-install-local-file.desktop
%find_lang %name --with-gnome
%files
# nada
%files common -f %{name}.lang
%license COPYING
%doc AUTHORS README
%{_bindir}/gpk-log
%{_bindir}/gpk-prefs
2019-12-14 17:08:01 +08:00
%dir %{_datadir}/gnome-packagekit
%dir %{_datadir}/gnome-packagekit/icons
%dir %{_datadir}/gnome-packagekit/icons/hicolor
%dir %{_datadir}/gnome-packagekit/icons/hicolor/*
%dir %{_datadir}/gnome-packagekit/icons/hicolor/*/*
2022-06-30 14:01:20 +08:00
%{_datadir}/gnome-packagekit/icons/hicolor/*/*/*.png
%{_datadir}/gnome-packagekit/icons/hicolor/scalable/*/*.svg*
2019-12-14 17:08:01 +08:00
%{_datadir}/icons/hicolor/scalable/*/*.svg*
2022-06-30 14:01:20 +08:00
%{_datadir}/applications/gpk-log.desktop
%{_datadir}/applications/gpk-prefs.desktop
2019-12-14 17:08:01 +08:00
%{_datadir}/glib-2.0/schemas/org.gnome.packagekit.gschema.xml
%{_datadir}/GConf/gsettings/org.gnome.packagekit.gschema.migrate
2022-06-30 14:01:20 +08:00
%{_mandir}/man1/gpk-log.1*
%{_mandir}/man1/gpk-prefs.1*
2019-12-14 17:08:01 +08:00
2022-06-30 14:01:20 +08:00
%files installer
%{_bindir}/gpk-application
%{_datadir}/applications/org.gnome.Packages.desktop
%{_datadir}/metainfo/org.gnome.Packages.appdata.xml
%{_mandir}/man1/gpk-application.1*
%files updater
%{_bindir}/gpk-update-viewer
%{_datadir}/applications/org.gnome.PackageUpdater.desktop
%{_datadir}/metainfo/org.gnome.PackageUpdater.appdata.xml
%{_mandir}/man1/gpk-update-viewer.1*
2019-12-14 17:08:01 +08:00
%changelog
2022-06-30 14:01:20 +08:00
* Thu Jun 30 2022 liqiuyu <liqiuyu@kylinos.cn> - 3.32.0-1
- update to 3.32
2019-12-14 17:08:01 +08:00
* Fri Nov 22 2019 sunguoshuai <sunguoshuai@huawei.com> - 3.30.0-2
2022-06-30 14:01:20 +08:00
- Package init.