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