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