]> git.pld-linux.org Git - packages/aewm.git/blob - aewm.spec
- use RPM_OPT_FLAGS
[packages/aewm.git] / aewm.spec
1 Summary:        AEWM - the ascetic window manager
2 Summary(pl):    AEWM - "ascetyczny" menad¿er okien
3 Name:           aewm
4 Version:        0.9.6
5 Release:        1
6 Copyright:      Freely distributable
7 Group:          X11/Window Managers
8 Group(pl):      X11/Zarz±dcy Okien
9 Source0:        http://members.home.com/decklin/%name/%{name}-%{version}.tar.gz
10 Source1:        aewm.desktop
11 Patch0:         aewm-Makefile.patch
12 URL:            http://members.home.com/decklin/aewm/
13 BuildRequires:  gtk+-devel
14 BuildRequires:  glibc-devel
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define _prefix /usr/X11R6
18 %define _mandir /usr/X11R6/man
19
20 %description
21 aewm is a minimal window manager for X11.
22
23 %description -l pl
24 aewm jet minimalnym menad¿erem okien dla X11. Nie potrafi obs³ugiwaæ
25 ikon, wielu sesji, tematów, t³a itp. Nie jest zbyt configurowa³ny.
26
27 Jego zalet± jest prostota i szybko¶æ.
28
29 %prep
30 %setup -q
31
32 %patch0
33
34 %build
35 %{__make} CFLAGS="$RPM_OPT_FLAGS"
36 %{__make} -C goodies CFLAGS="$RPM_OPT_FLAGS"
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} \
41         $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
42
43 %{__make} install XROOT=$RPM_BUILD_ROOT%{_prefix}
44
45 (cd goodies;install -s {xaw,gtk}-{panel,palette,switch} $RPM_BUILD_ROOT/%{_bindir})
46 (cd goodies; install -s gtk-palette2 $RPM_BUILD_ROOT%{_bindir})
47
48 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
49
50 gzip -9nf README
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc README.gz
58 %attr(755,root,root) %{_bindir}/aewm
59 %attr(755,root,root) %{_bindir}/xaw-*
60 %attr(755,root,root) %{_bindir}/gtk-*
61 %{_datadir}/gnome/wm-properties/aewm.desktop
This page took 0.096432 seconds and 3 git commands to generate.