PackageKit-vl.spec 6.0 KB

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