Blob Blame History Raw
%global minor_version 1.2
Name:           xfce4-embed-plugin
Version:        1.2.0
Release:        3%{?dist}
Summary:        Xfce panel plugin to embed various applications 

Group:          User Interface/Desktops
License:        GPLv2+
URL:            http://goodies.xfce.org/projects/panel-plugins/%{name}
Source0:        http://archive.xfce.org/src/panel-plugins/%{name}/%{minor_version}/%{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  xfce4-panel-devel >= 4.8
BuildRequires:  libxfce4util-devel >= 4.8
BuildRequires:  libxfce4ui-devel >= 4.8
BuildRequires:  gtk2-devel 
BuildRequires:  libX11-devel 
BuildRequires:  intltool
Requires:       xfce4-panel >= 4.4.0

%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. 

%prep
%setup -q -n %{name}-%{version}

%build
%configure --disable-static
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
rm -rf $RPM_BUILD_ROOT/%{_libdir}/xfce4/panel/plugins/libembed.la
%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Mon Dec 24 2012 Johannes Lips <hannes@fedoraproject.org> - 1.2.0-1
- Update to upstream version 1.2.0

* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Wed May 16 2012 Johannes Lips <hannes@fedoraproject.org> - 1.0.0-1
- defined minor version
- changed the license to GPLv2+ 

* Sat Apr 28 2012 Johannes Lips <hannes@fedoraproject.org> - 1.0.0-0.1
- Initial RPM release.