upower-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. Summary: Power Management Service
  2. Summary(ja): 電源管理サービス
  3. Name: upower
  4. Version: 0.9.23
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: System Environment/Libraries
  8. URL: http://upower.freedesktop.org/
  9. Source0: http://upower.freedesktop.org/releases/upower-%{version}.tar.xz
  10. BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
  11. BuildRequires: sqlite3-devel
  12. BuildRequires: libtool
  13. BuildRequires: intltool
  14. BuildRequires: gettext
  15. BuildRequires: libgudev1-devel
  16. BuildRequires: libusb1-devel
  17. BuildRequires: glib2-devel >= 2.6.0
  18. BuildRequires: dbus-devel >= 1.2
  19. BuildRequires: dbus-glib-devel >= 0.82
  20. BuildRequires: polkit-devel >= 0.92
  21. BuildRequires: gobject-introspection-devel
  22. BuildRequires: libimobiledevice-devel
  23. BuildRequires: gtk-doc
  24. BuildRequires: vim-tiny
  25. BuildRequires: autoconf
  26. Requires: polkit >= 0.92
  27. Requires: udev
  28. Requires: pm-utils >= 1.4.1
  29. Requires: gobject-introspection
  30. # Old project name
  31. Obsoletes: DeviceKit-power < 1:0.9.0-2
  32. Provides: DeviceKit-power
  33. Vendor: Project Vine
  34. Distribution: Vine Linux
  35. Packager: daisuke, Takemikaduchi
  36. %description
  37. UPower (formerly DeviceKit-power) provides a daemon, API and command
  38. line tools for managing power devices attached to the system.
  39. %package devel
  40. Summary: Headers and libraries for UPower
  41. Summary(ja): %{name} の開発ファイル
  42. Group: Development/Libraries
  43. Requires: %{name} = %{version}-%{release}
  44. Requires: gtk-doc
  45. Obsoletes: DeviceKit-power-devel < 1:0.9.0-2
  46. Provides: DeviceKit-power-devel
  47. %description devel
  48. Headers and libraries for UPower.
  49. %prep
  50. %setup -q
  51. %build
  52. %configure \
  53. --enable-gtk-doc \
  54. --disable-static \
  55. --enable-introspection=yes
  56. make V=1 %{?_smp_mflags}
  57. %install
  58. rm -rf $RPM_BUILD_ROOT
  59. make install DESTDIR=$RPM_BUILD_ROOT
  60. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  61. %find_lang %{name}
  62. %clean
  63. rm -rf $RPM_BUILD_ROOT
  64. %post -p /sbin/ldconfig
  65. %postun -p /sbin/ldconfig
  66. %files -f %{name}.lang
  67. %defattr(-,root,root,-)
  68. %doc NEWS COPYING AUTHORS HACKING README
  69. %{_libdir}/libupower-glib.so.*
  70. %{_libdir}/girepository-1.0/*.typelib
  71. %{_sysconfdir}/dbus-1/system.d/*.conf
  72. %{_sysconfdir}/UPower/UPower.conf
  73. /lib/udev/rules.d/*.rules
  74. %dir %{_localstatedir}/lib/upower
  75. %{_bindir}/*
  76. %{_libexecdir}/*
  77. %{_mandir}/man1/*
  78. %{_mandir}/man7/*
  79. %{_mandir}/man8/*
  80. %{_datadir}/polkit-1/actions/*.policy
  81. %{_datadir}/dbus-1/system-services/*.service
  82. %files devel
  83. %defattr(-,root,root,-)
  84. %{_datadir}/dbus-1/interfaces/*.xml
  85. %dir %{_datadir}/gtk-doc/html/UPower
  86. %{_datadir}/gtk-doc/html/UPower/*
  87. %{_libdir}/libupower-glib.so
  88. %{_libdir}/pkgconfig/*.pc
  89. %{_datadir}/gir-1.0/*.gir
  90. %dir %{_includedir}/libupower-glib
  91. %{_includedir}/libupower-glib/up-*.h
  92. %{_includedir}/libupower-glib/upower.h
  93. %changelog
  94. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.23-1
  95. - new upstream release
  96. * Fri Sep 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.21-1
  97. - new upstream release
  98. * Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.20-1
  99. - new upstream release
  100. * Thu Jan 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.19-1
  101. - new upstream release
  102. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.18-1
  103. - new upstream release
  104. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.15-1
  105. - new upstream release
  106. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.14-1
  107. - new upstream release
  108. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.13-1
  109. - new upstream release
  110. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.12-1
  111. - new upstream release
  112. * Mon Apr 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.9-1
  113. - new upstream release
  114. - BR: vim-tiny instead of vim
  115. * Tue Oct 12 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6-1
  116. - new upstream release
  117. - delete Patch0
  118. - add BuildRequires: libimobiledevice-devel, vim, autoconf
  119. - change BuildRequires: libusb1-devel instead of libusb-devel
  120. - remove BuildRequires: gir-repository-devel
  121. - fix %files
  122. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 0.9.4-2
  123. - rebuilt with rpm-4.8.1 for pkg-config
  124. * Thu May 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.4-1
  125. - new upstream release
  126. - update URL:
  127. * Sat Apr 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.9.2-1
  128. - Initial build for Vine Linux
  129. - add BuildRequires: gtk-doc
  130. * Wed Mar 17 2010 Richard Hughes <rhughes@redhat.com> - 0.9.1-4
  131. - It seems people don't like pain.
  132. * Mon Mar 15 2010 Richard Hughes <rhughes@redhat.com> - 0.9.1-3
  133. - Obsolete DeviceKit-power.
  134. * Mon Mar 15 2010 Richard Hughes <rhughes@redhat.com> - 0.9.1-2
  135. - Actually enable the introspection support.
  136. * Wed Mar 03 2010 Richard Hughes <rhughes@redhat.com> - 0.9.1-1
  137. - Initial release of 0.9.1