]> git.pld-linux.org Git - packages/aewm.git/blame - aewm.spec
- release 4
[packages/aewm.git] / aewm.spec
CommitLineData
50852b60 1Summary: AEWM - the ascetic window manager
4ee376f9 2Summary(pl.UTF-8): AEWM - "ascetyczny" zarządca okien
4761053f 3Name: aewm
ce783151 4Version: 1.3.1
7858e07e 5Release: 4
e67fa2aa 6License: MIT
4761053f 7Group: X11/Window Managers
fdf809a4 8Source0: http://www.red-bean.com/~decklin/aewm/%{name}-%{version}.tar.gz
ce783151 9# Source0-md5: d357a30c29540101d0545a3c9167bba0
8dda768e 10Source1: %{name}.desktop
28788eca 11Source2: %{name}-xsession.desktop
5adfd203 12Patch0: %{name}-xft.patch
da1ca5f6 13Patch1: %{name}-amd64.patch
0db912e4 14URL: http://www.red-bean.com/~decklin/aewm/
8bca5de0
JB
15BuildRequires: gtk+2-devel >= 1:2.0
16BuildRequires: motif-devel
17BuildRequires: pkgconfig
18BuildRequires: xorg-lib-libXft-devel
d6879ca8 19Conflicts: filesystem < 3.0-20
fa77039e 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
4761053f 21
d6879ca8 22%define _wmpropsdir /usr/share/gnome/wm-properties
4761053f 23
24%description
8bca5de0
JB
25aewm is a minimal window manager for X11. It doesn't support icons,
26multiple sessions, themes or so; it isn't even highly customizable.
27Its main benefits are simplicity and speed.
4761053f 28
31b95cd4
JR
29%description -l pl.UTF-8
30aewm jet minimalnym zarządcą okien dla X11. Nie potrafi obsługiwać
31ikon, wielu sesji, motywów, tła itp. Nie jest zbyt konfigurowalny.
31b95cd4 32Jego zaletą jest prostota i szybkość.
4761053f 33
34%prep
35%setup -q
5adfd203 36%patch0 -p1
133dc489 37%if "%{_lib}" == "lib64"
5adfd203 38%patch1 -p1
39%endif
4761053f 40
41%build
fe62626b 42%{__make} \
8bca5de0
JB
43 CC="%{__cc}" \
44 CFLAGS="%{rpmcflags}" \
45 XROOT=%{_prefix}
4761053f 46
4761053f 47%install
48rm -rf $RPM_BUILD_ROOT
28788eca 49install -d \
193d1932 50 $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}/X11/%{name}} \
51 $RPM_BUILD_ROOT%{_wmpropsdir} \
28788eca 52 $RPM_BUILD_ROOT%{_datadir}/xsessions
8a1b377f 53
18b32ae9
PG
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT \
56 XROOT=%{_prefix} \
57 MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
4761053f 58
c8dd7ab3 59install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
28788eca 60install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
193d1932 61install src/aewmrc.sample $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/aewmrc
62install clients/clientsrc.sample $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/clientsrc
28788eca 63
ce783151 64rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{aemenu-*,aepanel-*,aesession.*,set-gnome-pda.*,switch-desk.*}
c8dd7ab3
JB
65echo ".so aeclients.1x" > $RPM_BUILD_ROOT%{_mandir}/man1/aemenu-gtk.1x
66echo ".so aeclients.1x" > $RPM_BUILD_ROOT%{_mandir}/man1/aemenu-xaw.1x
67echo ".so aeclients.1x" > $RPM_BUILD_ROOT%{_mandir}/man1/aepanel-gtk.1x
68echo ".so aeclients.1x" > $RPM_BUILD_ROOT%{_mandir}/man1/aepanel-xaw.1x
69echo ".so aeclients.1x" > $RPM_BUILD_ROOT%{_mandir}/man1/aesession.1x
70echo ".so aeclients.1x" > $RPM_BUILD_ROOT%{_mandir}/man1/set-gnome-pda.1x
50852b60 71
4761053f 72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(644,root,root,755)
ce783151 77%doc README NEWS TODO
9b85cd7d 78%dir %{_sysconfdir}/X11/%{name}
8bca5de0 79%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/*rc
fdf809a4 80%attr(755,root,root) %{_bindir}/*
28788eca 81%{_datadir}/xsessions/%{name}.desktop
e30fab65 82%{_wmpropsdir}/*
28788eca 83%{_mandir}/man1/*
This page took 0.06428 seconds and 4 git commands to generate.