[4768] | 1 | # Basic Information |
---|
| 2 | Name: PackageKit |
---|
[5348] | 3 | Version: 0.7.1 |
---|
[5701] | 4 | Release: 3%{?_dist_release} |
---|
[4768] | 5 | License: GPLv2 |
---|
| 6 | Group: Applications/System |
---|
| 7 | Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz |
---|
[5382] | 8 | Source100: filter-requires-%{name}.sh |
---|
[4768] | 9 | |
---|
[5382] | 10 | # for VineLinux |
---|
| 11 | Patch100: PackageKit-0.7.1-backend-aptcc-vine.patch |
---|
| 12 | |
---|
[4768] | 13 | Vendor: Project Vine |
---|
| 14 | Distribution: Vine Linux |
---|
| 15 | Packager: yasumichi |
---|
| 16 | |
---|
| 17 | Summary: A DBUS packaging abstraction layer |
---|
| 18 | Summary(ja): DBUS のパッケージング抽象レイヤ |
---|
| 19 | |
---|
[5382] | 20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 21 | |
---|
[4768] | 22 | # Dependency |
---|
| 23 | BuildRequires: glib2-devel |
---|
| 24 | BuildRequires: dbus-devel |
---|
| 25 | BuildRequires: dbus-glib-devel |
---|
[5348] | 26 | BuildRequires: libgudev1-devel |
---|
| 27 | BuildRequires: pm-utils-devel |
---|
[4768] | 28 | BuildRequires: polkit-devel |
---|
| 29 | BuildRequires: NetworkManager-devel |
---|
| 30 | BuildRequires: sqlite3-devel |
---|
| 31 | BuildRequires: gtk3-devel |
---|
| 32 | BuildRequires: gstreamer-plugins-base-devel |
---|
[5382] | 33 | BuildRequires: apt-devel |
---|
[4768] | 34 | BuildRequires: gtk-doc |
---|
| 35 | BuildRequires: python |
---|
| 36 | |
---|
[5382] | 37 | # Don't depend on Debconf::Client::ConfModule |
---|
| 38 | %define __perl_requires %{SOURCE100} |
---|
| 39 | |
---|
[4768] | 40 | %description |
---|
| 41 | PackageKit is a DBUS abstraction layer that allows the session user to |
---|
| 42 | manage packages in a secure way using a cross-distro, cross-architecture |
---|
| 43 | API. |
---|
| 44 | |
---|
| 45 | For more information, please see http://www.packagekit.org |
---|
| 46 | |
---|
| 47 | %description -l ja |
---|
| 48 | PackageKit は、安全な方法でセッションのユーザーにパッケージ管理を許可する |
---|
| 49 | DBUS の抽象レイヤです。ディストリビューションやアーキテクチャーをまたいだ |
---|
| 50 | API を利用しています。 |
---|
| 51 | |
---|
| 52 | より詳しい情報は、 http://www.packagekit.org をご覧ください。 |
---|
| 53 | |
---|
| 54 | %package devel |
---|
| 55 | Summary: Development enviroment for PackageKit |
---|
| 56 | Summary(ja): PackageKit の開発環境 |
---|
| 57 | Group: Development/Libraries |
---|
| 58 | Requires: %{name} = %{version}-%{release} |
---|
[5348] | 59 | Requires: glib2-devel |
---|
| 60 | Requires: dbus-devel |
---|
| 61 | Requires: sqlite3-devel |
---|
| 62 | Requires: pkgconfig |
---|
[4768] | 63 | |
---|
| 64 | %description devel |
---|
| 65 | Header file and libraries for developping PackageKit. |
---|
| 66 | |
---|
| 67 | %description -l ja devel |
---|
| 68 | PackageKit で開発を行うためのヘッダファイルとライブラリ |
---|
| 69 | |
---|
| 70 | %package doc |
---|
| 71 | Summary: Documants of PackageKit |
---|
| 72 | Summary(ja): PackageKit のドキュメント |
---|
| 73 | Group: Applications/Documentation |
---|
| 74 | |
---|
| 75 | %description doc |
---|
| 76 | HTML documents of PackageKit |
---|
| 77 | |
---|
| 78 | %description -l ja doc |
---|
| 79 | PackageKit の HTML ドキュメント |
---|
| 80 | |
---|
| 81 | %prep |
---|
| 82 | %setup -q |
---|
[5382] | 83 | %patch100 -p1 -b .vine |
---|
[4768] | 84 | |
---|
| 85 | %build |
---|
[5348] | 86 | autoreconf -if |
---|
[5382] | 87 | %configure --disable-static --enable-aptcc --disable-qt --with-default-backend=aptcc |
---|
[4768] | 88 | %{__make} %{?_smp_mflags} |
---|
| 89 | |
---|
| 90 | %install |
---|
| 91 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 92 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 93 | |
---|
| 94 | %find_lang %{name} |
---|
| 95 | |
---|
[5348] | 96 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 97 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
[4768] | 98 | |
---|
[5348] | 99 | %{__rm} -f ${RPM_BUILD_ROOT}%{_datadir}/glib-2.0/schemas/org.gnome.setttings-daemon.gtk-modules-packagekit.gschema.xml |
---|
| 100 | |
---|
[4768] | 101 | %clean |
---|
| 102 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 103 | |
---|
[5348] | 104 | %post -p /sbin/ldconfig |
---|
[4768] | 105 | |
---|
[5348] | 106 | %postun |
---|
| 107 | /sbin/ldconfig |
---|
| 108 | if [ $1 -eq 0 ]; then |
---|
| 109 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 110 | fi |
---|
| 111 | |
---|
| 112 | %posttrans |
---|
| 113 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 114 | |
---|
| 115 | |
---|
[4768] | 116 | %files -f %{name}.lang |
---|
| 117 | %defattr(-,root,root) |
---|
| 118 | %doc AUTHORS COPYING HACKING MAINTAINERS NEWS README TODO |
---|
| 119 | %{_sysconfdir}/PackageKit |
---|
[5382] | 120 | %{_sysconfdir}/apt/apt.conf.d/20packagekit |
---|
[4768] | 121 | %{_sysconfdir}/bash_completion.d/pk-completion.bash |
---|
| 122 | %{_sysconfdir}/cron.daily/packagekit-background.cron |
---|
| 123 | %{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit.conf |
---|
| 124 | %{_sysconfdir}/profile.d/PackageKit.sh |
---|
| 125 | %{_sysconfdir}/sysconfig/packagekit-background |
---|
| 126 | %{_bindir}/packagekit-bugreport.sh |
---|
| 127 | %{_bindir}/pk-debuginfo-install |
---|
| 128 | %{_bindir}/pkcon |
---|
| 129 | %{_bindir}/pkgenpack |
---|
| 130 | %{_bindir}/pkmon |
---|
| 131 | %{python_sitelib}/packagekit |
---|
| 132 | %{_libdir}/girepository-1.0/PackageKitGlib-1.0.typelib |
---|
[5348] | 133 | %{_libdir}/girepository-1.0/PackageKitPlugin-1.0.typelib |
---|
| 134 | %{_libdir}/gnome-settings-daemon-3.0/gtk-modules/pk-gtk-module.desktop |
---|
[4768] | 135 | %{_libdir}/gtk-3.0/modules/libpk-gtk-module.so |
---|
[5348] | 136 | %{_libdir}/libpackagekit-glib2.so.* |
---|
[4768] | 137 | %{_libdir}/packagekit-backend |
---|
| 138 | %{_libdir}/packagekit-plugins |
---|
[5348] | 139 | %{_libdir}/pm-utils/sleep.d/95packagekit |
---|
[4768] | 140 | %{_libexecdir}/packagekitd |
---|
| 141 | %{_libexecdir}/pk-command-not-found |
---|
| 142 | %{_libexecdir}/pk-gstreamer-install |
---|
[5348] | 143 | %{_sbindir}/pk-device-rebind |
---|
[4768] | 144 | %{_datadir}/PackageKit |
---|
| 145 | %{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.Transaction.xml |
---|
| 146 | %{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.xml |
---|
| 147 | %{_datadir}/dbus-1/system-services/org.freedesktop.PackageKit.service |
---|
| 148 | %{_datadir}/gir-1.0/PackageKitGlib-1.0.gir |
---|
[5348] | 149 | %{_datadir}/gir-1.0/PackageKitPlugin-1.0.gir |
---|
[4768] | 150 | %{_mandir}/man1/pk-debuginfo-install.1* |
---|
[5348] | 151 | %{_mandir}/man1/pk-device-rebind.1.gz |
---|
[4768] | 152 | %{_mandir}/man1/pkcon.1* |
---|
| 153 | %{_mandir}/man1/pkgenpack.1* |
---|
| 154 | %{_mandir}/man1/pkmon.1* |
---|
| 155 | %{_datadir}/mime/packages/packagekit-catalog.xml |
---|
| 156 | %{_datadir}/mime/packages/packagekit-package-list.xml |
---|
| 157 | %{_datadir}/mime/packages/packagekit-servicepack.xml |
---|
| 158 | %{_datadir}/polkit-1/actions/org.freedesktop.packagekit.policy |
---|
| 159 | %{_localstatedir}/lib/PackageKit/transactions.db |
---|
| 160 | |
---|
| 161 | %exclude %{_datadir}/PackageKit/website |
---|
| 162 | |
---|
| 163 | %files devel |
---|
| 164 | %defattr(-, root, root) |
---|
[5348] | 165 | %{_includedir}/PackageKit |
---|
[4768] | 166 | %{_libdir}/libpackagekit-glib2.so |
---|
| 167 | %{_libdir}/pkgconfig/packagekit-glib2.pc |
---|
| 168 | %{_libdir}/pkgconfig/packagekit-plugin.pc |
---|
| 169 | |
---|
| 170 | |
---|
| 171 | %files doc |
---|
| 172 | %defattr(-, root, root) |
---|
| 173 | %{_datadir}/gtk-doc/html/PackageKit |
---|
| 174 | %{_datadir}/PackageKit/website |
---|
| 175 | |
---|
| 176 | %changelog |
---|
[5701] | 177 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.1-3 |
---|
| 178 | - rebuild with python-2.7.2 |
---|
| 179 | |
---|
[5382] | 180 | * Mon Jan 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.1-2 |
---|
| 181 | - add Patch100 (PackageKit-0.7.1-backend-aptcc-vine.patch) |
---|
| 182 | - add Source100 (filter-requires-PackageKit.sh) |
---|
| 183 | - add BuildRequires: apt-devel |
---|
| 184 | |
---|
[5348] | 185 | * Tue Jan 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.1-1 |
---|
| 186 | - new upstream release |
---|
| 187 | - add BuildRequires libgudev1-devel, pm-utils-devel |
---|
| 188 | |
---|
[4768] | 189 | * Sat Sep 17 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.7.0-1 |
---|
| 190 | - initial build for Vine Linux |
---|