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