]> git.pld-linux.org Git - packages/xfce4-cpugraph-plugin.git/blob - xfce4-cpugraph-plugin.spec
- give rpm dependency generator a chance to do its job
[packages/xfce4-cpugraph-plugin.git] / xfce4-cpugraph-plugin.spec
1 Summary:        Displays a graph from your latest system load
2 Summary(pl.UTF-8):      Wyświetlanie wykresu bieżącego obciążenia systemu
3 Name:           xfce4-cpugraph-plugin
4 Version:        1.0.5
5 Release:        3
6 License:        BSD
7 Group:          X11/Applications
8 Source0:        http://archive.xfce.org/src/panel-plugins/xfce4-cpugraph-plugin/1.0/%{name}-%{version}.tar.bz2
9 # Source0-md5:  f0ebfabb273adf69361b37a3fa4b7912
10 URL:            http://goodies.xfce.org/projects/panel-plugins/xfce4-cpugraph-plugin
11 BuildRequires:  gettext-devel
12 BuildRequires:  gtk+2-devel >= 2:2.12.0
13 BuildRequires:  libxfce4ui-devel
14 BuildRequires:  pkgconfig
15 BuildRequires:  rpmbuild(macros) >= 1.601
16 BuildRequires:  xfce4-dev-tools >= 4.6.0
17 BuildRequires:  xfce4-panel-devel >= 4.6.0
18 Requires:       gtk-update-icon-cache
19 Requires:       hicolor-icon-theme
20 Requires:       xfce4-panel >= 4.6.0
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This systemload plugin offers multiple display modes (LED, gradient,
25 fire, etc.) to show the current CPU load of the system. The colors and
26 the size of the plugin are customizable.
27
28 %description -l pl.UTF-8
29 Ta wtyczka obciążenia systemu oferuje liczne tryby wyświetlania (ekran
30 ciekłokrystaliczny LED, gradient, ogień, itp.) aktualnego obciążenia
31 procesora. Kolory i rozmiar wtyczki są modyfikowalne.
32
33 %prep
34 %setup -q
35
36 %build
37 %configure
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 # for dependency generator
47 chmod 755 $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.so
48
49 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
50 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK
51
52 %find_lang %{name}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post
58 %update_icon_cache hicolor
59
60 %postun
61 %update_icon_cache hicolor
62
63 %files -f %{name}.lang
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog NEWS README
66 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libcpugraph.so
67 %{_datadir}/xfce4/panel/plugins/cpugraph.desktop
68 %{_iconsdir}/hicolor/*/*/*.png
This page took 0.03429 seconds and 4 git commands to generate.