]> git.pld-linux.org Git - packages/xfce4-indicator-plugin.git/blob - xfce4-indicator-plugin.spec
- BR: libayatana-indicator-gtk3-devel
[packages/xfce4-indicator-plugin.git] / xfce4-indicator-plugin.spec
1 Summary:        A panel plugin that uses indicator-applet to show new messages
2 Name:           xfce4-indicator-plugin
3 Version:        2.4.2
4 Release:        2
5 License:        GPL v2
6 Group:          X11/Applications
7 Source0:        http://archive.xfce.org/src/panel-plugins/xfce4-indicator-plugin/2.4/%{name}-%{version}.tar.bz2
8 # Source0-md5:  ee8a56be1790e6d00481241343da6db5
9 URL:            http://goodies.xfce.org/projects/panel-plugins/xfce4-indicator-plugin
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  gtk+3-devel >= 3.18.0
13 BuildRequires:  intltool
14 BuildRequires:  libayatana-indicator-gtk3-devel >= 0.5
15 BuildRequires:  libtool
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
20 BuildRequires:  xfconf-devel
21 Requires:       xfce4-panel >= 4.12.0
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
49 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{hye,ie}
50
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)
64 %doc AUTHORS NEWS README.md
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
This page took 0.155329 seconds and 4 git commands to generate.