File spotlighter.spec of Package spotlighter

# vim: set sw=4 ts=4 et nu:

Name:               spotlighter
Version:            0.1
Release:            0
Summary:            Movable and resizable spotlight on the desktop
# http://ardesia.googlecode.com/files/spotlighter-%{version}.tar.gz
Source:             spotlighter-%{version}.tar.bz2
Patch1:             spotlighter-fix_desktop_file.patch
URL:                http://code.google.com/p/ardesia/
Group:              System/X11/Utilities
License:            GNU General Public License version 3 (GPL v3)
BuildRoot:          %{_tmppath}/build-%{name}-%{version}
BuildRequires:      gtk2-devel
BuildRequires:      gcc make glibc-devel pkgconfig
BuildRequires:      autoconf automake libtool intltool
BuildRequires:      update-desktop-files

%description
Spotlighter is a tool that show a movable and resizable spotlight on the
desktop screen.

You can use this to hide and show objects on the desktop.

%prep
%setup -q
%patch1

%build
%configure
%__make %{?_smp_flags}

%install
%makeinstall

%suse_update_desktop_file -r "%{name}" Office Presentation

%find_lang "%{name}" || echo -n > "%{name}.lang"

%clean
%{?buildroot:%__rm -rf "%{buildroot}"}

%files -f "%{name}.lang"
%defattr(-,root,root)
%doc COPYING README
%{_bindir}/spotlighter
%{_datadir}/spotlighter
%{_datadir}/applications/spotlighter.desktop
%{_datadir}/pixmaps/spotlighter.png
openSUSE Build Service is sponsored by