]> git.pld-linux.org Git - packages/xfce4-power-manager.git/blob - xfce4-power-manager.spec
- up to 4.18.2
[packages/xfce4-power-manager.git] / xfce4-power-manager.spec
1 Summary:        Power manager for the Xfce desktop environment
2 Summary(pl.UTF-8):      Zarządca energii dla środowiska Xfce
3 Name:           xfce4-power-manager
4 Version:        4.18.2
5 Release:        1
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        https://archive.xfce.org/src/xfce/xfce4-power-manager/4.18/%{name}-%{version}.tar.bz2
9 # Source0-md5:  bc5333fdd3dcd305483e2a44a5e0d90b
10 URL:            https://goodies.xfce.org/projects/applications/xfce4-power-manager
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake >= 1:1.8
13 BuildRequires:  dbus-glib-devel >= 0.74
14 BuildRequires:  gettext-tools
15 BuildRequires:  glib2-devel >= 1:2.66.0
16 BuildRequires:  gtk+3-devel
17 BuildRequires:  intltool
18 BuildRequires:  libnotify-devel >= 0.4.1
19 BuildRequires:  libtool
20 BuildRequires:  libxfce4ui-devel >= 4.18.2
21 BuildRequires:  pkgconfig
22 BuildRequires:  rpmbuild(macros) >= 2.000
23 BuildRequires:  upower-devel
24 BuildRequires:  xfce4-dev-tools >= 4.18.0
25 BuildRequires:  xfce4-panel-devel >= 4.18.0
26 BuildRequires:  xfconf-devel >= 4.18.0
27 Requires:       gtk-update-icon-cache
28 Requires:       upower
29 Requires:       xfce4-dirs >= 4.6
30 Provides:       xfce4-battery-plugin
31 Obsoletes:      xfce4-battery-plugin
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 Power manager for the Xfce desktop environment.
36
37 %description -l pl.UTF-8
38 Zarządca energii dla środowiska Xfce.
39
40 %prep
41 %setup -q
42
43 mkdir -p m4
44
45 %build
46 %{__intltoolize}
47 %{__libtoolize}
48 %{__aclocal}
49 %{__autoconf}
50 %{__autoheader}
51 %{__automake}
52 %configure \
53         --disable-silent-rules
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hye,ie,ur_PK}
64 %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy}
65 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libxfce4powermanager.la
66
67 %find_lang %{name}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post
73 %update_icon_cache hicolor
74
75 %postun
76 %update_icon_cache hicolor
77
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog NEWS TODO
81 %{_sysconfdir}/xdg/autostart/xfce4-power-manager.desktop
82 %attr(755,root,root) %{_bindir}/xfce4-power-manager
83 %attr(755,root,root) %{_bindir}/xfce4-power-manager-settings
84 %attr(755,root,root) %{_sbindir}/xfpm-power-backlight-helper
85 %attr(755,root,root) %{_sbindir}/xfce4-pm-helper
86 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libxfce4powermanager.so
87 %{_desktopdir}/xfce4-power-manager-settings.desktop
88 %{_datadir}/xfce4/panel/plugins/power-manager-plugin.desktop
89 %{_iconsdir}/hicolor/*/*/*
90 %{_datadir}/polkit-1/actions/org.xfce.power.policy
91 %{_datadir}/metainfo/xfce4-power-manager.appdata.xml
92 %{_mandir}/man1/xfce4-power-manager*.1*
This page took 0.068827 seconds and 4 git commands to generate.