source: projects/specs/trunk/P/PackageKit/PackageKit-vl.spec @ 12312

Revision 12312, 7.9 KB checked in by tomop, 3 years ago (diff)

updated 3 packages

PackageKit?-1.1.12-1

cups-2.3.0-1

kernel-4.14.153-1

Line 
1%define _unpackaged_files_terminate_build 1
2
3# Basic Information
4Name:           PackageKit
5Version:        1.1.12
6Release:        1%{?_dist_release}
7License:        GPLv2
8Group:          Applications/System
9Source0:        http://www.packagekit.org/releases/%{name}-%{version}.tar.xz
10Source100:      filter-requires-%{name}.sh
11
12# for VineLinux
13Patch100: pk-aptrpm.patch
14#Patch100:      PackageKit-0.7.1-backend-aptcc-vine.patch
15
16Vendor:         Project Vine
17Distribution:   Vine Linux
18Packager:       yasumichi
19
20Summary:        A DBUS packaging abstraction layer
21Summary(ja):    DBUS のパッケージング抽象レイヤ
22
23BuildRoot:      %{_tmppath}/%{name}-%{version}-root
24
25# Dependency
26BuildRequires:  glib2-devel
27BuildRequires:  dbus-devel
28BuildRequires:  dbus-glib-devel
29BuildRequires:  libgudev1-devel
30BuildRequires:  pm-utils-devel
31BuildRequires:  polkit-devel
32BuildRequires:  NetworkManager-libnm-devel
33BuildRequires:  sqlite3-devel
34BuildRequires:  gtk3-devel
35BuildRequires:  gtk2-devel
36BuildRequires:  gobject-introspection-devel
37BuildRequires:  gstreamer1-devel
38BuildRequires:  gstreamer1-plugins-base-devel
39BuildRequires:  gtk-doc
40BuildRequires:  python
41BuildRequires:  bash-completion
42BuildRequires:  autoconf-archive
43BuildRequires:  vala-devel
44
45Requires: apt >= 0.5.15lorg3.95-29
46Requires: perl-List-MoreUtils
47
48# Don't depend on Debconf::Client::ConfModule
49%define __perl_requires %{SOURCE100}
50
51%description
52PackageKit is a DBUS abstraction layer that allows the session user to
53manage packages in a secure way using a cross-distro, cross-architecture
54API.
55
56For more information, please see http://www.packagekit.org
57
58%description -l ja
59PackageKit は、安全な方法でセッションのユーザーにパッケージ管理を許可する
60DBUS の抽象レイヤです。ディストリビューションやアーキテクチャーをまたいだ
61API を利用しています。
62
63より詳しい情報は、 http://www.packagekit.org をご覧ください。
64
65%package devel
66Summary:        Development enviroment for PackageKit
67Summary(ja):    PackageKit の開発環境
68Group:          Development/Libraries
69Requires:       %{name} = %{version}-%{release}
70Requires:       glib2-devel
71Requires:       dbus-devel
72Requires:       sqlite3-devel
73Requires:       pkgconfig
74
75%description devel
76Header file and libraries for developping PackageKit.
77
78%description -l ja devel
79PackageKit で開発を行うためのヘッダファイルとライブラリ
80
81%package doc
82Summary:        Documants of PackageKit
83Summary(ja):    PackageKit のドキュメント
84Group:          Applications/Documentation
85
86%description doc
87HTML documents of PackageKit
88
89%description -l ja doc
90PackageKit の HTML ドキュメント
91
92%prep
93%setup -q
94%patch100 -p1 -b .vine
95
96%build
97autoreconf -ivf
98%configure \
99        --disable-static \
100        --disable-qt \
101        --disable-systemd \
102        --disable-systemd-updates \
103        --enable-aptrpm \
104        --with-default-backend=aptrpm
105
106%{__make} %{?_smp_mflags}
107
108%install
109%{__rm} -rf ${RPM_BUILD_ROOT}
110%{__make} install DESTDIR=${RPM_BUILD_ROOT}
111
112%find_lang %{name}
113
114find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
115find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
116
117mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/app-info/{icons,xmls}
118
119touch $RPM_BUILD_ROOT%{_localstatedir}/cache/PackageKit/groups.sqlite
120
121# create a link that GStreamer will recognise
122pushd ${RPM_BUILD_ROOT}%{_libexecdir} > /dev/null
123ln -s pk-gstreamer-install gst-install-plugins-helper
124popd > /dev/null
125
126# create a link that from the comps icons to PK, as PackageKit frontends
127# cannot add /usr/share/pixmaps/comps to the icon search path as some distros
128# do not use comps. Patching this in the frontend is not a good idea, as there
129# are multiple frontends in multiple programming languages.
130pushd ${RPM_BUILD_ROOT}%{_datadir}/PackageKit > /dev/null
131ln -s ../pixmaps/comps icons
132popd > /dev/null
133
134%find_lang %name
135
136%clean
137%{__rm} -rf ${RPM_BUILD_ROOT}
138
139%post -p /sbin/ldconfig
140
141%postun -p /sbin/ldconfig
142
143
144%files -f %{name}.lang
145%defattr(-,root,root)
146%license COPYING
147%doc AUTHORS COPYING HACKING MAINTAINERS NEWS README
148%dir %{_datadir}/PackageKit
149%dir %{_datadir}/PackageKit/helpers
150%dir %{_sysconfdir}/PackageKit
151%dir %{_localstatedir}/lib/PackageKit
152%dir %{_localstatedir}/cache/app-info
153%dir %{_localstatedir}/cache/app-info/icons
154%dir %{_localstatedir}/cache/app-info/xmls
155%dir %{_localstatedir}/cache/PackageKit
156%ghost %verify(not md5 size mtime) %{_localstatedir}/cache/PackageKit/groups.sqlite
157%{_datadir}/bash-completion/completions/pkcon
158%dir %{_libdir}/packagekit-backend
159%config(noreplace) %{_sysconfdir}/PackageKit/PackageKit.conf
160%config(noreplace) %{_sysconfdir}/PackageKit/Vendor.conf
161%config %{_sysconfdir}/dbus-1/system.d/*
162%dir %{_datadir}/PackageKit/helpers/test_spawn
163%{_datadir}/PackageKit/icons
164%{_datadir}/PackageKit/helpers/test_spawn/*
165%{_datadir}/man/man1/pkcon.1.gz
166%{_datadir}/man/man1/pkmon.1.gz
167%{_datadir}/polkit-1/actions/*.policy
168%{_datadir}/polkit-1/rules.d/*
169%{_datadir}/PackageKit/pk-upgrade-distro.sh
170%{_libexecdir}/packagekitd
171%{_libexecdir}/packagekit-direct
172%{_bindir}/pkmon
173%{_bindir}/pkcon
174%{_libdir}/packagekit-backend/libpk_backend_dummy.so
175%{_libdir}/packagekit-backend/libpk_backend_test_*.so
176%{_libdir}/packagekit-backend/libpk_backend_aptrpm.so
177%{_datadir}/PackageKit/helpers/aptrpm
178%{_datadir}/apt/scripts/*
179%{_sysconfdir}/apt/apt.conf.d/packagekit.conf
180%if 0%{?bundled_libdnf}
181%{_libdir}/PackageKit/
182%endif
183%ghost %verify(not md5 size mtime) %{_localstatedir}/lib/PackageKit/transactions.db
184%{_datadir}/dbus-1/system-services/*.service
185%{_datadir}/dbus-1/interfaces/*.xml
186#%{_unitdir}/packagekit-offline-update.service
187#%{_unitdir}/packagekit.service
188#%{_unitdir}/system-update.target.wants/
189#%{_libexecdir}/pk-*offline-update
190#%{_libdir}/packagekit-backend/libpk_backend_dnf.so
191#
192%{_libdir}/*packagekit-glib2.so.*
193%{_libdir}/girepository-1.0/PackageKitGlib-1.0.typelib
194#
195%config %{_sysconfdir}/cron.daily/packagekit-background.cron
196%config(noreplace) %{_sysconfdir}/sysconfig/packagekit-background
197#
198%{_libexecdir}/pk-gstreamer-install
199%{_libexecdir}/gst-install-plugins-helper
200#
201%{_libdir}/gtk-2.0/modules/*.so
202%{_libdir}/gtk-3.0/modules/*.so
203%{_libdir}/gnome-settings-daemon-3.0/gtk-modules/*.desktop
204#
205%{_sysconfdir}/profile.d/*
206%{_libexecdir}/pk-command-not-found
207%config(noreplace) %{_sysconfdir}/PackageKit/CommandNotFound.conf
208
209%files devel
210%defattr(-, root, root)
211%{_libdir}/libpackagekit-glib2.so
212%{_libdir}/pkgconfig/packagekit-glib2.pc
213%dir %{_includedir}/PackageKit
214%dir %{_includedir}/PackageKit/packagekit-glib2
215%{_includedir}/PackageKit/packagekit-glib*/*.h
216%{_datadir}/gir-1.0/PackageKitGlib-1.0.gir
217%{_datadir}/gtk-doc/html/PackageKit
218%{_datadir}/vala/vapi/packagekit-glib2.vapi
219
220%files doc
221%defattr(-, root, root)
222%{_datadir}/gtk-doc/html/PackageKit
223
224%changelog
225* Wed Oct 02 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.12-2
226- added apt-rpm support.
227
228* Mon Dec 10 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.12-1
229- new upstream release.
230
231* Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.17-1
232- new upstream release
233
234* Sun Jan 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.15-1
235- new upstream release
236- add configure option (--disable-systemd, --disable-systemd-updates)
237
238* Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.8-1
239- new upstream release
240- add BuildRequires: bash-completion
241
242* Wed Jan 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.6-1
243- new upstream release
244
245* Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.5-1
246- new upstream release
247
248* Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8.3-1
249- new upstream release
250- drop Patch100
251- add BuildRequires: gtk2-devel
252
253* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.1-3
254- rebuild with python-2.7.2
255
256* Mon Jan 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.1-2
257- add Patch100 (PackageKit-0.7.1-backend-aptcc-vine.patch)
258- add Source100 (filter-requires-PackageKit.sh)
259- add BuildRequires: apt-devel
260
261* Tue Jan 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.1-1
262- new upstream release
263- add BuildRequires libgudev1-devel, pm-utils-devel
264
265* Sat Sep 17 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.7.0-1
266- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.