/[pkgs]/devel/DeviceKit-power/DeviceKit-power.spec
ViewVC logotype

Contents of /devel/DeviceKit-power/DeviceKit-power.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.26 - (show annotations) (download)
Mon Oct 19 10:15:32 2009 UTC (5 weeks, 1 day ago) by rhughes
Branch: MAIN
CVS Tags: DeviceKit-power-012-1_fc13, HEAD
Changes since 1.25: +7 -1 lines
* Mon Oct 19 2009 Richard Hughes <richard@hughsie.com> - 012-1
- Update to 012
- Detect encrypted swap and prevent hibernate in this case.
- When we do a delayed refresh, actually do 5 x 1 second apart rather
  than 1 x 3 seconds which should fix some slow battery devices.
1 %define glib2_version 2.6.0
2 %define dbus_version 0.90
3 %define dbus_glib_version 0.70
4 %define polkit_version 0.92
5 %define parted_version 1.8.8
6 %define alphatag 20090914
7
8 Summary: Power Management Service
9 Name: DeviceKit-power
10 Version: 012
11 #Release: 0.1.%{?alphatag}git%{?dist}
12 Release: 1%{?dist}
13 License: GPLv2+
14 Group: System Environment/Libraries
15 URL: http://cgit.freedesktop.org/DeviceKit/DeviceKit-power/
16 #Source0: http://hal.freedesktop.org/releases/%{name}-%{version}-%{?alphatag}.tar.gz
17 Source0: http://hal.freedesktop.org/releases/%{name}-%{version}.tar.gz
18 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
19
20 Requires(post): /sbin/ldconfig
21 Requires(postun): /sbin/ldconfig
22 BuildRequires: glib2-devel >= %{glib2_version}
23 BuildRequires: dbus-devel >= %{dbus_version}
24 BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
25 BuildRequires: polkit-devel >= %{polkit_version}
26 BuildRequires: sqlite-devel
27 BuildRequires: libtool
28 BuildRequires: intltool
29 BuildRequires: gettext
30 BuildRequires: libgudev1-devel
31 BuildRequires: libusb-devel
32
33 Requires: dbus >= %{dbus_version}
34 Requires: dbus-glib >= %{dbus_glib_version}
35 Requires: glib2 >= %{glib2_version}
36 Requires: polkit >= %{polkit_version}
37 Requires: udev
38 Requires: pm-utils >= 1.2.2.1
39
40 %description
41 DeviceKit-power provides a daemon, API and command line tools for
42 managing power devices attached to the system.
43
44 %package devel
45 Summary: Headers and libraries for DeviceKit-power
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-%{release}
48
49 %description devel
50 Headers and libraries for DeviceKit-power.
51
52 %prep
53 %setup -q
54 #%setup -q -n %{?name}-%{?version}-%{?alphatag}
55
56 %build
57 %configure
58 make %{?_smp_mflags}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62 make install DESTDIR=$RPM_BUILD_ROOT
63
64 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
65 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
66
67 mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
68 cp README AUTHORS NEWS COPYING HACKING doc/TODO $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post -p /sbin/ldconfig
74
75 %postun -p /sbin/ldconfig
76
77 %files
78 %defattr(-,root,root,-)
79
80 %doc %dir %{_datadir}/doc/%{name}-%{version}
81 %doc %{_datadir}/doc/%{name}-%{version}/NEWS
82 %doc %{_datadir}/doc/%{name}-%{version}/COPYING
83 %doc %{_datadir}/doc/%{name}-%{version}/AUTHORS
84 %doc %{_datadir}/doc/%{name}-%{version}/HACKING
85 %doc %{_datadir}/doc/%{name}-%{version}/README
86 %doc %{_datadir}/doc/%{name}-%{version}/TODO
87 %{_libdir}/libdevkit-power-gobject*.so.*
88 %{_sysconfdir}/dbus-1/system.d/*.conf
89 /lib/udev/rules.d/*.rules
90 %dir %{_localstatedir}/lib/DeviceKit-power
91 %{_bindir}/*
92 %{_libexecdir}/*
93
94 %{_mandir}/man1/*
95 %{_mandir}/man7/*
96 %{_mandir}/man8/*
97
98 %{_datadir}/polkit-1/actions/*.policy
99 %{_datadir}/dbus-1/system-services/*.service
100
101 %files devel
102 %defattr(-,root,root,-)
103 %{_datadir}/dbus-1/interfaces/*.xml
104 %dir %{_datadir}/gtk-doc/html/devkit-power
105 %{_datadir}/gtk-doc/html/devkit-power/*
106 %{_libdir}/libdevkit-power-gobject*.so
107 %{_libdir}/pkgconfig/*.pc
108 %dir %{_includedir}/DeviceKit-power/devkit-power-gobject
109 %{_includedir}/DeviceKit-power/devkit-power-gobject/*.h
110
111 %changelog
112 * Mon Oct 19 2009 Richard Hughes <richard@hughsie.com> - 012-1
113 - Update to 012
114 - Detect encrypted swap and prevent hibernate in this case.
115 - When we do a delayed refresh, actually do 5 x 1 second apart rather
116 than 1 x 3 seconds which should fix some slow battery devices.
117
118 * Tue Oct 06 2009 Richard Hughes <richard@hughsie.com> - 011-1
119 - Update to 011
120 - Use voltage_now as a fallback to the design voltage
121 - Fix a small memory leak when we collect the properties from the interface
122 multiple times
123
124 * Mon Sep 14 2009 Richard Hughes <rhughes@redhat.com> - 011-0.1.20090914git
125 - Update to todays git snapshot to fix the session exploding when a USB UPS is
126 inserted then removed a few times.
127
128 * Mon Aug 03 2009 Richard Hughes <richard@hughsie.com> - 010-4
129 - Continue to poll when we guessed a status value, and only stop when the
130 kernel says definitively that we are fully charged.
131
132 * Sun Aug 02 2009 Richard Hughes <richard@hughsie.com> - 010-3
133 - Put the development include files in the devel package not the main package.
134 - Fixes #515104
135
136 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 010-2
137 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
138
139 * Wed Jul 22 2009 Richard Hughes <richard@hughsie.com> - 010-1
140 - Update to 010
141 - Fixes a few problems with multi-battery laptops
142 - Port to GUdev and PolicyKit1
143
144 * Mon Jul 06 2009 Richard Hughes <richard@hughsie.com> - 009-1
145 - Update to 009
146 - Fixes many problems with multi-battery laptops
147 - Use pm-powersave like HAL used to
148 - Fix detecting UPS devices
149 - Add support for recalled laptop batteries
150
151 * Tue Jun 16 2009 Richard Hughes <rhughes@redhat.com> - 009-0.4.20090616git
152 - Do autoreconf as well due to different values of automake on koji.
153
154 * Tue Jun 16 2009 Richard Hughes <rhughes@redhat.com> - 009-0.3.20090616git
155 - Do autoconf and automake as the polkit patch is pretty invasive
156 - Fix up file lists with the new polkit action paths
157
158 * Tue Jun 16 2009 Richard Hughes <rhughes@redhat.com> - 009-0.2.20090616git
159 - Apply a patch to convert to the PolKit1 API.
160
161 * Tue Jun 16 2009 Richard Hughes <rhughes@redhat.com> - 009-0.1.20090616git
162 - Update to todays git snapshot to fix reporting issues with empty batteries.
163
164 * Mon Jun 01 2009 Richard Hughes <richard@hughsie.com> 008-1
165 - Update to 008
166 - Fixes #497563 and #495493
167
168 * Wed May 13 2009 Richard Hughes <rhughes@redhat.com> - 008-0.3.20090513git
169 - Update to todays git snapshot which should fix some polling issues.
170 - Fixes #495493
171
172 * Thu May 07 2009 Richard Hughes <rhughes@redhat.com> - 008-0.2.20090507git
173 - Update to todays git snapshot which has the lid close property.
174
175 * Tue Apr 01 2009 Richard Hughes <rhughes@redhat.com> - 008-0.1.20090401git
176 - Update to todays git snapshot which works with the new permissive DBus.
177
178 * Mon Mar 30 2009 Richard Hughes <richard@hughsie.com> 007-2
179 - Try to fix a compile error with koji and the new gcc.
180
181 * Mon Mar 30 2009 Richard Hughes <richard@hughsie.com> 007-1
182 - Update to 007
183
184 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 006-3
185 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
186
187 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 006-2
188 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
189
190 * Mon Feb 10 2009 Richard Hughes <richard@hughsie.com> 006-1
191 - Update to 006
192
193 * Mon Feb 02 2009 Richard Hughes <richard@hughsie.com> 005-1
194 - Update to 005
195
196 * Fri Jan 23 2009 Richard Hughes <richard@hughsie.com> 004-1
197 - Update to 004
198
199 * Tue Dec 09 2008 Richard Hughes <richard@hughsie.com> 003-1
200 - Update to 003
201
202 * Thu Nov 13 2008 Matthias Clasen <mclasen@redhat.com> 002-1
203 - Update to 002
204
205 * Sat Sep 06 2008 Richard Hughes <richard@hughsie.com> 001-2
206 - Fix the licence, and some directory ownership issues for the review request
207
208 * Tue Sep 02 2008 Richard Hughes <richard@hughsie.com> 001-1
209 - Initial spec file
210

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2