]> git.pld-linux.org Git - SPECS.git/blob - devilspie2.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / devilspie2.spec
1 Summary:        Devilspie2 - perform scripted actions on windows as they are created
2 Name:           devilspie2
3 Version:        0.43
4 Release:        1
5 License:        GPL v3
6 Group:          Applications
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)
16
17 %description
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.
21
22 %prep
23 %setup -q
24
25 sed -i -e's,/usr/share/doc/devilspie2,%{_docdir}/%{name}-%{version},' devilspie2.1
26
27 %build
28 %{__make} \
29         PREFIX="%{_prefix}" \
30         CC="%{__cc}" \
31         CFLAGS="%{rpmcflags}" \
32         LDFLAGS="%{rpmldflags}"
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 %{__make} install \
38         PREFIX="%{_prefix}" \
39         DESTDIR=$RPM_BUILD_ROOT
40
41 %find_lang %{name}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
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*
This page took 0.915999 seconds and 3 git commands to generate.