Blob Blame History Raw
Name:           devilspie2
Version:        0.38
Release:        2%{?dist}
Summary:        A window-matching utility

Group:          User Interface/X
License:        GPLv3+
URL:            http://www.gusnan.se/devilspie2
Source0:        http://download.savannah.gnu.org/releases/%{name}/%{name}_%{version}-src.tar.gz

BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(lua)
BuildRequires:  pkgconfig(libwnck-3.0)
BuildRequires:  gettext

%description
Devilspie2 is a window matching utility, allowing the user to perform scripted
actions on windows as they are created. For example you can script a terminal
program to always be positioned at a specific screen position, or position a
window on a specific workspace. It is based on the program Devilspie by Ross
Burton.

%prep
%setup -q
# preserve timestamps
sed -i 's/^\tinstall\s\+/\0-p /' Makefile

%build
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}

%find_lang %{name}

%files -f %{name}.lang
%{_bindir}/devilspie2
%{_mandir}/man1/devilspie2.1.gz
%doc README README.translators ChangeLog COPYING AUTHORS GPL3.txt

%changelog
* Thu Dec 18 2014 Michal Minar <miminar@redhat.com> 0.38-2
- Fix license field and ship license file.
- Using pkgconfig for build dependencies.

* Tue Nov 18 2014 Michal Minar <miminar@redhat.com> 0.38-1
- Initial release.