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