PackageKit-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. # Basic Information
  2. Name: PackageKit
  3. Version: 0.7.0
  4. Release: 1%{?_dist_release}
  5. License: GPLv2
  6. Group: Applications/System
  7. Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Packager: yasumichi
  12. Summary: A DBUS packaging abstraction layer
  13. Summary(ja): DBUS のパッケージング抽象レイヤ
  14. # Dependency
  15. BuildRequires: glib2-devel
  16. BuildRequires: dbus-devel
  17. BuildRequires: dbus-glib-devel
  18. BuildRequires: polkit-devel
  19. BuildRequires: NetworkManager-devel
  20. BuildRequires: sqlite3-devel
  21. BuildRequires: gtk3-devel
  22. BuildRequires: gstreamer-plugins-base-devel
  23. BuildRequires: gtk-doc
  24. BuildRequires: python
  25. %description
  26. PackageKit is a DBUS abstraction layer that allows the session user to
  27. manage packages in a secure way using a cross-distro, cross-architecture
  28. API.
  29. For more information, please see http://www.packagekit.org
  30. %description -l ja
  31. PackageKit は、安全な方法でセッションのユーザーにパッケージ管理を許可する
  32. DBUS の抽象レイヤです。ディストリビューションやアーキテクチャーをまたいだ
  33. API を利用しています。
  34. より詳しい情報は、 http://www.packagekit.org をご覧ください。
  35. %package devel
  36. Summary: Development enviroment for PackageKit
  37. Summary(ja): PackageKit の開発環境
  38. Group: Development/Libraries
  39. Requires: %{name} = %{version}-%{release}
  40. %description devel
  41. Header file and libraries for developping PackageKit.
  42. %description -l ja devel
  43. PackageKit で開発を行うためのヘッダファイルとライブラリ
  44. %package doc
  45. Summary: Documants of PackageKit
  46. Summary(ja): PackageKit のドキュメント
  47. Group: Applications/Documentation
  48. %description doc
  49. HTML documents of PackageKit
  50. %description -l ja doc
  51. PackageKit の HTML ドキュメント
  52. %prep
  53. %setup -q
  54. %build
  55. %configure --enable-dummy --disable-qt --with-default-backend=dummy
  56. %{__make} %{?_smp_mflags}
  57. %install
  58. %{__rm} -rf ${RPM_BUILD_ROOT}
  59. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  60. %find_lang %{name}
  61. %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/gtk-3.0/modules/libpk-gtk-module.{a,la}
  62. %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libpackagekit-glib2.{a,la}
  63. %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/packagekit-backend/libpk_backend_*.{a,la}
  64. %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/packagekit-plugins/libpk-plugin-*.{a,la}
  65. %clean
  66. %{__rm} -rf ${RPM_BUILD_ROOT}
  67. %files -f %{name}.lang
  68. %defattr(-,root,root)
  69. %doc AUTHORS COPYING HACKING MAINTAINERS NEWS README TODO
  70. %{_sysconfdir}/PackageKit
  71. %{_sysconfdir}/bash_completion.d/pk-completion.bash
  72. %{_sysconfdir}/cron.daily/packagekit-background.cron
  73. %{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit.conf
  74. %{_sysconfdir}/profile.d/PackageKit.sh
  75. %{_sysconfdir}/sysconfig/packagekit-background
  76. %{_bindir}/packagekit-bugreport.sh
  77. %{_bindir}/pk-debuginfo-install
  78. %{_bindir}/pkcon
  79. %{_bindir}/pkgenpack
  80. %{_bindir}/pkmon
  81. %{_includedir}/PackageKit
  82. %{python_sitelib}/packagekit
  83. %{_libdir}/girepository-1.0/PackageKitGlib-1.0.typelib
  84. %{_libdir}/gtk-3.0/modules/libpk-gtk-module.so
  85. %{_libdir}/libpackagekit-glib2.so.14
  86. %{_libdir}/libpackagekit-glib2.so.14.0.9
  87. %{_libdir}/packagekit-backend
  88. %{_libdir}/packagekit-plugins
  89. %{_libexecdir}/packagekitd
  90. %{_libexecdir}/pk-command-not-found
  91. %{_libexecdir}/pk-gstreamer-install
  92. %{_datadir}/PackageKit
  93. %{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.Transaction.xml
  94. %{_datadir}/dbus-1/interfaces/org.freedesktop.PackageKit.xml
  95. %{_datadir}/dbus-1/system-services/org.freedesktop.PackageKit.service
  96. %{_datadir}/gir-1.0/PackageKitGlib-1.0.gir
  97. %{_mandir}/man1/pk-debuginfo-install.1*
  98. %{_mandir}/man1/pkcon.1*
  99. %{_mandir}/man1/pkgenpack.1*
  100. %{_mandir}/man1/pkmon.1*
  101. %{_datadir}/mime/packages/packagekit-catalog.xml
  102. %{_datadir}/mime/packages/packagekit-package-list.xml
  103. %{_datadir}/mime/packages/packagekit-servicepack.xml
  104. %{_datadir}/polkit-1/actions/org.freedesktop.packagekit.policy
  105. %{_localstatedir}/lib/PackageKit/transactions.db
  106. %exclude %{_datadir}/PackageKit/website
  107. %files devel
  108. %defattr(-, root, root)
  109. %{_libdir}/libpackagekit-glib2.so
  110. %{_libdir}/pkgconfig/packagekit-glib2.pc
  111. %{_libdir}/pkgconfig/packagekit-plugin.pc
  112. %files doc
  113. %defattr(-, root, root)
  114. %{_datadir}/gtk-doc/html/PackageKit
  115. %{_datadir}/PackageKit/website
  116. %changelog
  117. * Sat Sep 17 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.7.0-1
  118. - initial build for Vine Linux