summaryrefslogtreecommitdiff
path: root/amiwm.spec
blob: 0f59356242234942da247410dbaa6a63604447cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Summary:	X11 Window Manager - Amiga Workbench like environment
Summary(pl.UTF-8):	Zarządca okien X11 - środowisko podobne do Workbencha z Amigi
Name:		amiwm
Version:	0.20pl48
Release:	1
License:	distributable
Group:		X11/Window Managers
Source0:	ftp://ftp.lysator.liu.se/pub/X11/wm/amiwm/%{name}%{version}.tar.gz
# Source0-md5:	bfe907be9e94f6a47fec5181361176f2
Patch0:		%{name}-yywrap.patch
Patch1:		%{name}-DESTDIR.patch
Patch2:		%{name}-mandir.patch
URL:		http://www.lysator.liu.se/~marcus/amiwm.html
BuildRequires:	autoconf
BuildRequires:	bison
BuildRequires:	flex
BuildRequires:	xorg-lib-libSM-devel
BuildRequires:	xorg-lib-libXmu-devel
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
amiwm is an X window manager that tries to make your display look and
feel like an Amiga(R) Workbench(R) screen. It is fully functional and
can do all the usual window manager stuff, like moving and resizing
windows.

The purpose of amiwm is to make life more pleasant for Amiga-freaks
who has/wants to use UNIX workstations once in a while. It can also be
used on the Amiga with the AmiWin X server, although this part needs
some more work. 

%description -l pl.UTF-8
amiwm to zarządca okien X próbujący uczynić ekran wyglądającym i
zachowującym się jak ekran Amiga(R) Workbencha(R). Jest w pełni
funkcjonalny i może wykonywać wszystkie normalne czynności zarządcy
okien, takie jak przesuwanie czy zmiana rozmiaru okienek.

Celem amiwm jest uprzyjemnienie życia fanom Amigi którzy muszą lub
chcą używać czasem stacji uniksowych. Może być używany także na
Amidze z X serwerem AmiWin, choć ta część wymaga jeszcze trochę
pracy.

%prep
%setup -q -n %{name}%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
%{__autoconf}
%configure
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

install -d $RPM_BUILD_ROOT%{_datadir}/xsessions

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc README README.modules LICENSE
%attr(755,root,root) %{_bindir}/*
%dir %{_libdir}/%{name}
%attr(755,root,root) %{_libdir}/%{name}/Background
%attr(755,root,root) %{_libdir}/%{name}/def_tool.info
%attr(755,root,root) %{_libdir}/%{name}/executecmd
%attr(755,root,root) %{_libdir}/%{name}/Keyboard
%attr(755,root,root) %{_libdir}/%{name}/requestchoice
%{_libdir}/%{name}/*.map
%{_libdir}/%{name}/X*
%{_libdir}/%{name}/amiwm-init
%{_libdir}/%{name}/system.amiwmrc
%{_mandir}/man?/*