Compare commits

...

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

2
.gitignore vendored

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

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

@ -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
Name: upower
Version: 0.99.13
Release: 2%{?dist}
License: GPLv2+
Version: 1.90.4
Release: %autorelease
License: GPL-2.0-or-later
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: sqlite-devel
BuildRequires: meson
BuildRequires: git
BuildRequires: libtool
BuildRequires: gettext
BuildRequires: libgudev1-devel
%define idevice disabled
%ifnarch s390 s390x
%if ! 0%{?rhel}
%define idevice enabled
BuildRequires: libimobiledevice-devel
%endif
%endif
@ -22,57 +31,53 @@ BuildRequires: glib2-devel >= 2.6.0
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
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: gobject-introspection
%if 0%{?fedora}
# From rhughes-f20-gnome-3-12 copr
Obsoletes: compat-upower09 < 0.99
%endif
%description
UPower (formerly DeviceKit-power) provides a daemon, API and command
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
Summary: Headers and libraries for UPower
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
Headers and libraries for UPower.
%package devel-docs
Summary: Developer documentation for for libupower-glib
Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
BuildArch: noarch
%description devel-docs
Developer documentation for for libupower-glib.
%prep
%autosetup -p1 -S git
%autosetup -n %{name}-v%{version} -p1 -S git
%build
autoreconf -i
%configure \
--enable-gtk-doc \
--disable-static \
--enable-introspection \
%ifarch s390 s390x
--with-backend=dummy
%endif
%meson \
-Didevice=%{idevice} \
-Dman=true \
-Dgtk-doc=true \
-Dintrospection=enabled
# Disable SMP build, fails to build docs
make
%meson_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%meson_install
%find_lang upower
@ -91,22 +96,25 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc NEWS AUTHORS HACKING README
%{_libdir}/libupower-glib.so.*
%{_datadir}/dbus-1/system.d/*.conf
%ifnarch s390 s390x
%{_udevrulesdir}/*.rules
%endif
%{_udevhwdbdir}/*.hwdb
%ghost %dir %{_localstatedir}/lib/upower
%dir %{_sysconfdir}/UPower
%config %{_sysconfdir}/UPower/UPower.conf
%{_bindir}/*
%{_libexecdir}/*
%{_libdir}/girepository-1.0/*.typelib
%{_mandir}/man1/*
%{_mandir}/man7/*
%{_mandir}/man8/*
%{_datadir}/dbus-1/system-services/*.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
%{_datadir}/dbus-1/interfaces/*.xml
@ -123,20 +131,85 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%{_datadir}/gtk-doc/html/UPower/*
%changelog
* Mon Aug 23 2021 Benjamin Berg <bberg@redhat.com> - 0.99.13-2
- Rebuild with updated test dependencies
Related: #1994639
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.90.4-3
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.90.4-3
- 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
* Mon Aug 23 2021 Benjamin Berg <bberg@redhat.com> - 0.99.13-1
* 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
- 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
Resolves: #1994639
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.99.11-11
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.99.11-10
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Thu Jun 17 2021 Bastien Nocera <bnocera@redhat.com> - 0.99.12-1
+ 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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
@ -400,3 +473,5 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
* 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
## END: Generated by rpmautospec

Loading…
Cancel
Save