| 1 | # Basic Information |
|---|
| 2 | Name: PackageKit |
|---|
| 3 | Version: 0.7.0 |
|---|
| 4 | Release: 1%{?_dist_release} |
|---|
| 5 | License: GPLv2 |
|---|
| 6 | Group: Applications/System |
|---|
| 7 | Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz |
|---|
| 8 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 9 | |
|---|
| 10 | Vendor: Project Vine |
|---|
| 11 | Distribution: Vine Linux |
|---|
| 12 | Packager: yasumichi |
|---|
| 13 | |
|---|
| 14 | Summary: A DBUS packaging abstraction layer |
|---|
| 15 | Summary(ja): DBUS のパッケージング抽象レイヤ |
|---|
| 16 | |
|---|
| 17 | # Dependency |
|---|
| 18 | BuildRequires: glib2-devel |
|---|
| 19 | BuildRequires: dbus-devel |
|---|
| 20 | BuildRequires: dbus-glib-devel |
|---|
| 21 | BuildRequires: polkit-devel |
|---|
| 22 | BuildRequires: NetworkManager-devel |
|---|
| 23 | BuildRequires: sqlite3-devel |
|---|
| 24 | BuildRequires: gtk3-devel |
|---|
| 25 | BuildRequires: gstreamer-plugins-base-devel |
|---|
| 26 | BuildRequires: gtk-doc |
|---|
| 27 | BuildRequires: python |
|---|
| 28 | |
|---|
| 29 | %description |
|---|
| 30 | PackageKit is a DBUS abstraction layer that allows the session user to |
|---|
| 31 | manage packages in a secure way using a cross-distro, cross-architecture |
|---|
| 32 | API. |
|---|
| 33 | |
|---|
| 34 | For more information, please see http://www.packagekit.org |
|---|
| 35 | |
|---|
| 36 | %description -l ja |
|---|
| 37 | PackageKit は、安全な方法でセッションのユーザーにパッケージ管理を許可する |
|---|
| 38 | DBUS の抽象レイヤです。ディストリビューションやアーキテクチャーをまたいだ |
|---|
| 39 | API を利用しています。 |
|---|
| 40 | |
|---|
| 41 | より詳しい情報は、 http://www.packagekit.org をご覧ください。 |
|---|
| 42 | |
|---|
| 43 | %package devel |
|---|
| 44 | Summary: Development enviroment for PackageKit |
|---|
| 45 | Summary(ja): PackageKit の開発環境 |
|---|
| 46 | Group: Development/Libraries |
|---|
| 47 | Requires: %{name} = %{version}-%{release} |
|---|
| 48 | |
|---|
| 49 | %description devel |
|---|
| 50 | Header file and libraries for developping PackageKit. |
|---|
| 51 | |
|---|
| 52 | %description -l ja devel |
|---|
| 53 | PackageKit で開発を行うためのヘッダファイルとライブラリ |
|---|
| 54 | |
|---|
| 55 | %package doc |
|---|
| 56 | Summary: Documants of PackageKit |
|---|
| 57 | Summary(ja): PackageKit のドキュメント |
|---|
| 58 | Group: Applications/Documentation |
|---|
| 59 | |
|---|
| 60 | %description doc |
|---|
| 61 | HTML documents of PackageKit |
|---|
| 62 | |
|---|
| 63 | %description -l ja doc |
|---|
| 64 | PackageKit の HTML ドキュメント |
|---|
| 65 | |
|---|
| 66 | %prep |
|---|
| 67 | %setup -q |
|---|
| 68 | |
|---|
| 69 | %build |
|---|
| 70 | %configure --enable-dummy --disable-qt --with-default-backend=dummy |
|---|
| 71 | %{__make} %{?_smp_mflags} |
|---|
| 72 | |
|---|
| 73 | %install |
|---|
| 74 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 75 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
|---|
| 76 | |
|---|
| 77 | %find_lang %{name} |
|---|
| 78 | |
|---|
| 79 | %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/gtk-3.0/modules/libpk-gtk-module.{a,la} |
|---|
| 80 | %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libpackagekit-glib2.{a,la} |
|---|
| 81 | %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/packagekit-backend/libpk_backend_*.{a,la} |
|---|
| 82 | %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/packagekit-plugins/libpk-plugin-*.{a,la} |
|---|
| 83 | |
|---|
| 84 | %clean |
|---|
| 85 | %{__rm} -rf ${RPM_BUILD_ROOT} |
|---|
| 86 | |
|---|
| 87 | |
|---|
| 88 | %files -f %{name}.lang |
|---|
| 89 | %defattr(-,root,root) |
|---|
| 90 | %doc AUTHORS COPYING HACKING MAINTAINERS NEWS README TODO |
|---|
| 91 | %{_sysconfdir}/PackageKit |
|---|
| 92 | %{_sysconfdir}/bash_completion.d/pk-completion.bash |
|---|
| 93 | %{_sysconfdir}/cron.daily/packagekit-background.cron |
|---|
| 94 | %{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit.conf |
|---|
| 95 | %{_sysconfdir}/profile.d/PackageKit.sh |
|---|
| 96 | %{_sysconfdir}/sysconfig/packagekit-background |
|---|
| 97 | %{_bindir}/packagekit-bugreport.sh |
|---|
| 98 | %{_bindir}/pk-debuginfo-install |
|---|
| 99 | %{_bindir}/pkcon |
|---|
| 100 | %{_bindir}/pkgenpack |
|---|
| 101 | %{_bindir}/pkmon |
|---|
| 102 | %{_includedir}/PackageKit |
|---|
| 103 | %{python_sitelib}/packagekit |
|---|
| 104 | %{_libdir}/girepository-1.0/PackageKitGlib-1.0.typelib |
|---|
| 105 | %{_libdir}/gtk-3.0/modules/libpk-gtk-module.so |
|---|
| 106 | %{_libdir}/libpackagekit-glib2.so.14 |
|---|
| 107 | %{_libdir}/libpackagekit-glib2.so.14.0.9 |
|---|
| 108 | %{_libdir}/packagekit-backend |
|---|
| 109 | %{_libdir}/packagekit-plugins |
|---|
| 110 | %{_libexecdir}/packagekitd |
|---|
| 111 | %{_libexecdir}/pk-command-not-found |
|---|
| 112 | %{_libexecdir}/pk-gstreamer-install |
|---|
| 113 | %{_datadir}/PackageKit |
|---|
| 114 | %{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.Transaction.xml |
|---|
| 115 | %{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.xml |
|---|
| 116 | %{_datadir}/dbus-1/system-services/org.freedesktop.PackageKit.service |
|---|
| 117 | %{_datadir}/gir-1.0/PackageKitGlib-1.0.gir |
|---|
| 118 | %{_mandir}/man1/pk-debuginfo-install.1* |
|---|
| 119 | %{_mandir}/man1/pkcon.1* |
|---|
| 120 | %{_mandir}/man1/pkgenpack.1* |
|---|
| 121 | %{_mandir}/man1/pkmon.1* |
|---|
| 122 | %{_datadir}/mime/packages/packagekit-catalog.xml |
|---|
| 123 | %{_datadir}/mime/packages/packagekit-package-list.xml |
|---|
| 124 | %{_datadir}/mime/packages/packagekit-servicepack.xml |
|---|
| 125 | %{_datadir}/polkit-1/actions/org.freedesktop.packagekit.policy |
|---|
| 126 | %{_localstatedir}/lib/PackageKit/transactions.db |
|---|
| 127 | |
|---|
| 128 | %exclude %{_datadir}/PackageKit/website |
|---|
| 129 | |
|---|
| 130 | %files devel |
|---|
| 131 | %defattr(-, root, root) |
|---|
| 132 | %{_libdir}/libpackagekit-glib2.so |
|---|
| 133 | %{_libdir}/pkgconfig/packagekit-glib2.pc |
|---|
| 134 | %{_libdir}/pkgconfig/packagekit-plugin.pc |
|---|
| 135 | |
|---|
| 136 | |
|---|
| 137 | %files doc |
|---|
| 138 | %defattr(-, root, root) |
|---|
| 139 | %{_datadir}/gtk-doc/html/PackageKit |
|---|
| 140 | %{_datadir}/PackageKit/website |
|---|
| 141 | |
|---|
| 142 | %changelog |
|---|
| 143 | * Sat Sep 17 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.7.0-1 |
|---|
| 144 | - initial build for Vine Linux |
|---|