|
@@ -1,20 +1,26 @@
|
|
|
|
+%bcond_with systemd
|
|
|
|
+
|
|
%define _unpackaged_files_terminate_build 1
|
|
%define _unpackaged_files_terminate_build 1
|
|
-%global _vpath_srcdir .
|
|
|
|
-%global _vpath_builddir build
|
|
|
|
%global __global_cflags %{optflags}
|
|
%global __global_cflags %{optflags}
|
|
%global __global_ldflags ""
|
|
%global __global_ldflags ""
|
|
|
|
|
|
Summary: A PackageKit client for the GNOME desktop
|
|
Summary: A PackageKit client for the GNOME desktop
|
|
|
|
+Summary(ja): GNOMEデスクトップ向けのPackageKitクライアント
|
|
Name: gnome-packagekit
|
|
Name: gnome-packagekit
|
|
-Version: 3.30.0
|
|
|
|
-Release: 1%{?_dist_release}
|
|
|
|
-Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.12/%{name}-%{version}.tar.xz
|
|
|
|
|
|
+Version: 3.32.0
|
|
|
|
+Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
|
|
+Group: desktop-gnome,admin-tools
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+
|
|
License: GPLv2
|
|
License: GPLv2
|
|
-Group: Applications/Administration
|
|
|
|
-URL: http://www.packagekit.org
|
|
|
|
|
|
+URL: https://www.freedesktop.org/software/PackageKit/
|
|
|
|
+%global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
|
|
|
|
+Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
+BuildRequires: meson
|
|
BuildRequires: glib2-devel >= 2.25.8
|
|
BuildRequires: glib2-devel >= 2.25.8
|
|
BuildRequires: gtk3-devel
|
|
BuildRequires: gtk3-devel
|
|
BuildRequires: libnotify-devel >= 0.7.0
|
|
BuildRequires: libnotify-devel >= 0.7.0
|
|
@@ -30,21 +36,17 @@ BuildRequires: libcanberra-devel
|
|
BuildRequires: libgudev1-devel
|
|
BuildRequires: libgudev1-devel
|
|
BuildRequires: libxslt
|
|
BuildRequires: libxslt
|
|
BuildRequires: docbook-utils
|
|
BuildRequires: docbook-utils
|
|
-#BuildRequires: systemd-devel
|
|
|
|
-BuildRequires: meson
|
|
|
|
BuildRequires: polkit-devel
|
|
BuildRequires: polkit-devel
|
|
BuildRequires: itstool
|
|
BuildRequires: itstool
|
|
BuildRequires: libappstream-glib
|
|
BuildRequires: libappstream-glib
|
|
-
|
|
|
|
BuildRequires: dbus-glib-devel
|
|
BuildRequires: dbus-glib-devel
|
|
BuildRequires: upower-devel
|
|
BuildRequires: upower-devel
|
|
BuildRequires: libcanberra-gtk3-devel
|
|
BuildRequires: libcanberra-gtk3-devel
|
|
BuildRequires: yelp-tools
|
|
BuildRequires: yelp-tools
|
|
-
|
|
|
|
-Vendor: Project Vine
|
|
|
|
-Distribution: Vine Linux
|
|
|
|
-Packager: Takemikaduchi
|
|
|
|
-
|
|
|
|
|
|
+%if %{with systemd}
|
|
|
|
+BuildRequires: systemd-devel
|
|
|
|
+%{?systemd_requires}
|
|
|
|
+%endif
|
|
|
|
|
|
%description
|
|
%description
|
|
gnome-packagekit are PackageKit client programs designed for the GNOME desktop.
|
|
gnome-packagekit are PackageKit client programs designed for the GNOME desktop.
|
|
@@ -58,10 +60,13 @@ gnome-packagekit are PackageKit client programs designed for the GNOME desktop.
|
|
export LANG=ja_JP.UTF-8
|
|
export LANG=ja_JP.UTF-8
|
|
|
|
|
|
%meson \
|
|
%meson \
|
|
|
|
+%if !%{with systemd}
|
|
-Dsystemd=false
|
|
-Dsystemd=false
|
|
-
|
|
|
|
|
|
+%endif
|
|
|
|
+ %{nil}
|
|
%meson_build
|
|
%meson_build
|
|
|
|
|
|
|
|
+
|
|
%install
|
|
%install
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%meson_install
|
|
%meson_install
|
|
@@ -69,14 +74,13 @@ export LANG=ja_JP.UTF-8
|
|
# use gnome-software for installing local files
|
|
# use gnome-software for installing local files
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/gpk-install-local-file.desktop
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/gpk-install-local-file.desktop
|
|
|
|
|
|
-find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
|
|
|
|
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
|
|
-
|
|
|
|
%find_lang %{name} --with-gnome
|
|
%find_lang %{name} --with-gnome
|
|
|
|
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
+
|
|
%post
|
|
%post
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
update-desktop-database %{_datadir}/applications >& /dev/null ||:
|
|
update-desktop-database %{_datadir}/applications >& /dev/null ||:
|
|
@@ -133,6 +137,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
%{_mandir}/man1/gpk-update-viewer.1*
|
|
%{_mandir}/man1/gpk-update-viewer.1*
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Aug 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.32.0-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Tue Dec 11 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.30.0-1
|
|
* Tue Dec 11 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.30.0-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|