]>
Commit | Line | Data |
---|---|---|
7c41efd6 JR |
1 | Summary: A panel plugin that uses indicator-applet to show new messages |
2 | Name: xfce4-indicator-plugin | |
45ddcebd | 3 | Version: 2.4.2 |
e90b2742 | 4 | Release: 2 |
7c41efd6 JR |
5 | License: GPL v2 |
6 | Group: X11/Applications | |
98414e08 | 7 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-indicator-plugin/2.4/%{name}-%{version}.tar.bz2 |
45ddcebd | 8 | # Source0-md5: ee8a56be1790e6d00481241343da6db5 |
7c41efd6 JR |
9 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-indicator-plugin |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
98414e08 | 12 | BuildRequires: gtk+3-devel >= 3.18.0 |
7c41efd6 | 13 | BuildRequires: intltool |
e90b2742 | 14 | BuildRequires: libayatana-indicator-gtk3-devel >= 0.5 |
7c41efd6 | 15 | BuildRequires: libtool |
1263572b JR |
16 | BuildRequires: libxfce4ui-devel >= 4.12.0 |
17 | BuildRequires: libxfce4util-devel >= 4.12.0 | |
18 | BuildRequires: xfce4-dev-tools >= 4.12.0 | |
19 | BuildRequires: xfce4-panel-devel >= 4.12.0 | |
7c41efd6 | 20 | BuildRequires: xfconf-devel |
1263572b | 21 | Requires: xfce4-panel >= 4.12.0 |
7c41efd6 JR |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | A panel plugin that uses indicator-applet to show new messages. | |
26 | ||
27 | %prep | |
28 | %setup -q | |
29 | ||
30 | %build | |
31 | %{__intltoolize} | |
32 | %{__libtoolize} | |
33 | %{__aclocal} | |
34 | %{__autoconf} | |
35 | %{__autoheader} | |
36 | %{__automake} | |
37 | %configure \ | |
38 | --disable-static | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la | |
48 | ||
98414e08 KM |
49 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hye,ie} |
50 | ||
7c41efd6 JR |
51 | %find_lang %{name} |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %post | |
57 | %update_icon_cache hicolor | |
58 | ||
59 | %postun | |
60 | %update_icon_cache hicolor | |
61 | ||
62 | %files -f %{name}.lang | |
63 | %defattr(644,root,root,755) | |
45ddcebd | 64 | %doc AUTHORS NEWS README.md |
7c41efd6 JR |
65 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libindicator-plugin.so |
66 | %{_datadir}/xfce4/panel/plugins/indicator.desktop | |
67 | %{_iconsdir}/hicolor/*x*/apps/xfce4-indicator-plugin.png | |
68 | %{_iconsdir}/hicolor/scalable/apps/xfce4-indicator-plugin.svg |