[11983] | 1 | %define _unpackaged_files_terminate_build 1 |
---|
| 2 | %global _vpath_srcdir . |
---|
| 3 | %global _vpath_builddir build |
---|
| 4 | %global __global_cflags %{optflags} |
---|
| 5 | %global __global_ldflags "" |
---|
| 6 | |
---|
[5349] | 7 | Summary: A PackageKit client for the GNOME desktop |
---|
| 8 | Name: gnome-packagekit |
---|
[11983] | 9 | Version: 3.30.0 |
---|
[6890] | 10 | Release: 1%{?_dist_release} |
---|
[8355] | 11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.12/%{name}-%{version}.tar.xz |
---|
[5349] | 12 | License: GPLv2 |
---|
| 13 | Group: Applications/Administration |
---|
| 14 | URL: http://www.packagekit.org |
---|
| 15 | |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | |
---|
[11983] | 18 | BuildRequires: glib2-devel >= 2.25.8 |
---|
| 19 | BuildRequires: gtk3-devel |
---|
| 20 | BuildRequires: libnotify-devel >= 0.7.0 |
---|
| 21 | BuildRequires: desktop-file-utils |
---|
| 22 | BuildRequires: gettext |
---|
| 23 | BuildRequires: libtool |
---|
| 24 | BuildRequires: cairo-devel |
---|
| 25 | BuildRequires: startup-notification-devel |
---|
| 26 | BuildRequires: PackageKit-devel >= 0.5.0 |
---|
| 27 | BuildRequires: xorg-x11-proto-devel |
---|
| 28 | BuildRequires: fontconfig-devel |
---|
| 29 | BuildRequires: libcanberra-devel |
---|
| 30 | BuildRequires: libgudev1-devel |
---|
| 31 | BuildRequires: libxslt |
---|
| 32 | BuildRequires: docbook-utils |
---|
| 33 | #BuildRequires: systemd-devel |
---|
| 34 | BuildRequires: meson |
---|
| 35 | BuildRequires: polkit-devel |
---|
| 36 | BuildRequires: itstool |
---|
| 37 | BuildRequires: libappstream-glib |
---|
| 38 | |
---|
[5349] | 39 | BuildRequires: dbus-glib-devel |
---|
| 40 | BuildRequires: upower-devel |
---|
| 41 | BuildRequires: libcanberra-gtk3-devel |
---|
[6890] | 42 | BuildRequires: yelp-tools |
---|
[5349] | 43 | |
---|
| 44 | Vendor: Project Vine |
---|
| 45 | Distribution: Vine Linux |
---|
| 46 | Packager: Takemikaduchi |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %description |
---|
| 50 | gnome-packagekit are PackageKit client programs designed for the GNOME desktop. |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %prep |
---|
| 54 | %setup -q |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %build |
---|
[11983] | 58 | export LANG=ja_JP.UTF-8 |
---|
[5349] | 59 | |
---|
[11983] | 60 | %meson \ |
---|
| 61 | -Dsystemd=false |
---|
[5349] | 62 | |
---|
[11983] | 63 | %meson_build |
---|
[5349] | 64 | |
---|
| 65 | %install |
---|
| 66 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
[11983] | 67 | %meson_install |
---|
[5349] | 68 | |
---|
[11983] | 69 | # use gnome-software for installing local files |
---|
| 70 | rm -f $RPM_BUILD_ROOT%{_datadir}/applications/gpk-install-local-file.desktop |
---|
| 71 | |
---|
[5349] | 72 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 73 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 74 | |
---|
| 75 | %find_lang %{name} --with-gnome |
---|
| 76 | |
---|
| 77 | %clean |
---|
| 78 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 79 | |
---|
| 80 | %post |
---|
| 81 | /sbin/ldconfig |
---|
| 82 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 83 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 84 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 85 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 86 | fi |
---|
| 87 | |
---|
| 88 | %postun |
---|
| 89 | /sbin/ldconfig |
---|
| 90 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 91 | if [ $1 -eq 0 ]; then |
---|
| 92 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 93 | fi |
---|
| 94 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 95 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 96 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 97 | fi |
---|
| 98 | |
---|
| 99 | %posttrans |
---|
| 100 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 101 | |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | %files -f %{name}.lang |
---|
| 105 | %defattr(-,root,root,-) |
---|
[11983] | 106 | %license COPYING |
---|
| 107 | %doc AUTHORS README |
---|
[5349] | 108 | %{_bindir}/gpk-log |
---|
| 109 | %{_bindir}/gpk-prefs |
---|
[11983] | 110 | %dir %{_datadir}/gnome-packagekit |
---|
| 111 | %dir %{_datadir}/gnome-packagekit/icons |
---|
| 112 | %dir %{_datadir}/gnome-packagekit/icons/hicolor |
---|
| 113 | %dir %{_datadir}/gnome-packagekit/icons/hicolor/* |
---|
| 114 | %dir %{_datadir}/gnome-packagekit/icons/hicolor/*/* |
---|
| 115 | %{_datadir}/gnome-packagekit/icons/hicolor/*/*/*.png |
---|
| 116 | %{_datadir}/gnome-packagekit/icons/hicolor/scalable/*/*.svg* |
---|
| 117 | %{_datadir}/icons/hicolor/scalable/*/*.svg* |
---|
| 118 | %{_datadir}/applications/gpk-log.desktop |
---|
| 119 | %{_datadir}/applications/gpk-prefs.desktop |
---|
| 120 | %{_datadir}/glib-2.0/schemas/org.gnome.packagekit.gschema.xml |
---|
| 121 | %{_datadir}/GConf/gsettings/org.gnome.packagekit.gschema.migrate |
---|
| 122 | %{_mandir}/man1/gpk-log.1* |
---|
| 123 | %{_mandir}/man1/gpk-prefs.1* |
---|
| 124 | # |
---|
| 125 | %{_bindir}/gpk-application |
---|
| 126 | %{_datadir}/applications/org.gnome.Packages.desktop |
---|
| 127 | %{_datadir}/metainfo/org.gnome.Packages.appdata.xml |
---|
| 128 | %{_mandir}/man1/gpk-application.1* |
---|
| 129 | # |
---|
[5349] | 130 | %{_bindir}/gpk-update-viewer |
---|
[11983] | 131 | %{_datadir}/applications/org.gnome.PackageUpdater.desktop |
---|
| 132 | %{_datadir}/metainfo/org.gnome.PackageUpdater.appdata.xml |
---|
| 133 | %{_mandir}/man1/gpk-update-viewer.1* |
---|
[5349] | 134 | |
---|
[11983] | 135 | %changelog |
---|
| 136 | * Tue Dec 11 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.30.0-1 |
---|
| 137 | - new upstream release. |
---|
[5349] | 138 | |
---|
[8355] | 139 | * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
| 140 | - new upstream release |
---|
| 141 | |
---|
[8152] | 142 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 143 | - new upstream release |
---|
| 144 | |
---|
[7681] | 145 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 146 | - new upstream release |
---|
| 147 | |
---|
[7119] | 148 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
| 149 | - new upstream release |
---|
| 150 | |
---|
[6890] | 151 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 152 | - new upstream release |
---|
| 153 | - change BuildRequires: yelp-tools instead of gnome-doc-utils |
---|
| 154 | |
---|
[5701] | 155 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-2 |
---|
| 156 | - rebuild with python-2.7.2 |
---|
| 157 | |
---|
[5349] | 158 | * Tue Jan 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 159 | - initial build for Vine Linux |
---|
| 160 | |
---|