1 |
%define name gnome-power-manager |
%define name gnome-power-manager |
2 |
%define version 3.0.2 |
%define version 3.1.2 |
3 |
%define release %mkrel 1 |
%define release %mkrel 1 |
4 |
%define schemasdir %{_datadir}/glib-2.0/schemas |
%define schemasdir %{_datadir}/glib-2.0/schemas |
5 |
|
|
10 |
License: GPLv2+ |
License: GPLv2+ |
11 |
Group: Graphical desktop/GNOME |
Group: Graphical desktop/GNOME |
12 |
URL: http://www.gnome.org/projects/gnome-power-manager/ |
URL: http://www.gnome.org/projects/gnome-power-manager/ |
13 |
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-power-manager/%{name}-%{version}.tar.bz2 |
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-power-manager/%{name}-%{version}.tar.xz |
14 |
BuildRequires: glib2-devel >= 2.25.9 |
BuildRequires: glib2-devel >= 2.25.9 |
15 |
BuildRequires: gtk+3-devel |
BuildRequires: gtk+3-devel |
16 |
BuildRequires: libwnck-devel >= 2.10.0 |
BuildRequires: libwnck-devel >= 2.10.0 |
68 |
|
|
69 |
%find_lang %name |
%find_lang %name |
70 |
|
|
|
%clean |
|
|
rm -rf %{buildroot} |
|
|
|
|
71 |
%define schemas %name |
%define schemas %name |
72 |
|
|
73 |
%post |
%post |
74 |
glib-compile-schemas %{schemasdir} |
glib-compile-schemas %{schemasdir} |
75 |
|
|
76 |
%files -f %{name}.lang |
%files -f %{name}.lang |
|
%defattr(-,root,root) |
|
77 |
%doc AUTHORS COPYING INSTALL NEWS README |
%doc AUTHORS COPYING INSTALL NEWS README |
78 |
%{_sysconfdir}/xdg/autostart/gnome-power-manager.desktop |
%{_sysconfdir}/xdg/autostart/gnome-power-manager.desktop |
79 |
%{_bindir}/* |
%{_bindir}/* |