]> git.pld-linux.org Git - packages/9wm.git/blob - 9wm.spec
cbdd26d0aa67570de14d62fa1ce401efed0a5140
[packages/9wm.git] / 9wm.spec
1 Summary:        An X window manager resembling the Plan 9 (8-1/2) interface
2 Summary(pl.UTF-8):      Zarządca okien emulujący interfejs Plan 9 (8-1/2)
3 Name:           9wm
4 Version:        1.2
5 Release:        6
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:  xorg-cf-files
13 BuildRequires:  xorg-lib-libXext-devel
14 BuildRequires:  xorg-util-imake
15 Conflicts:      filesystem < 3.0-20
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _wmpropsdir     /usr/share/gnome/wm-properties
19 %define         _xsessdir       /usr/share/xsessions
20
21 %description
22 9wm emulates the Plan 9 window manager 8-1/2. 9wm is designed to be
23 small and fast. The interface is easy to use, icon-less and
24 click-to-type.
25
26 %description -l pl.UTF-8
27 9wm emuluje zarządcę okien 8-1/2 z Plan 9. 9wm został zaprojektowany
28 tak, aby był mały i szybki. Interfejs jest łatwy w użyciu i pozbawiony
29 ikon.
30
31 %prep
32 %setup -q -c -T
33 zcat %{SOURCE0} | sh
34
35 %build
36 xmkmf -a
37 %{__make} \
38         CC="%{__cc}" \
39         CDEBUGFLAGS="%{rpmcflags}"
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_wmpropsdir},%{_xsessdir}}
44 install -d $RPM_BUILD_ROOT%{_bindir}
45 install -d $RPM_BUILD_ROOT%{_mandir}/man1
46
47 install 9wm $RPM_BUILD_ROOT%{_bindir}
48 install 9wm.man $RPM_BUILD_ROOT%{_mandir}/man1/9wm.1x
49
50 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
51 install %{SOURCE2} $RPM_BUILD_ROOT%{_xsessdir}/%{name}.desktop
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc README
59 %attr(755,root,root) %{_bindir}/9wm
60 %{_mandir}/man1/9wm.1x*
61 %{_wmpropsdir}/%{name}.desktop
62 %{_xsessdir}/%{name}.desktop
This page took 0.043509 seconds and 2 git commands to generate.