]> git.pld-linux.org Git - SPECS.git/blob - olvwm.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / olvwm.spec
1 #
2 # TODO:
3 # - add desktop file.
4 #
5 #
6 # Conditional build:
7 %bcond_with     gnome2          # build with support for GNOME2 wm-properties
8 #
9 Summary:        OpenLook Virtual Window Manager
10 Summary(pl.UTF-8):      OpenLook Virtual Window Manager - Wirtualny Zarządca Okien
11 Name:           olvwm
12 Version:        4.2n
13 Release:        6
14 License:        BSD-like (see LEGAL_NOTICE)
15 Group:          X11/Window Managers
16 Source0:        http://www.phys.columbia.edu/~flame/files/%{name}.%{version}.src.tar.gz
17 # Source0-md5:  21aeb96b94d7cce8ce3dcff13d34716a
18 Source1:        %{name}-config.examples.tar.bz2
19 # Source1-md5:  bdde57ef48ccc802b62ec510ab14aee2
20 Source2:        %{name}.desktop
21 Source3:        %{name}-xsession.desktop
22 Patch0:         %{name}-pld.patch
23 URL:            http://www.phys.columbia.edu/~flame/olvwm.html
24 BuildRequires:  XFree86-devel
25 BuildRequires:  bison
26 BuildRequires:  flex
27 BuildRequires:  imake
28 BuildRequires:  xview
29 BuildRequires:  xview-devel
30 Conflicts:      filesystem < 3.0-20
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         _wmpropsdir     /usr/share/gnome/wm-properties
34
35 %description
36 Olvwm (OPEN LOOK virtual window manager) is an ICCCM compliant window
37 manager supplied for use with the XView toolkit. It is derived from
38 olwm, the OPEN LOOK window manager supplied with the XView release.
39 This version of olvwm is based on version 3 of the XView release.
40
41 OpenLook was also look and feel style used on older Sun workstation,
42 before Sun discontinued it and started using CDE. Even as new window
43 managers emerged some - especially Unix veterans - stick to the olvwm
44 as it reminds them of good, old days when they were young hackers...
45
46 %description -l pl.UTF-8
47 Olvwm (OPEN LOOK virtual window manager) jest zgodnym z ICCCM zarządcą
48 okien przeznaczonym do toolkitu XView. Wywodzi się z olwm (OPEN LOOK
49 window manager) dostarczanego wraz z XView. Ta wersja olvwm bazuje na
50 wersji 3 XView.
51
52 OpenLook był stylem używanym na starszych stacjach Suna, zanim Sun
53 wycofał się z niego i zaczął używać CDE. Nawet, gdy pojawiły się nowe,
54 niektórzy -- zwłaszcza uniksowi weterani -- chętnie pozostają przy olvwm
55 przypominającym im stare, dobre czasy, kiedy byli młodymi hackerami...
56
57 %prep
58 %setup -q -n %{name}.%{version} -a 1
59 %patch0 -p1
60
61 %build
62 xmkmf
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d \
68         $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5},%{_wmpropsdir}} \
69         $RPM_BUILD_ROOT%{_datadir}/xsessions
70
71 install olvwm $RPM_BUILD_ROOT%{_bindir}
72 install olwm.man $RPM_BUILD_ROOT%{_mandir}/man1/olwm.1
73 install olvwm.man $RPM_BUILD_ROOT%{_mandir}/man1/olvwm.1
74 install olvwmrc.man $RPM_BUILD_ROOT%{_mandir}/man5/olvwmrc.5
75
76 %{?with_gnome2:install %{SOURCE2} $RPM_BUILD_ROOT%{_wmpropsdir}}
77 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files
83 %defattr(644,root,root,755)
84 %doc README LEGAL_NOTICE NEW_CHANGES CHANGES olvwm.info
85 %doc %dir config.examples
86 %attr(755,root,root) %{_bindir}/olvwm
87 %{_datadir}/xsessions/%{name}.desktop
88 %{?with_gnome2:%{_wmpropsdir}/%{name}.desktop}
89 %{_mandir}/man[15]/*
This page took 0.169793 seconds and 3 git commands to generate.