[5349] | 1 | Summary: A PackageKit client for the GNOME desktop |
---|
| 2 | Name: gnome-packagekit |
---|
[7119] | 3 | Version: 3.6.1 |
---|
[6890] | 4 | Release: 1%{?_dist_release} |
---|
| 5 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.6/%{name}-%{version}.tar.xz |
---|
[5349] | 6 | License: GPLv2 |
---|
| 7 | Group: Applications/Administration |
---|
| 8 | URL: http://www.packagekit.org |
---|
| 9 | |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | |
---|
| 12 | BuildRequires: gtk3-devel |
---|
| 13 | BuildRequires: dbus-glib-devel |
---|
| 14 | BuildRequires: PackageKit-devel |
---|
| 15 | BuildRequires: libgudev1-devel |
---|
| 16 | BuildRequires: upower-devel |
---|
| 17 | BuildRequires: libcanberra-gtk3-devel |
---|
| 18 | BuildRequires: libnotify-devel |
---|
[6890] | 19 | BuildRequires: yelp-tools |
---|
[5349] | 20 | |
---|
| 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | Packager: Takemikaduchi |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | gnome-packagekit are PackageKit client programs designed for the GNOME desktop. |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | %configure \ |
---|
| 36 | --disable-static \ |
---|
| 37 | --disable-scrollkeeper |
---|
| 38 | |
---|
| 39 | %{__make} %{?_smp_mflags} |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %install |
---|
| 43 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 44 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 45 | |
---|
| 46 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 47 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 48 | |
---|
| 49 | %find_lang %{name} --with-gnome |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %clean |
---|
| 53 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 54 | |
---|
| 55 | %post |
---|
| 56 | /sbin/ldconfig |
---|
| 57 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 58 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 59 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 60 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 61 | fi |
---|
| 62 | |
---|
| 63 | %postun |
---|
| 64 | /sbin/ldconfig |
---|
| 65 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 66 | if [ $1 -eq 0 ]; then |
---|
| 67 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 68 | fi |
---|
| 69 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 70 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
| 71 | /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||: |
---|
| 72 | fi |
---|
| 73 | |
---|
| 74 | %posttrans |
---|
| 75 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | %files -f %{name}.lang |
---|
| 80 | %defattr(-,root,root,-) |
---|
| 81 | %doc COPYING ChangeLog NEWS README |
---|
| 82 | %{_bindir}/gpk-application |
---|
| 83 | %{_bindir}/gpk-dbus-service |
---|
| 84 | %{_bindir}/gpk-distro-upgrade |
---|
| 85 | %{_bindir}/gpk-install-catalog |
---|
| 86 | %{_bindir}/gpk-install-local-file |
---|
| 87 | %{_bindir}/gpk-install-mime-type |
---|
| 88 | %{_bindir}/gpk-install-package-name |
---|
| 89 | %{_bindir}/gpk-install-provide-file |
---|
| 90 | %{_bindir}/gpk-log |
---|
| 91 | %{_bindir}/gpk-prefs |
---|
| 92 | %{_bindir}/gpk-service-pack |
---|
| 93 | %{_bindir}/gpk-update-viewer |
---|
| 94 | %{python_sitelib}/packagekit |
---|
| 95 | %{_datadir}/GConf/gsettings/org.gnome.packagekit.gschema.migrate |
---|
| 96 | %{_datadir}/applications/*.desktop |
---|
| 97 | %{_datadir}/dbus-1/services/org.freedesktop.PackageKit.service |
---|
| 98 | %{_datadir}/glib-2.0/schemas/org.gnome.packagekit.gschema.xml |
---|
| 99 | %{_datadir}/%{name} |
---|
| 100 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 101 | %{_mandir}/man1/*.1.gz |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | %changelog |
---|
[7119] | 105 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
| 106 | - new upstream release |
---|
| 107 | |
---|
[6890] | 108 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 109 | - new upstream release |
---|
| 110 | - change BuildRequires: yelp-tools instead of gnome-doc-utils |
---|
| 111 | |
---|
[5701] | 112 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-2 |
---|
| 113 | - rebuild with python-2.7.2 |
---|
| 114 | |
---|
[5349] | 115 | * Tue Jan 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 116 | - initial build for Vine Linux |
---|
| 117 | |
---|