Blob Blame History Raw
Name:           devilspie
Version:        0.20.2
Release:        5%{?dist}
Summary:        A window-matching utility

Group:          User Interface/X
License:        GPLv2+
URL:            http://www.burtonini.com/blog/computers/devilspie
Source0:        http://www.burtonini.com/computing/%{name}-%{version}.tar.gz
Patch1:         devilspie-0.20.2-manpage.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  libwnck-devel
BuildRequires:  libpng-devel
BuildRequires:  libxml2-devel
BuildRequires:  gettext
BuildRequires:  perl(XML::Parser)

%description
A window-matching utility, inspired by Sawfish's "Matched Windows" option and
the lack such functionality in Metacity. Devil's Pie can be configured to
detect windows as they are created, and match the window to a set of rules. If
the window matches the rules, it can perform a series of actions on that
window. 

%prep
%setup -q

%patch1 -p1 -b .manpage

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root,-)
%doc ChangeLog README AUTHORS NEWS COPYING TODO
%{_bindir}/devilspie
%{_mandir}/man1/devilspie.1.gz

%changelog
* Mon Sep 17 2007 Sebastian Vahl <fedora@deadbabylon.de> 0.20.2-5
- Fix some minor issue in manpage (#293731)

* Tue Aug 28 2007 Sebastian Vahl <fedora@deadbabylon.de> 0.20.2-4
- Change License to GPLv2+

* Tue Jun 06 2007 Sebastian Vahl <fedora@deadbabylon.de> 0.20.2-3
- rebuild against new libwnck (again)

* Tue Jun 05 2007 Sebastian Vahl <fedora@deadbabylon.de> 0.20.2-2
- rebuild against new libwnck

* Mon Jan 29 2007 Sebastian Vahl <fedora@deadbabylon.de> 0.20.2-1
- New upstream version: 0.20.2

* Fri Jan 19 2007 Sebastian Vahl <fedora@deadbabylon.de> 0.20.1-1
- New upstream version: 0.20.1

* Sat Dec 02 2006 Sebastian Vahl <fedora@deadbabylon.de> 0.19-2
- Removed gob2 from BR (not needed any more)
- Replaced perl-XML-Parser with perl(XML::Parser) in BR

* Fri Dec 01 2006 Sebastian Vahl <fedora@deadbabylon.de> 0.19-1
- New upstream version: 0.19

* Wed Oct 25 2006 Sebastian Vahl <fedora@deadbabylon.de> 0.18-1
- New upstream version: 0.18

* Wed Aug 23 2006 Sebastian Vahl <fedora@deadbabylon.de> 0.17.1-2
- removed redundant dependencies: atk-devel gtk2-devel pango-devel
- shorten summary and description
- fixed rpmlint in spec error: mixed-use-of-spaces-and-tabs

* Wed Mar 08 2006 Sebastian Vahl <fedora@deadbabylon.de> 0.17.1-1
- New upstream version: 0.17.1

* Mon Jan 09 2006 Sebastian Vahl <fedora@deadbabylon.de> 0.16-1
- New upstream version: 0.16

* Mon Jul 18 2005 Menno Smits <menno@freshfoo.com> 0.10-1
- initial package for Fedora Extras