]> git.pld-linux.org Git - packages/wmctrl.git/blame - wmctrl.spec
- add patch for 64bit platforms (taken from gentoo)
[packages/wmctrl.git] / wmctrl.spec
CommitLineData
f9d37694 1Summary: wmctrl - a command line tool to interact with an EWMH/NetWM compatible X Window Managers
7233b862 2Summary(pl.UTF-8): wmtrl - tekstowe narzędzie do interakcji z zarządcami okien kompatybilnymi z EWMH/NetWM
e962691a 3Name: wmctrl
ff4e5a62 4Version: 1.07
0992df1a 5Release: 2
e962691a
TP
6License: GPL
7Group: X11/Applications
8Vendor: Tomas Styblo <tripie@cpan.org>
9Source0: http://sweb.cz/tripie/utils/wmctrl/dist/%{name}-%{version}.tar.gz
ff4e5a62 10# Source0-md5: 1fe3c7a2caa6071e071ba34f587e1555
0992df1a 11Patch0: %{name}-64bit.patch
f9d37694 12URL: http://sweb.cz/tripie/utils/wmctrl/
e962691a
TP
13BuildRequires: autoconf
14BuildRequires: automake
80b5d1b5 15BuildRequires: glib2-devel >= 2.0.0
8aa36cd7 16BuildRequires: libtool
0166b58d 17BuildRequires: pkgconfig
28ae1eb0 18BuildRequires: xorg-lib-libXmu-devel
e962691a
TP
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22It provides command line access to almost all the features defined in
23the EWMH specification. Using it, it's possible to, for example,
24obtain information about the window manager, get a detailed list of
25desktops and managed windows, switch and resize desktops, change
26number of desktops, make windows full-screen, always-above or sticky,
27and activate, close, move, resize, maximize and minimize them.
28
29The command line access makes it easy to automate these tasks and
30execute them from any application that is able to run a command in
31response to some event.
32
33Please note that wmctrl only works with window managers which
34implement this specification.
35
83043122
JR
36%description -l pl.UTF-8
37wmctrl dostarcza narzędzie umożliwiające dostęp do większości
38właściwości zdefiniowanych w specyfikacji EWMH. Używając go jest
39możliwe (na przykład) uzyskanie informacji o zarządcy okien,
40pobranie szczegółowej listy pulpitów i okien, przełączanie się i
41zmienianie rozmiarów pulpitów, zmienianie nazw pulpitów, powiększanie
7f06619b 42okien, ich aktywacja, zamykanie, przesuwanie i minimalizowanie.
e962691a 43
83043122
JR
44Dostęp z poziomu wiersza poleceń pozwala na łatwą automatyzację tych
45zadań i wykonywanie ich z poziomu dowolnej aplikacji, która potrafi
46uruchamiać polecenia w wyniku jakichś zdarzeń.
e962691a 47
83043122
JR
48Należy zauważyć, że wmctrl działa tylko w tych zarządcach okien, które
49stosują się do specyfikacji.
e962691a
TP
50
51%prep
52%setup -q
0992df1a 53%patch0 -p1
e962691a
TP
54
55%build
e962691a
TP
56%{__libtoolize}
57%{__aclocal}
58%{__autoconf}
59%{__automake}
60%configure
61%{__make}
62
63%install
64rm -rf $RPM_BUILD_ROOT
65
66%{__make} install \
67 DESTDIR=$RPM_BUILD_ROOT
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
74%doc AUTHORS README
75%attr(755,root,root) %{_bindir}/wmctrl
80b5d1b5 76%{_mandir}/man1/wmctrl.1*
This page took 0.078734 seconds and 4 git commands to generate.