update to 0.99.18 [release 0.99.18-1mamba;Sat May 28 2022]
This commit is contained in:
parent
9fd0ac5410
commit
c6919792bc
64
upower.spec
64
upower.spec
@ -1,19 +1,15 @@
|
||||
%define gitver %(echo %version | tr . _)
|
||||
Name: upower
|
||||
Version: 0.99.13
|
||||
Version: 0.99.18
|
||||
Release: 1mamba
|
||||
Summary: Power Management Service
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://upower.freedesktop.org/
|
||||
Source: https://gitlab.freedesktop.org/upower/upower.git/UPOWER_%{gitver}/upower-%{version}.tar.bz2
|
||||
#Source: http://upower.freedesktop.org/releases/upower-%{version}.tar.xz
|
||||
# don't crash with new polkits
|
||||
Source: https://gitlab.freedesktop.org/upower/upower.git/v%{version}/upower-%{version}.tar.bz2
|
||||
Patch0: upower-0.9.6-ensure-gerror-is-init.patch
|
||||
# don't return more or less than once from a dbus call
|
||||
# and don't leak errors all over the place
|
||||
Patch1: upower-dbus-fixes.patch
|
||||
Patch2: %{name}-0.9.15-use_percentage_when_noly_energy_full_is_unavailable.patch
|
||||
License: GPL
|
||||
@ -21,14 +17,13 @@ License: GPL
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgudev-devel
|
||||
BuildRequires: libimobiledevice-devel
|
||||
BuildRequires: libplist-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: libimobiledevice-devel >= 1.1.4
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libelf-devel
|
||||
BuildRequires: libplist-devel >= 1.11
|
||||
BuildRequires: python-dbusmock-py3
|
||||
Requires: libimobiledevice >= 1.1.4
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
@ -46,25 +41,16 @@ This package contains shared libraries for %{name}.
|
||||
Summary: Devel package for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Obsoletes: upower-devel
|
||||
Provides: upower-devel
|
||||
Obsoletes: upower-devel < 0.99.18
|
||||
Provides: %{name}-static
|
||||
Obsoletes: %{name}-static < 0.99.18
|
||||
Provides: lib%{name}-static
|
||||
Obsoletes: lib%{name}-static < 0.99.18
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
UPower (formerly DeviceKit-power) provides a daemon, API and command line tools for managing power devices attached to the system.
|
||||
|
||||
This package contains libraries and header files need for development.
|
||||
|
||||
%package -n lib%{name}-static
|
||||
Summary: Static package for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: lib%{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Provides: %{name}-static
|
||||
Obsoletes: %{name}-static
|
||||
|
||||
%description -n lib%{name}-static
|
||||
UPower (formerly DeviceKit-power) provides a daemon, API and command line tools for managing power devices attached to the system.
|
||||
|
||||
This package contains static libraries need for development.
|
||||
This package contains libraries and header files needed for development.
|
||||
|
||||
%package apidocs
|
||||
Summary: %{name} API documentation
|
||||
@ -74,29 +60,21 @@ Requires: gtk-doc
|
||||
%description apidocs
|
||||
UPower (formerly DeviceKit-power) provides a daemon, API and command
|
||||
line tools for managing power devices attached to the system.
|
||||
|
||||
This package contains %{name} API documentation.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch0 -p1
|
||||
#%patch1 -p1
|
||||
#%patch2 -p1
|
||||
|
||||
./autogen.sh
|
||||
|
||||
%build
|
||||
%configure \
|
||||
%ifnarch arm
|
||||
--enable-gtk-doc \
|
||||
%endif
|
||||
--enable-introspection
|
||||
%meson
|
||||
|
||||
%make
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
%meson_install
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
@ -127,6 +105,7 @@ This package contains %{name} API documentation.
|
||||
%{_datadir}/dbus-1/system.d/org.freedesktop.UPower.conf
|
||||
%{_unitdir}/upower.service
|
||||
%{_udevrulesdir}/95-upower-*.rules
|
||||
%{_udevhwdbdir}/95-upower-hid.hwdb
|
||||
%{_datadir}/dbus-1/interfaces/*.xml
|
||||
%{_datadir}/dbus-1/system-services/*.service
|
||||
%{_mandir}/man1/upower.1*
|
||||
@ -148,18 +127,19 @@ This package contains %{name} API documentation.
|
||||
%{_datadir}/gir-*/UPowerGlib-*.gir
|
||||
%doc HACKING NEWS README
|
||||
|
||||
%files -n lib%{name}-static
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libupower-glib.*a
|
||||
#%files -n lib%{name}-static
|
||||
#%defattr(-,root,root)
|
||||
#%{_libdir}/libupower-glib.*a
|
||||
|
||||
%ifnarch arm
|
||||
%files apidocs
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/gtk-doc/html/UPower
|
||||
%{_datadir}/gtk-doc/html/UPower/*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sat May 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99.18-1mamba
|
||||
- update to 0.99.18
|
||||
|
||||
* Sun Aug 22 2021 Automatic Build System <autodist@mambasoft.it> 0.99.13-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user