|
|
@ -1,20 +1,29 @@
|
|
|
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
|
|
|
## (rpmautospec version 0.6.1)
|
|
|
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
|
|
|
release_number = 3;
|
|
|
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Power Management Service
|
|
|
|
Summary: Power Management Service
|
|
|
|
Name: upower
|
|
|
|
Name: upower
|
|
|
|
Version: 0.99.13
|
|
|
|
Version: 1.90.4
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: %autorelease
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
URL: http://upower.freedesktop.org/
|
|
|
|
URL: http://upower.freedesktop.org/
|
|
|
|
Source0: https://gitlab.freedesktop.org/upower/upower/uploads/177df5b9f9b76f25a2ad9da41aa0c1fa/upower-0.99.13.tar.xz
|
|
|
|
Source0: https://gitlab.freedesktop.org/upower/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
|
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: git
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: libgudev1-devel
|
|
|
|
BuildRequires: libgudev1-devel
|
|
|
|
|
|
|
|
%define idevice disabled
|
|
|
|
%ifnarch s390 s390x
|
|
|
|
%ifnarch s390 s390x
|
|
|
|
%if ! 0%{?rhel}
|
|
|
|
%if ! 0%{?rhel}
|
|
|
|
|
|
|
|
%define idevice enabled
|
|
|
|
BuildRequires: libimobiledevice-devel
|
|
|
|
BuildRequires: libimobiledevice-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -22,57 +31,53 @@ BuildRequires: glib2-devel >= 2.6.0
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
BuildRequires: systemd
|
|
|
|
BuildRequires: systemd
|
|
|
|
# Only required while we're patching configure.ac
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: udev
|
|
|
|
Requires: udev
|
|
|
|
Requires: gobject-introspection
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
|
|
|
# From rhughes-f20-gnome-3-12 copr
|
|
|
|
|
|
|
|
Obsoletes: compat-upower09 < 0.99
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
UPower (formerly DeviceKit-power) provides a daemon, API and command
|
|
|
|
UPower (formerly DeviceKit-power) provides a daemon, API and command
|
|
|
|
line tools for managing power devices attached to the system.
|
|
|
|
line tools for managing power devices attached to the system.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
|
|
|
|
Summary: Client libraries for UPower
|
|
|
|
|
|
|
|
Requires: gobject-introspection
|
|
|
|
|
|
|
|
Recommends: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
Conflicts: %{name} < 0.99.20-4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
|
|
|
|
Client libraries for UPower.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Headers and libraries for UPower
|
|
|
|
Summary: Headers and libraries for UPower
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
Headers and libraries for UPower.
|
|
|
|
Headers and libraries for UPower.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel-docs
|
|
|
|
%package devel-docs
|
|
|
|
Summary: Developer documentation for for libupower-glib
|
|
|
|
Summary: Developer documentation for for libupower-glib
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description devel-docs
|
|
|
|
%description devel-docs
|
|
|
|
Developer documentation for for libupower-glib.
|
|
|
|
Developer documentation for for libupower-glib.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -S git
|
|
|
|
%autosetup -n %{name}-v%{version} -p1 -S git
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
autoreconf -i
|
|
|
|
%meson \
|
|
|
|
%configure \
|
|
|
|
-Didevice=%{idevice} \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
-Dman=true \
|
|
|
|
--disable-static \
|
|
|
|
-Dgtk-doc=true \
|
|
|
|
--enable-introspection \
|
|
|
|
-Dintrospection=enabled
|
|
|
|
%ifarch s390 s390x
|
|
|
|
|
|
|
|
--with-backend=dummy
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Disable SMP build, fails to build docs
|
|
|
|
%meson_build
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%meson_install
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang upower
|
|
|
|
%find_lang upower
|
|
|
|
|
|
|
|
|
|
|
@ -91,22 +96,25 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%doc NEWS AUTHORS HACKING README
|
|
|
|
%doc NEWS AUTHORS HACKING README
|
|
|
|
%{_libdir}/libupower-glib.so.*
|
|
|
|
|
|
|
|
%{_datadir}/dbus-1/system.d/*.conf
|
|
|
|
%{_datadir}/dbus-1/system.d/*.conf
|
|
|
|
%ifnarch s390 s390x
|
|
|
|
|
|
|
|
%{_udevrulesdir}/*.rules
|
|
|
|
%{_udevrulesdir}/*.rules
|
|
|
|
%endif
|
|
|
|
%{_udevhwdbdir}/*.hwdb
|
|
|
|
%ghost %dir %{_localstatedir}/lib/upower
|
|
|
|
%ghost %dir %{_localstatedir}/lib/upower
|
|
|
|
%dir %{_sysconfdir}/UPower
|
|
|
|
%dir %{_sysconfdir}/UPower
|
|
|
|
%config %{_sysconfdir}/UPower/UPower.conf
|
|
|
|
%config %{_sysconfdir}/UPower/UPower.conf
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libexecdir}/*
|
|
|
|
%{_libexecdir}/*
|
|
|
|
%{_libdir}/girepository-1.0/*.typelib
|
|
|
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man7/*
|
|
|
|
%{_mandir}/man7/*
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
%{_datadir}/dbus-1/system-services/*.service
|
|
|
|
%{_datadir}/dbus-1/system-services/*.service
|
|
|
|
%{_unitdir}/*.service
|
|
|
|
%{_unitdir}/*.service
|
|
|
|
|
|
|
|
%{_datadir}/installed-tests/upower/upower-integration.test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
%{_libdir}/libupower-glib.so.3{,.*}
|
|
|
|
|
|
|
|
%{_libdir}/girepository-1.0/*.typelib
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{_datadir}/dbus-1/interfaces/*.xml
|
|
|
|
%{_datadir}/dbus-1/interfaces/*.xml
|
|
|
@ -123,20 +131,82 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
%{_datadir}/gtk-doc/html/UPower/*
|
|
|
|
%{_datadir}/gtk-doc/html/UPower/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 23 2021 Benjamin Berg <bberg@redhat.com> - 0.99.13-2
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
- Rebuild with updated test dependencies
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.90.4-3
|
|
|
|
Related: #1994639
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 28 2024 Kate Hsuan <hpa@redhat.com> - 1.90.4-2
|
|
|
|
|
|
|
|
- Add gating definition for RHEL-10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Apr 24 2024 Kate Hsuan <hpa@redhat.com> - 1.90.4-1
|
|
|
|
|
|
|
|
- RHEL-32340 Update to release 1.90.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.90.2-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 28 2023 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.90.2-3
|
|
|
|
|
|
|
|
- Rebuilt for libimobiledevice and libplist soname bump
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 23 2021 Benjamin Berg <bberg@redhat.com> - 0.99.13-1
|
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.90.2-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 06 2023 Bastien Nocera <hadess@hadess.net> - 1.90.2-1
|
|
|
|
|
|
|
|
- Update to 1.90.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 04 2023 Bastien Nocera <hadess@hadess.net> - 1.90.1-1
|
|
|
|
|
|
|
|
- Update to 1.90.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 22 2023 Richard Hughes <richard@hughsie.com> - 0.99.20-5
|
|
|
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 19 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 0.99.20-4
|
|
|
|
|
|
|
|
- Separate libs package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.20-3
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.20-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 15 2022 Benjamin Berg <bberg@redhat.com> - 0.99.20-1
|
|
|
|
|
|
|
|
- Update to 0.99.20
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 09 2022 Benjamin Berg <bberg@redhat.com> - 0.99.19-1
|
|
|
|
|
|
|
|
- Update to 0.99.19
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 09 2022 Benjamin Berg <bberg@redhat.com> - 0.99.14-6
|
|
|
|
|
|
|
|
- Remove sqlite build dependency
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 09 2022 Benjamin Berg <bberg@redhat.com> - 0.99.14-5
|
|
|
|
|
|
|
|
- Remove unused commit global
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 09 2022 Benjamin Berg <bberg@redhat.com> - 0.99.14-4
|
|
|
|
|
|
|
|
- Remove ancient Obsoletes: line
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jun 09 2022 Benjamin Berg <bberg@redhat.com> - 0.99.14-3
|
|
|
|
|
|
|
|
- Build linux backend on s390
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Feb 07 2022 Bastien Nocera <bnocera@redhat.com> - 0.99.14-1
|
|
|
|
|
|
|
|
+ upower-0.99.14-1
|
|
|
|
|
|
|
|
- Update to 0.99.14
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.13-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 17 2021 Bastien Nocera <bnocera@redhat.com> - 0.99.13-1
|
|
|
|
|
|
|
|
+ upower-0.99.13-1
|
|
|
|
- Update to 0.99.13
|
|
|
|
- Update to 0.99.13
|
|
|
|
Resolves: #1994639
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.99.11-11
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.12-2
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.99.11-10
|
|
|
|
* Thu Jun 17 2021 Bastien Nocera <bnocera@redhat.com> - 0.99.12-1
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
+ upower-0.99.12-1
|
|
|
|
|
|
|
|
- Update to 0.99.12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.99.11-10
|
|
|
|
|
|
|
|
- Rebuilt for updated systemd-rpm-macros
|
|
|
|
|
|
|
|
See https://pagure.io/fesco/issue/2583.
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.11-9
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.11-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
@ -400,3 +470,5 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.17-2
|
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.17-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|