6 Commits

View File

@ -1,97 +1,44 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1)
Name: gnome-power-manager Name: gnome-power-manager
Version: 3.22.1 Version: 43.0
Release: 1mamba Release: 1mamba
Summary: A session daemon for the GNOME desktop environment that makes it easy to manage your laptop or desktop system Summary: A session daemon for the GNOME desktop environment that makes it easy to manage your laptop or desktop system
Group: Graphical Desktop/Applications/Utilities Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://projects.gnome.org/gnome-power-manager/ URL: https://projects.gnome.org/gnome-power-manager/
Source: ftp://ftp.gnome.org/pub/gnome/sources/gnome-power-manager/%{majver}/gnome-power-manager-%{version}.tar.xz Source: https://download.gnome.org/sources/gnome-power-manager/%{majver}/gnome-power-manager-%{version}.tar.xz
Patch0: %{name}-2.32.0-libnotify-0.7.patch Patch0: %{name}-2.32.0-libnotify-0.7.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libart_lgpl-devel
BuildRequires: libatk-devel
BuildRequires: libavahi-devel
BuildRequires: libavahi-glib-devel
BuildRequires: libbonobo-devel
BuildRequires: libbonoboui-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libcanberra-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libGL-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libglitz-devel BuildRequires: libgtk3-devel
BuildRequires: libgnomecanvas-devel
BuildRequires: libgnome-devel
BuildRequires: libgnome-keyring-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libgpg-error-devel
BuildRequires: libgtk2-devel
BuildRequires: libICE-devel
BuildRequires: libnotify-devel
BuildRequires: libopenssl-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libpixman-devel BuildRequires: libupower-devel
BuildRequires: libpng-devel
BuildRequires: libpopt-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libselinux-devel
BuildRequires: libSM-devel
BuildRequires: libssp-devel
BuildRequires: libstartup-notification-devel
BuildRequires: libstdc++6-devel
BuildRequires: libunique-devel
BuildRequires: libuuid-devel
BuildRequires: libwnck2-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
BuildRequires: libXcomposite-devel
BuildRequires: libXcursor-devel
BuildRequires: libXdamage-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXfixes-devel
BuildRequires: libXinerama-devel
BuildRequires: libxml2-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libXres-devel
BuildRequires: libz-devel
BuildRequires: ORBit2-devel
BuildRequires: udev-devel
BuildRequires: upower-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: upower-devel >= 0.9.23 BuildRequires: upower-devel >= 0.9.23
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
A session daemon for the GNOME desktop environment that makes it easy to manage your laptop or desktop system. A session daemon for the GNOME desktop environment that makes it easy to manage your laptop or desktop system.
%debug_package
%prep %prep
%setup -q %setup -q
#%patch0 -p0 #%patch0 -p0
%build %build
%configure --disable-scrollkeeper %meson
%make
%meson_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall export DESTDIR=%{buildroot}
%meson_install
%find_lang %{name} %find_lang %{name}
@ -121,7 +68,7 @@ fi
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/gnome-power-statistics %{_bindir}/gnome-power-statistics
%{_datadir}/appdata/org.gnome.PowerStats.appdata.xml %{_datadir}/metainfo/org.gnome.PowerStats.appdata.xml
%{_datadir}/applications/org.gnome.PowerStats.desktop %{_datadir}/applications/org.gnome.PowerStats.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.power-manager.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.power-manager.gschema.xml
%{_datadir}/icons/hicolor/*/apps/org.gnome.PowerStats.png %{_datadir}/icons/hicolor/*/apps/org.gnome.PowerStats.png
@ -132,6 +79,24 @@ fi
#ChangeLog NEWS README #ChangeLog NEWS README
%changelog %changelog
* Thu Nov 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 43.0-1mamba
- update to 43.0
* Sat Aug 03 2019 Automatic Build System <autodist@mambasoft.it> 3.32.0-1mamba
- automatic version update by autodist
* Tue Sep 18 2018 Automatic Build System <autodist@mambasoft.it> 3.30.0-1mamba
- automatic version update by autodist
* Mon Aug 13 2018 Automatic Build System <autodist@mambasoft.it> 3.26.0-1mamba
- automatic version update by autodist
* Mon Apr 24 2017 Automatic Build System <autodist@mambasoft.it> 3.24.0-1mamba
- automatic version update by autodist
* Wed Nov 09 2016 Automatic Build System <autodist@mambasoft.it> 3.22.2-1mamba
- automatic version update by autodist
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 3.22.1-1mamba * Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 3.22.1-1mamba
- automatic version update by autodist - automatic version update by autodist