source: projects/specs/trunk/x/xfce4-cpufreq-plugin/xfce4-cpufreq-plugin-vl.spec @ 9173

Revision 9173, 2.0 KB checked in by inagaki, 9 years ago (diff)

2014-12-21 Ryoichi INAGAKI <ryo1@…>

  • xfce4 plugins: updated
  • xfce4-panel, xfce4-power-manager, xfdesktop: updated


Line 
1Name:           xfce4-cpufreq-plugin
2Summary:        CPU monitor plugin for the Xfce panel
3Summary(ja):    Xfce パネル用 CPU モニタプラグイン
4Version:        1.1.0
5Release:        1%{?_dist_release}
6
7Group:          User Interface/Desktops
8License:        GPLv2+
9URL:            http://goodies.xfce.org/projects/panel-plugins/%{name}
10
11Source0:        http://archive.xfce.org/src/panel-plugins/%{name}/1.0/%{name}-%{version}.tar.bz2
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires: glib2-devel >= 2.24.0
15BuildRequires: gtk2-devel >= 2.20.0
16BuildRequires: libxfce4ui-devel >= 4.9.0
17BuildRequires: libxfce4util-devel >= 4.9.0
18BuildRequires: xfce4-panel-devel >= 4.9.0
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22Packager:       Takemikaduchi
23
24
25%description
26xfce4-cpufreq-plugin is a Plugin for the Xfce Panel, which shows CPU Informations
27
28%description -l ja
29xfce4-cpufreq は Xfce パネル用の CPU 情報を見るためのプラグインです。
30
31%prep
32%setup -q
33
34%build
35%configure --disable-static
36make %{?_smp_mflags}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40make install DESTDIR=$RPM_BUILD_ROOT
41
42find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
43
44%find_lang %{name}
45
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50
51%post
52touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
53gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
54
55%postun
56if [ $1 -eq 0 ]; then
57    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
58    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
59fi
60
61
62%files -f %{name}.lang
63%defattr(-,root,root)
64%doc AUTHORS COPYING ChangeLog NEWS README
65%{_libdir}/xfce4/panel/plugins/libcpufreq*
66%{_datadir}/icons/hicolor/*/apps/%{name}.*
67%{_datadir}/xfce4/panel/plugins/cpufreq.desktop
68
69%changelog
70* Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.1.0-1
71- new upstream release
72
73* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-2
74- rebuild with VineSeed environment
75
76* Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1
77- initial build for Vine Linux
78
Note: See TracBrowser for help on using the repository browser.