source: projects/specs/trunk/u/upower/upower-vl.spec @ 12445

Revision 12445, 6.1 KB checked in by tomop, 16 months ago (diff)

updated 7 packages

ifuse-1.1.4-1

libgudev-233-1

libimobiledevice-1.3.0-1

libplist-2.2.0-1

libusbmuxd-2.0.2-1

upower-0.99.11-1

usbmuxd-1.1.1-1

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