]> git.pld-linux.org Git - packages/xorg-app-twm.git/blame - xorg-app-twm.spec
- updated to 1.0.9
[packages/xorg-app-twm.git] / xorg-app-twm.spec
CommitLineData
29913120
JR
1#
2# Conditional build:
4b4eccb6 3%bcond_with gnome2 # build with support for GNOME2 wm-properties
b934ca3b 4
06984a05 5Summary: Tab Window Manager for the X Window System
c779cdf4
ER
6Summary(pl.UTF-8): Twm - podstawowy zarządca okien dla X Window System
7Summary(ru.UTF-8): Простой оконный менеджер
8Summary(uk.UTF-8): Простий віконний менеджер
91237557 9Name: xorg-app-twm
368e49ec
JB
10Version: 1.0.9
11Release: 1
91237557 12License: MIT
06984a05 13Group: X11/Window Managers
9889262c 14Source0: http://xorg.freedesktop.org/releases/individual/app/twm-%{version}.tar.bz2
368e49ec 15# Source0-md5: 59a6f076cdacb5f6945dac809bcf4906
42874de4
JB
16Source1: twm.desktop
17Source2: twm-xsession.desktop
91237557 18URL: http://xorg.freedesktop.org/
7f4e7b2f 19BuildRequires: autoconf >= 2.60
91237557 20BuildRequires: automake
87fa17ad 21BuildRequires: bison
22BuildRequires: flex
836ca984 23BuildRequires: pkgconfig >= 1:0.19
368e49ec
JB
24BuildRequires: xorg-lib-libICE-devel
25BuildRequires: xorg-lib-libSM-devel
26BuildRequires: xorg-lib-libX11-devel
27BuildRequires: xorg-lib-libXext-devel
91237557 28BuildRequires: xorg-lib-libXmu-devel
368e49ec 29BuildRequires: xorg-lib-libXt-devel
7ac4ab35 30BuildRequires: xorg-proto-xproto-devel >= 7.0.17
7f4e7b2f 31BuildRequires: xorg-util-util-macros >= 1.8
b934ca3b 32Suggests: xterm
735a34db
AM
33Obsoletes: X11-twm < 1:7.0.0
34Obsoletes: XFree86-twm < 1:7.0.0
35Obsoletes: twm < 1:7.0.0
0b57c627 36Conflicts: filesystem < 3.0-20
bca6aa94 37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
91237557 38
0b57c627 39%define _wmpropsdir /usr/share/gnome/wm-properties
42874de4 40%define _xsessdir /usr/share/xsessions
0f174ca7
JB
41# for system.twmrc
42%define _datadir %{_sysconfdir}
42874de4 43
91237557 44%description
06984a05
JB
45Twm is a window manager for the X Window System. It provides
46titlebars, shaped windows, several forms of icon management,
47user-defined macro functions, click-to-type and pointerdriven keyboard
48focus, and user-specified key and pointer button bindings.
91237557 49
2c8bdd38
JR
50%description -l pl.UTF-8
51Twm jest zarządcą okien dla X Window System. Daje belki tytułowe,
52ramki okien, parę form zarządzania ikonami, definiowalne makra,
53ustawianie focusu kliknięciem lub położeniem wskaźnika myszy,
54definiowalne przypisania klawiszy i przycisków myszy.
06984a05 55
2c8bdd38
JR
56%description -l ru.UTF-8
57Простой компактний оконный менеджер.
06984a05 58
2c8bdd38
JR
59%description -l uk.UTF-8
60Простий компактний віконний менеджер.
91237557 61
91237557
AM
62%prep
63%setup -q -n twm-%{version}
91237557 64
91237557
AM
65%build
66%{__aclocal}
67%{__autoconf}
68%{__autoheader}
69%{__automake}
70%configure
71
72%{__make}
73
91237557
AM
74%install
75rm -rf $RPM_BUILD_ROOT
76
77%{__make} install \
0b3ef731 78 DESTDIR=$RPM_BUILD_ROOT
91237557 79
4b4eccb6 80%{?with_gnome2:install -D %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}/twm.desktop}
42874de4
JB
81install -D %{SOURCE2} $RPM_BUILD_ROOT%{_xsessdir}/twm.desktop
82
91237557
AM
83%clean
84rm -rf $RPM_BUILD_ROOT
85
91237557
AM
86%files
87%defattr(644,root,root,755)
7f4e7b2f 88%doc COPYING ChangeLog README
26e4f9c2 89%attr(755,root,root) %{_bindir}/twm
0f174ca7
JB
90%dir %{_sysconfdir}/X11/twm
91%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/X11/twm/system.twmrc
4b4eccb6 92%{?with_gnome2:%{_wmpropsdir}/twm.desktop}
42874de4 93%{_xsessdir}/twm.desktop
16a6ba6a 94%{_mandir}/man1/twm.1*
This page took 0.099521 seconds and 4 git commands to generate.