]> git.pld-linux.org Git - packages/9wm.git/blob - 9wm.spec
- cosmetics
[packages/9wm.git] / 9wm.spec
1 Summary:        An X window manager resembling the Plan 9 (8-1/2) interface
2 Summary(pl):    Zarz±dca okien emuluj±cy interfejs Plan 9 (8-1/2)
3 Name:           9wm
4 Version:        1.2
5 Release:        5
6 License:        distributable
7 Group:          X11/Window Managers
8 Source0:        http://www.plig.org/xwinman/archive/9wm/pre-%{name}-%{version}.shar.gz
9 # Source0-md5:  2785a33d4f42ecc19234029db03d7e00
10 Source1:        %{name}.desktop
11 Source2:        %{name}-xsession.desktop
12 BuildRequires:  XFree86-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _wmpropsdir     /usr/share/wm-properties
16 %define         _xsessdir       /usr/share/xsessions
17
18 %description
19 9wm emulates the Plan 9 window manager 8-1/2. 9wm is designed to be
20 small and fast. The interface is easy to use, icon-less and
21 click-to-type.
22
23 %description -l pl
24 9wm emuluje zarz±dcê okien 8-1/2 z Plan 9. 9wm zosta³ zaprojektowany
25 tak, aby by³ ma³y i szybki. Interfejs jest ³atwy w u¿yciu i pozbawiony
26 ikon.
27
28 %prep
29 %setup -q -c -T
30 zcat %{SOURCE0} | sh
31
32 %build
33 xmkmf -a
34 %{__make} \
35         CDEBUGFLAGS="%{rpmcflags}"
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 install -d $RPM_BUILD_ROOT{%{_wmpropsdir},%{_xsessdir}}
41 install -d $RPM_BUILD_ROOT%{_bindir}
42 install -d $RPM_BUILD_ROOT%{_mandir}/man1/
43
44 install 9wm $RPM_BUILD_ROOT%{_bindir}
45 install 9wm.man $RPM_BUILD_ROOT%{_mandir}/man1/9wm.1x
46
47 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
48 install %{SOURCE2} $RPM_BUILD_ROOT%{_xsessdir}/%{name}.desktop
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc README
56 %attr(755,root,root) %{_bindir}/9wm
57 %{_mandir}/*/*
58 %{_wmpropsdir}/*
59 %{_xsessdir}/%{name}.desktop
This page took 0.04938 seconds and 3 git commands to generate.