1ee65dd
%global minor_version 1.0
1ee65dd
Name:           xfce4-embed-plugin
1ee65dd
Version:        1.0.0
1ee65dd
Release:        1%{?dist}
1ee65dd
Summary:        Xfce panel plugin to embed various applications 
1ee65dd
1ee65dd
Group:          User Interface/Desktops
1ee65dd
License:        GPLv2+
1ee65dd
URL:            http://goodies.xfce.org/projects/panel-plugins/%{name}
1ee65dd
Source0:        http://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.bz2
1ee65dd
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1ee65dd
1ee65dd
BuildRequires:  xfce4-panel-devel >= 4.8
1ee65dd
BuildRequires:  libxfce4util-devel >= 4.8
1ee65dd
BuildRequires:  libxfce4ui-devel >= 4.8
1ee65dd
BuildRequires:  gtk2-devel 
1ee65dd
BuildRequires:  libX11-devel 
1ee65dd
BuildRequires:  intltool
1ee65dd
Requires:       xfce4-panel >= 4.4.0
1ee65dd
1ee65dd
%description
1ee65dd
This plugin enables the embedding of arbitrary 
1ee65dd
application windows into the Xfce panel.
1ee65dd
The window is resized into the panel space available,
1ee65dd
and the associated program can be automatically
1ee65dd
launched if it is not open. 
1ee65dd
1ee65dd
%prep
1ee65dd
%setup -q -n %{name}-%{version}
1ee65dd
1ee65dd
%build
1ee65dd
%configure --disable-static
1ee65dd
make %{?_smp_mflags}
1ee65dd
1ee65dd
%install
1ee65dd
rm -rf $RPM_BUILD_ROOT
1ee65dd
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
1ee65dd
rm -rf $RPM_BUILD_ROOT/%{_libdir}/xfce4/panel/plugins/libembed.la
1ee65dd
%find_lang %{name}
1ee65dd
1ee65dd
%clean
1ee65dd
rm -rf $RPM_BUILD_ROOT
1ee65dd
1ee65dd
%files -f %{name}.lang
1ee65dd
%defattr(-,root,root,-)
1ee65dd
%doc AUTHORS COPYING ChangeLog README
1ee65dd
%{_libdir}/xfce4/panel/plugins/libembed.so
1ee65dd
%{_datadir}/xfce4/panel/plugins/*.desktop
1ee65dd
1ee65dd
%changelog
1ee65dd
* Wed May 16 2012 Johannes Lips <hannes@fedoraproject.org> - 1.0.0-1
1ee65dd
- defined minor version
1ee65dd
- changed the license to GPLv2+ 
1ee65dd
1ee65dd
* Sat Apr 28 2012 Johannes Lips <hannes@fedoraproject.org> - 1.0.0-0.1
1ee65dd
- Initial RPM release.