From: Jan Rękorajski Date: Sun, 17 Aug 2014 21:20:36 +0000 (+0200) Subject: - new X-Git-Tag: auto/th/xfce4-indicator-plugin-2.3.2-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=7c41efd677a64c86ad2ead5086a2d7b6516a3ca7;p=packages%2Fxfce4-indicator-plugin.git - new --- 7c41efd677a64c86ad2ead5086a2d7b6516a3ca7 diff --git a/xfce4-indicator-plugin.spec b/xfce4-indicator-plugin.spec new file mode 100644 index 0000000..d81947d --- /dev/null +++ b/xfce4-indicator-plugin.spec @@ -0,0 +1,67 @@ +Summary: A panel plugin that uses indicator-applet to show new messages +Name: xfce4-indicator-plugin +Version: 2.3.2 +Release: 1 +License: GPL v2 +Group: X11/Applications +Source0: http://archive.xfce.org/src/panel-plugins/xfce4-indicator-plugin/2.3/%{name}-%{version}.tar.bz2 +# Source0-md5: 9fdc7c6ab8a4f1e909eedd3596996568 +URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-indicator-plugin +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: intltool +BuildRequires: libtool +BuildRequires: libxfce4ui-devel >= 4.11.0 +BuildRequires: libxfce4util-devel >= 4.11.0 +BuildRequires: xfce4-dev-tools >= 4.11.0 +BuildRequires: xfce4-panel-devel >= 4.11.1-2 +BuildRequires: xfconf-devel +BuildRequires: gtk+3-devel >= 3.6.0 +BuildRequires: libindicator-devel >= 12.10.1 +BuildRequires: libindicator-gtk3-devel >= 12.10.1 +Requires: xfce4-panel >= 4.11.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +A panel plugin that uses indicator-applet to show new messages. + +%prep +%setup -q + +%build +%{__intltoolize} +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --disable-static +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la + +%find_lang %{name} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%update_icon_cache hicolor + +%postun +%update_icon_cache hicolor + +%files -f %{name}.lang +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog README +%attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libindicator-plugin.so +%{_datadir}/xfce4/panel/plugins/indicator.desktop +%{_iconsdir}/hicolor/*x*/apps/xfce4-indicator-plugin.png +%{_iconsdir}/hicolor/scalable/apps/xfce4-indicator-plugin.svg