[packages/mate-power-manager] new, version 1.5.1

glen glen at pld-linux.org
Sat Feb 16 22:13:22 CET 2013


commit 85ccafd9dc9eb577f7aea3b5795750f8987c3d53
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Feb 16 23:12:45 2013 +0200

    new, version 1.5.1
    
    based on fedora package
    9b9281627ab87245e9a2a738ee4686a4d7f7d5fe

 mate-power-manager.spec | 109 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 109 insertions(+)
---
diff --git a/mate-power-manager.spec b/mate-power-manager.spec
new file mode 100644
index 0000000..d6a033c
--- /dev/null
+++ b/mate-power-manager.spec
@@ -0,0 +1,109 @@
+Summary:	MATE power management service
+Name:		mate-power-manager
+Version:	1.5.1
+Release:	1
+License:	GPL v2+
+Group:		X11/Applications
+Source0:	http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
+# Source0-md5:	8ef2d2e6552461f88ac233377a5f5760
+URL:		http://wiki.mate-desktop.org/mate-power-manager
+BuildRequires:	cairo-devel >= 1.0.0
+BuildRequires:	dbus-glib-devel
+BuildRequires:	desktop-file-utils
+BuildRequires:	glib2-devel
+BuildRequires:	gtk+2-devel >= 2:2.17.7
+BuildRequires:	libcanberra-devel
+BuildRequires:	libmatekeyring-devel >= 1.1.0
+BuildRequires:	libmatenotify-devel
+BuildRequires:	libunique-devel
+BuildRequires:	mate-common
+BuildRequires:	mate-control-center-devel
+BuildRequires:	mate-doc-utils
+BuildRequires:	mate-panel-devel
+BuildRequires:	popt-devel
+BuildRequires:	rarian-compat
+BuildRequires:	rpmbuild(find_lang) >= 1.36
+BuildRequires:	systemd-devel >= 1:195
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	upower-devel
+BuildRequires:	xz
+Requires:	glib2 >= 1:2.26.0
+Requires:	gtk-update-icon-cache
+Requires:	hicolor-icon-theme
+Requires:	mate-panel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+MATE Power Manager uses the information and facilities provided by
+UPower displaying icons and handling user callbacks in an interactive
+MATE session.
+
+%prep
+%setup -q
+
+%build
+NOCONFIGURE=1 ./autogen.sh
+%configure \
+	--disable-silent-rules \
+	--disable-static \
+	--disable-scrollkeeper \
+	--enable-applets
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name} --with-mate --with-omf
+
+desktop-file-install \
+     --delete-original \
+     --remove-category=MATE \
+     --add-category=X-Mate \
+     --dir=$RPM_BUILD_ROOT%{_desktopdir} \
+$RPM_BUILD_ROOT%{_desktopdir}/*.desktop
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_icon_cache hicolor
+%glib_compile_schemas
+
+%postun
+%update_icon_cache hicolor
+%glib_compile_schemas
+
+%files  -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%attr(755,root,root) %{_bindir}/mate-power-bugreport.sh
+%attr(755,root,root) %{_bindir}/mate-power-manager
+%attr(755,root,root) %{_bindir}/mate-power-preferences
+%attr(755,root,root) %{_bindir}/mate-power-statistics
+%attr(755,root,root) %{_sbindir}/mate-power-backlight-helper
+%attr(755,root,root) %{_libdir}/mate-brightness-applet
+%attr(755,root,root) %{_libdir}/mate-inhibit-applet
+%{_mandir}/man1/mate-power-manager.1*
+%{_mandir}/man1/mate-power-preferences.1*
+%{_mandir}/man1/mate-power-statistics.1*
+/etc/xdg/autostart/mate-power-manager.desktop
+%{_desktopdir}/mate-power-preferences.desktop
+%{_desktopdir}/mate-power-statistics.desktop
+%{_iconsdir}/hicolor/*/apps/mate-*.*
+%{_datadir}/dbus-1/services/mate-power-manager.service
+%{_datadir}/dbus-1/services/org.mate.panel.applet.BrightnessAppletFactory.service
+%{_datadir}/dbus-1/services/org.mate.panel.applet.InhibitAppletFactory.service
+%{_datadir}/%{name}
+%{_datadir}/polkit-1/actions/org.mate.power.policy
+%{_datadir}/mate-2.0/ui/brightness-applet-menu.xml
+%{_datadir}/mate-2.0/ui/inhibit-applet-menu.xml
+%{_datadir}/mate-panel/applets/org.mate.BrightnessApplet.mate-panel-applet
+%{_datadir}/mate-panel/applets/org.mate.InhibitApplet.mate-panel-applet
+%{_datadir}/glib-2.0/schemas/org.mate.power-manager.gschema.xml
+
+# XXX proper dir
+%dir %{_datadir}/mate-2.0
+%dir %{_datadir}/mate-2.0/ui
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-power-manager.git/commitdiff/85ccafd9dc9eb577f7aea3b5795750f8987c3d53



More information about the pld-cvs-commit mailing list