|
@@ -1,11 +1,11 @@
|
|
-%global minorversion 1.2
|
|
+%global minorversion 1.4
|
|
-%global xfceversion 4.10
|
|
+%global xfceversion 4.10.0
|
|
|
|
|
|
Name: xfce4-power-manager
|
|
Name: xfce4-power-manager
|
|
Summary: Power management for the Xfce desktop environment
|
|
Summary: Power management for the Xfce desktop environment
|
|
Summary(ja): Xfce デスクトップ環境用電源管理ツール
|
|
Summary(ja): Xfce デスクトップ環境用電源管理ツール
|
|
-Version: 1.2.0
|
|
+Version: 1.4.0
|
|
-Release: 4%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
|
|
|
|
Group: User Interface/Desktops
|
|
Group: User Interface/Desktops
|
|
License: GPLv2+
|
|
License: GPLv2+
|
|
@@ -16,18 +16,24 @@ Patch0: xfce4-power-manager-1.1.0-fix-desktop.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
-BuildRequires: xfconf-devel >= %{xfceversion}
|
|
+BuildRequires: dbus-devel >= 1.1
|
|
-BuildRequires: xfce4-panel-devel >= %{xfceversion}
|
|
+BuildRequires: dbus-glib-devel >= 0.84
|
|
-BuildRequires: dbus-devel >= 0.60
|
|
+BuildRequires: desktop-file-utils
|
|
-BuildRequires: dbus-glib-devel >= 0.70
|
|
+BuildRequires: gettext intltool
|
|
|
|
+BuildRequires: glib2-devel >= 2.30.0
|
|
|
|
+BuildRequires: gtk2-devel >= 2.24.0
|
|
BuildRequires: libnotify-devel >= 0.4.1
|
|
BuildRequires: libnotify-devel >= 0.4.1
|
|
-BuildRequires: libxfce4ui-devel >= %{xfceversion}
|
|
+BuildRequires: libXext-devel
|
|
BuildRequires: libXrandr-devel >= 1.2.0
|
|
BuildRequires: libXrandr-devel >= 1.2.0
|
|
|
|
+BuildRequires: libxfce4ui-devel >= %{xfceversion}
|
|
|
|
+BuildRequires: libxfce4util-devel >= %{xfceversion}
|
|
|
|
+BuildRequires: upower-devel >= 0.9.7
|
|
|
|
+BuildRequires: xfce4-panel-devel >= %{xfceversion}
|
|
|
|
+BuildRequires: xfconf-devel >= %{xfceversion}
|
|
BuildRequires: xorg-x11-proto-devel
|
|
BuildRequires: xorg-x11-proto-devel
|
|
-BuildRequires: gettext intltool desktop-file-utils
|
|
+Requires: ConsoleKit
|
|
-Requires: xfce4-panel >= %{xfceversion}
|
|
|
|
-#Requires: xfce4-doc
|
|
|
|
Requires: polkit
|
|
Requires: polkit
|
|
|
|
+Requires: xfce4-panel >= %{xfceversion}
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
@@ -41,17 +47,20 @@ preferences.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch0 -p1
|
|
+#patch0 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
-%configure
|
|
+%configure --enable-silent-rules
|
|
-make %{?_smp_mflags} V=1
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
-make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
|
+make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
+
|
|
|
|
+rm -f $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
|
|
|
|
+
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-settings.desktop
|
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}-settings.desktop
|
|
|
|
|
|
@@ -78,23 +87,25 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
|
|
|
+%config %{_sysconfdir}/xdg/autostart/%{name}.desktop
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/%{name}-settings
|
|
%{_bindir}/%{name}-settings
|
|
-%{_bindir}/xfce4-power-information
|
|
+%{_sbindir}/xfce4-pm-helper
|
|
%{_sbindir}/xfpm-power-backlight-helper
|
|
%{_sbindir}/xfpm-power-backlight-helper
|
|
-%config %{_sysconfdir}/xdg/autostart/%{name}.desktop
|
|
+%{_libdir}/xfce4/panel/plugins/lib*.so
|
|
-%{_libdir}/xfce4/panel-plugins/xfce4-brightness-plugin
|
|
+%{_datadir}/appdata/%{name}.appdata.xml
|
|
%{_datadir}/applications/%{name}-settings.desktop
|
|
%{_datadir}/applications/%{name}-settings.desktop
|
|
%{_datadir}/icons/hicolor/*/*/*.*
|
|
%{_datadir}/icons/hicolor/*/*/*.*
|
|
-%{_datadir}/xfce4/panel-plugins/xfce4-brightness-plugin.desktop
|
|
+%{_datadir}/xfce4/panel/plugins/power-manager-plugin.desktop
|
|
%{_datadir}/polkit-1/actions/org.xfce.power.policy
|
|
%{_datadir}/polkit-1/actions/org.xfce.power.policy
|
|
-%doc %{_datadir}/xfce4/doc/C/images/*.png
|
|
|
|
-%doc %{_datadir}/xfce4/doc/C/%{name}.html
|
|
|
|
%{_mandir}/man1/%{name}-settings.1.*
|
|
%{_mandir}/man1/%{name}-settings.1.*
|
|
%{_mandir}/man1/%{name}.1.*
|
|
%{_mandir}/man1/%{name}.1.*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Sep 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.4.0-1
|
|
|
|
+- new upstream release
|
|
|
|
+
|
|
* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-2
|
|
* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.0-2
|
|
- rebuild with VineSeed environment
|
|
- rebuild with VineSeed environment
|
|
|
|
|