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