Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > fdac85bc2969c26607018d49d6543c70 > files > 2

rox-pager-1.0.0-3mdk.src.rpm

%define oname Pager
%define version 1.0.0
%define fname pager-%version
Name:		rox-pager
Version:	%version
Release:	3mdk
Summary:	Pager for the panel of the ROX-Filer
Group:		Graphical desktop/Other
License:	GPL
URL:		http://rox.sourceforge.net/phpwiki/index.php/Pager
Source0:	http://prdownloads.sourceforge.net/rox/%fname.tar.bz2
Requires:       rox
BuildRequires: libwnck-devel
BuildRequires: libxml2-devel
Buildroot: %_tmppath/%name-%version

%description
The pager is a panel applet that shows a miniature view of your
desktop. You can use it to bring hidden windows to the front, move
windows around or, if using multiple workspaces, see which one you're
on and change between them.

The pager will only work if your window manager supports the Extended
Window Manager Hints standard, defined at http://freedesktop.org.
Different window managers have different levels of support for this,
so if it doesn't work, it's probably a problem with the window manager
rather than with the pager.

%define _appsdir %{_libdir}/apps

%prep
%setup -q -n %fname

%build
export CFLAGS="$RPM_OPT_FLAGS"
./%oname/AppRun --compile

%install
rm -rf %buildroot
mkdir -p $RPM_BUILD_ROOT%{_appsdir}
cp -a %oname $RPM_BUILD_ROOT%{_appsdir}/%{oname}
rm -rf %buildroot%_appsdir/%oname/./src


%files
%defattr(-,root,root)
%doc %{_appsdir}/%oname/Help
%dir %{_appsdir}/%oname/
%{_appsdir}/%oname/Linux*
%{_appsdir}/%oname/App*
%{_appsdir}/%oname/Options.xml
%{_appsdir}/%oname/.DirIcon

%clean 
rm -rf %buildroot

%changelog
* Mon Jan 12 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0.0-3mdk
- fix buildrequires

* Mon Jan 12 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0.0-2mdk
- fix description, thanks to Markus Überall

* Mon Jan 12 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0.0-1mdk
- initial package