diff --git a/.gitignore b/.gitignore index e69de29..1eadef5 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/xfce4-embed-plugin-1.0.0.tar.bz2 diff --git a/sources b/sources index e69de29..4b42500 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c5b86cbc1c54ee7c1d2e95a4502fed8e xfce4-embed-plugin-1.0.0.tar.bz2 diff --git a/xfce4-embed-plugin.spec b/xfce4-embed-plugin.spec new file mode 100644 index 0000000..58f0f7a --- /dev/null +++ b/xfce4-embed-plugin.spec @@ -0,0 +1,56 @@ +%global minor_version 1.0 +Name: xfce4-embed-plugin +Version: 1.0.0 +Release: 1%{?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 +* Wed May 16 2012 Johannes Lips - 1.0.0-1 +- defined minor version +- changed the license to GPLv2+ + +* Sat Apr 28 2012 Johannes Lips - 1.0.0-0.1 +- Initial RPM release.