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