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