Name: 		xfce4-embed-plugin
Summary:        Embed plugin for the Xfce panel
Summary(ja):    Xfce パネル用 Window 埋め込みプラグイン
Version:        1.6.0
Release: 	1%{?_dist_release}

Group: 		User Interface/Desktops
License:	GPLv2+
URL: 		http://goodies.xfce.org/projects/panel-plugins/%{name}

Source0: 	http://archive.xfce.org/src/panel-plugins/%{name}/1.4/%{name}-%{version}.tar.bz2

BuildRoot: 	%{_tmppath}/%{name}-%{version}-root
BuildRequires:  gtk2-devel >= 2.20.0
BuildRequires:  libxfce4util-devel >= 4.8.0
BuildRequires:  libxfce4ui-devel >= 4.8.0
BuildRequires:  xfce4-panel-devel >= 4.8.0
Requires:       xfce4-panel 

Vendor:		Project Vine
Distribution:	Vine Linux
Packager:	Takemikaduchi, inagaki


%description
This plugin enables the embedding of arbitrary application windows into the Xfce
panel. The window is resized into the panel space available, and the associated
program can be automatically launched if it is not open.

Example uses include embedding an instant messaging buddy list, a mail client's
new mail ticker, a simple media application, or a fancy clock or timer.
Combining with Xfce's ability to auto-hide panels can make this very convenient.


%prep
%setup -q

%build
%configure --enable-silent-rules --disable-static
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;

%find_lang %{name}


%clean
rm -rf $RPM_BUILD_ROOT


%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/xfce4/panel/plugins/libembed.so
%{_datadir}/xfce4/panel/plugins/embed.desktop

%changelog
* Mon Jul 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.6.0-1
- new upstream release

* Mon Mar  2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.4.1-2
- rebuilt with libxfce4util 4.12.1

* Thu Sep 18 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.4.1-1
- updated to 1.4.1

* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-2
- rebuild with VineSeed environment

* Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1
- initial build for Vine Linux

