File curtain.spec of Package curtain

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

Name:               curtain
Version:            0.1
Release:            0
Summary:            Curtain on the desktop screen
# http://ardesia.googlecode.com/files/curtain-%{version}.tar.gz
Source:             curtain-%{version}.tar.bz2
Patch1:             curtain-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
Curtain is a tool that show a movable and resizable curtain 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 ChangeLog README
%{_bindir}/curtain
%{_datadir}/curtain
%{_datadir}/applications/curtain.desktop
%{_datadir}/pixmaps/curtain.png

openSUSE Build Service is sponsored by