PackageKit-vl.spec 6.0 KB

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