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