upower-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. Summary: Power Management Service
  2. Summary(ja): 電源管理サービス
  3. Name: upower
  4. Version: 0.99.7
  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: eudev-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: eudev
  28. Requires: pm-utils >= 1.4.1
  29. Requires: gobject-introspection
  30. # Old project name
  31. Obsoletes: libupower09 < 0.9.24
  32. Obsoletes: DeviceKit-power < 1:0.9.0-2
  33. Provides: DeviceKit-power
  34. Vendor: Project Vine
  35. Distribution: Vine Linux
  36. Packager: daisuke, Takemikaduchi
  37. %description
  38. UPower (formerly DeviceKit-power) provides a daemon, API and command
  39. line tools for managing power devices attached to the system.
  40. %package devel
  41. Summary: Headers and libraries for UPower
  42. Summary(ja): %{name} の開発ファイル
  43. Group: Development/Libraries
  44. Requires: %{name} = %{version}-%{release}
  45. Requires: gtk-doc
  46. Obsoletes: libupower09-devel < 0.9.24
  47. Obsoletes: DeviceKit-power-devel < 1:0.9.0-2
  48. Provides: DeviceKit-power-devel
  49. %description devel
  50. Headers and libraries for UPower.
  51. %prep
  52. %setup -q
  53. %build
  54. %configure \
  55. --enable-gtk-doc \
  56. --disable-static \
  57. --enable-introspection=yes \
  58. --with-udevrulesdir=/lib/udev/rules.d
  59. make V=1 %{?_smp_mflags}
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. make install DESTDIR=$RPM_BUILD_ROOT
  63. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  64. %find_lang %{name}
  65. %clean
  66. rm -rf $RPM_BUILD_ROOT
  67. %post -p /sbin/ldconfig
  68. %postun -p /sbin/ldconfig
  69. %files -f %{name}.lang
  70. %defattr(-,root,root,-)
  71. %doc NEWS COPYING AUTHORS HACKING README
  72. %{_libdir}/libupower-glib.so.*
  73. %{_libdir}/girepository-1.0/*.typelib
  74. %{_sysconfdir}/dbus-1/system.d/*.conf
  75. %{_sysconfdir}/UPower/UPower.conf
  76. /lib/udev/rules.d/*.rules
  77. %dir %{_localstatedir}/lib/upower
  78. %{_bindir}/*
  79. %{_libexecdir}/*
  80. %{_mandir}/man1/*
  81. %{_mandir}/man7/*
  82. %{_mandir}/man8/*
  83. %{_datadir}/dbus-1/system-services/*.service
  84. %files devel
  85. %defattr(-,root,root,-)
  86. %{_datadir}/dbus-1/interfaces/*.xml
  87. %dir %{_datadir}/gtk-doc/html/UPower
  88. %{_datadir}/gtk-doc/html/UPower/*
  89. %{_libdir}/libupower-glib.so
  90. %{_libdir}/pkgconfig/*.pc
  91. %{_datadir}/gir-1.0/*.gir
  92. %dir %{_includedir}/libupower-glib
  93. %{_includedir}/libupower-glib/up-*.h
  94. %{_includedir}/libupower-glib/upower.h
  95. %changelog
  96. * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.99.7-1
  97. - new upstream release.
  98. * Sun Apr 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99.4-1
  99. - new upstream release
  100. * Sat May 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99.3-1
  101. - new upstream release
  102. * Thu May 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.99.2-2
  103. - rebuilt with libimovbiledevice 1.2.0
  104. * Thu Dec 25 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99.2-1
  105. - new upstream release
  106. * Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99.1-1
  107. - new upstream release
  108. - remove Patch0 (upower-0.99.0-git20140225.patch)
  109. - add Obsoletes: libupower09
  110. * Wed Jul 09 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 0.99.0-2
  111. - rebuild with libimobiledevice-1.1.6, eudev
  112. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99.0-1
  113. - new upstream release
  114. - add Patch0 (upower-0.99.0-git20140225.patch)
  115. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.23-1
  116. - new upstream release
  117. * Fri Sep 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.21-1
  118. - new upstream release
  119. * Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.20-1
  120. - new upstream release
  121. * Thu Jan 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.19-1
  122. - new upstream release
  123. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.18-1
  124. - new upstream release
  125. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.15-1
  126. - new upstream release
  127. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.14-1
  128. - new upstream release
  129. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.13-1
  130. - new upstream release
  131. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.12-1
  132. - new upstream release
  133. * Mon Apr 11 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.9-1
  134. - new upstream release
  135. - BR: vim-tiny instead of vim
  136. * Tue Oct 12 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.6-1
  137. - new upstream release
  138. - delete Patch0
  139. - add BuildRequires: libimobiledevice-devel, vim, autoconf
  140. - change BuildRequires: libusb1-devel instead of libusb-devel
  141. - remove BuildRequires: gir-repository-devel
  142. - fix %files
  143. * Thu Sep 30 2010 Shu KONNO <owa@bg.wakwak.com> 0.9.4-2
  144. - rebuilt with rpm-4.8.1 for pkg-config
  145. * Thu May 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.4-1
  146. - new upstream release
  147. - update URL:
  148. * Sat Apr 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.9.2-1
  149. - Initial build for Vine Linux
  150. - add BuildRequires: gtk-doc
  151. * Wed Mar 17 2010 Richard Hughes <rhughes@redhat.com> - 0.9.1-4
  152. - It seems people don't like pain.
  153. * Mon Mar 15 2010 Richard Hughes <rhughes@redhat.com> - 0.9.1-3
  154. - Obsolete DeviceKit-power.
  155. * Mon Mar 15 2010 Richard Hughes <rhughes@redhat.com> - 0.9.1-2
  156. - Actually enable the introspection support.
  157. * Wed Mar 03 2010 Richard Hughes <rhughes@redhat.com> - 0.9.1-1
  158. - Initial release of 0.9.1