Compare commits

...

No commits in common. 'c10-beta' and 'c9' have entirely different histories.
c10-beta ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/upower-v1.90.4.tar.bz2 SOURCES/upower-0.99.13.tar.xz

@ -1 +1 @@
82b69c2c59c49d75f2e3c81a3d086d5d1ebda1f2 SOURCES/upower-v1.90.4.tar.bz2 243293648009763df9fe46aec9390cedfa129a3b SOURCES/upower-0.99.13.tar.xz

@ -1,29 +1,20 @@
## 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: 1.90.4 Version: 0.99.13
Release: %autorelease Release: 2%{?dist}
License: GPL-2.0-or-later License: GPLv2+
URL: http://upower.freedesktop.org/ URL: http://upower.freedesktop.org/
Source0: https://gitlab.freedesktop.org/upower/%{name}/-/archive/v%{version}/%{name}-v%{version}.tar.bz2 Source0: https://gitlab.freedesktop.org/upower/upower/uploads/177df5b9f9b76f25a2ad9da41aa0c1fa/upower-0.99.13.tar.xz
BuildRequires: meson BuildRequires: make
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
@ -31,53 +22,57 @@ 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}-libs%{?_isa} = %{version}-%{release} Requires: %{name}%{?_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}-libs = %{version}-%{release} Requires: %{name} = %{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 -n %{name}-v%{version} -p1 -S git %autosetup -p1 -S git
%build %build
%meson \ autoreconf -i
-Didevice=%{idevice} \ %configure \
-Dman=true \ --enable-gtk-doc \
-Dgtk-doc=true \ --disable-static \
-Dintrospection=enabled --enable-introspection \
%ifarch s390 s390x
--with-backend=dummy
%endif
%meson_build # Disable SMP build, fails to build docs
make
%install %install
%meson_install make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%find_lang upower %find_lang upower
@ -96,25 +91,22 @@ Developer documentation for for libupower-glib.
%{!?_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
%{_udevhwdbdir}/*.hwdb %endif
%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
@ -131,82 +123,20 @@ Developer documentation for for libupower-glib.
%{_datadir}/gtk-doc/html/UPower/* %{_datadir}/gtk-doc/html/UPower/*
%changelog %changelog
## START: Generated by rpmautospec * Mon Aug 23 2021 Benjamin Berg <bberg@redhat.com> - 0.99.13-2
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.90.4-3 - Rebuild with updated test dependencies
- Bump release for June 2024 mass rebuild Related: #1994639
* 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
* 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 * Mon Aug 23 2021 Benjamin Berg <bberg@redhat.com> - 0.99.13-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
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.12-2 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.99.11-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Jun 17 2021 Bastien Nocera <bnocera@redhat.com> - 0.99.12-1 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.99.11-10
+ upower-0.99.12-1 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
- 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
@ -470,5 +400,3 @@ Developer documentation for for libupower-glib.
* 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

Loading…
Cancel
Save