1 | # Basic Information |
---|
2 | Name: PackageKit |
---|
3 | Version: 0.8.15 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: GPLv2 |
---|
6 | Group: Applications/System |
---|
7 | Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz |
---|
8 | Source100: filter-requires-%{name}.sh |
---|
9 | |
---|
10 | # for VineLinux |
---|
11 | Patch100: PackageKit-0.7.1-backend-aptcc-vine.patch |
---|
12 | |
---|
13 | Vendor: Project Vine |
---|
14 | Distribution: Vine Linux |
---|
15 | Packager: yasumichi, Takemikaduchi |
---|
16 | |
---|
17 | Summary: A DBUS packaging abstraction layer |
---|
18 | Summary(ja): DBUS のパッケージング抽象レイヤ |
---|
19 | |
---|
20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
21 | |
---|
22 | # Dependency |
---|
23 | BuildRequires: glib2-devel |
---|
24 | BuildRequires: dbus-devel |
---|
25 | BuildRequires: dbus-glib-devel |
---|
26 | BuildRequires: libgudev1-devel |
---|
27 | BuildRequires: pm-utils-devel |
---|
28 | BuildRequires: polkit-devel |
---|
29 | BuildRequires: NetworkManager-devel |
---|
30 | BuildRequires: sqlite3-devel |
---|
31 | BuildRequires: gtk3-devel |
---|
32 | BuildRequires: gtk2-devel |
---|
33 | BuildRequires: gstreamer-plugins-base-devel |
---|
34 | BuildRequires: apt-devel |
---|
35 | BuildRequires: gtk-doc |
---|
36 | BuildRequires: python |
---|
37 | BuildRequires: bash-completion |
---|
38 | |
---|
39 | # Don't depend on Debconf::Client::ConfModule |
---|
40 | %define __perl_requires %{SOURCE100} |
---|
41 | |
---|
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} |
---|
61 | Requires: glib2-devel |
---|
62 | Requires: dbus-devel |
---|
63 | Requires: sqlite3-devel |
---|
64 | Requires: pkgconfig |
---|
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 |
---|
85 | #%patch100 -p1 -b .vine |
---|
86 | |
---|
87 | %build |
---|
88 | autoreconf -if |
---|
89 | %configure \ |
---|
90 | --disable-static \ |
---|
91 | --disable-systemd \ |
---|
92 | --disable-qt \ |
---|
93 | --disable-systemd \ |
---|
94 | --disable-systemd-updates |
---|
95 | # --enable-aptcc \ |
---|
96 | # --with-default-backend=aptcc |
---|
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 | |
---|
105 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
106 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
107 | |
---|
108 | %{__rm} -f ${RPM_BUILD_ROOT}%{_datadir}/glib-2.0/schemas/org.gnome.setttings-daemon.gtk-modules-packagekit.gschema.xml |
---|
109 | |
---|
110 | %clean |
---|
111 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
112 | |
---|
113 | %post -p /sbin/ldconfig |
---|
114 | |
---|
115 | %postun -p /sbin/ldconfig |
---|
116 | |
---|
117 | |
---|
118 | %files -f %{name}.lang |
---|
119 | %defattr(-,root,root) |
---|
120 | %doc AUTHORS COPYING HACKING MAINTAINERS NEWS README TODO |
---|
121 | %{_sysconfdir}/PackageKit |
---|
122 | #%{_sysconfdir}/apt/apt.conf.d/20packagekit |
---|
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 |
---|
133 | %{_libdir}/girepository-1.0/PackageKitPlugin-1.0.typelib |
---|
134 | %{_libdir}/gnome-settings-daemon-3.0/gtk-modules/pk-gtk-module.desktop |
---|
135 | %{_libdir}/gtk-2.0/modules/libpk-gtk-module.so |
---|
136 | %{_libdir}/gtk-3.0/modules/libpk-gtk-module.so |
---|
137 | %{_libdir}/libpackagekit-glib2.so.* |
---|
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 |
---|
144 | %{_datadir}/bash-completion/completions/pkcon |
---|
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 |
---|
149 | %{_datadir}/gir-1.0/PackageKitPlugin-1.0.gir |
---|
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 |
---|
154 | %{_datadir}/polkit-1/rules.d/org.freedesktop.packagekit.rules |
---|
155 | %{_localstatedir}/lib/PackageKit/transactions.db |
---|
156 | |
---|
157 | %files devel |
---|
158 | %defattr(-, root, root) |
---|
159 | %{_includedir}/PackageKit |
---|
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 |
---|
170 | * Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.15-1 |
---|
171 | - new upstream release |
---|
172 | - add configure option (--disable-systemd, --disable-systemd-updates) |
---|
173 | |
---|
174 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.8-1 |
---|
175 | - new upstream release |
---|
176 | - add BuildRequires: bash-completion |
---|
177 | |
---|
178 | * Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.6-1 |
---|
179 | - new upstream release |
---|
180 | |
---|
181 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.5-1 |
---|
182 | - new upstream release |
---|
183 | |
---|
184 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.3-1 |
---|
185 | - new upstream release |
---|
186 | - drop Patch100 |
---|
187 | - add BuildRequires: gtk2-devel |
---|
188 | |
---|
189 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.1-3 |
---|
190 | - rebuild with python-2.7.2 |
---|
191 | |
---|
192 | * Mon Jan 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.1-2 |
---|
193 | - add Patch100 (PackageKit-0.7.1-backend-aptcc-vine.patch) |
---|
194 | - add Source100 (filter-requires-PackageKit.sh) |
---|
195 | - add BuildRequires: apt-devel |
---|
196 | |
---|
197 | * Tue Jan 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.1-1 |
---|
198 | - new upstream release |
---|
199 | - add BuildRequires libgudev1-devel, pm-utils-devel |
---|
200 | |
---|
201 | * Sat Sep 17 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.7.0-1 |
---|
202 | - initial build for Vine Linux |
---|