1 Summary: Devilspie2 - perform scripted actions on windows as they are created
7 Source0: http://download.savannah.nongnu.org/releases/devilspie2/%{name}_%{version}-src.tar.gz
8 # Source0-md5: 26eed0b5b4af5c7e13c551eceaeab832
9 URL: http://www.nongnu.org/devilspie2/
10 BuildRequires: glib2-devel
11 BuildRequires: gtk+3-devel
12 BuildRequires: libwnck-devel
13 BuildRequires: lua51-devel
14 BuildRequires: pkgconfig
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Devilspie2 is a program that detects windows as they are created, and
19 performs scripted actions on them. The scripts are written in Lua,
20 allowing a great deal of customisation.
25 sed -i -e's,/usr/share/doc/devilspie2,%{_docdir}/%{name}-%{version},' devilspie2.1
31 CFLAGS="%{rpmcflags}" \
32 LDFLAGS="%{rpmldflags}"
35 rm -rf $RPM_BUILD_ROOT
39 DESTDIR=$RPM_BUILD_ROOT
44 rm -rf $RPM_BUILD_ROOT
46 %files -f %{name}.lang
47 %defattr(644,root,root,755)
48 %doc AUTHORS ChangeLog README* TODO
49 %attr(755,root,root) %{_bindir}/devilspie2
50 %{_mandir}/man1/devilspie2.1*