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