]> git.pld-linux.org Git - packages/fluxbox.git/blob - fluxbox.spec
- add 2 patch
[packages/fluxbox.git] / fluxbox.spec
1 Summary:        Fluxbox is a windowmanager that is based on Blackbox
2 Summary(pl):    Ma³y i szybki menad¿er okien dla X Window oparty o Blackbox
3 Name:           fluxbox
4 Version:        0.1.9
5 Release:        0.2
6 License:        GPL
7 Group:          X11/Window Managers
8 URL:            http://fluxbox.sourceforge.net/
9 Source0:        http://prdownloads.sourceforge.net/fluxbox/%{name}-%{version}.tar.bz2
10 Source1:        %{name}.desktop
11 Patch0:         http://fluxbox.sourceforge.net/download/patches/fluxbox-0.1.9-bugfix1.patch
12 Patch1:         http://fluxbox.sourceforge.net/download/patches/fluxbox-0.1.9-bugfix2.patch
13 BuildRequires:  XFree86-devel
14 Obsoletes:      blackbox
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _prefix         /usr/X11R6
18 %define         _mandir         %{_prefix}/man
19 %define         _sysconfdir     /etc/X11/%{name}
20
21 %define         _gcc_ver        %(%{__cc} -dumpversion | cut -b 1)
22 %if %{_gcc_ver} == 2
23 %define         __cxx           "%{__cc}"
24 %endif
25
26 %description
27 Fluxbox is yet another windowmanager for X. It's based on the Blackbox
28 0.61.1 code. Fluxbox looks like blackbox and handles styles, colors,
29 window placement and similar thing exactly like blackbox (100%
30 theme/style compatibility). So what's the difference between fluxbox
31 and blackbox then? The answer is: LOTS!
32 Have a look at the homepage for more info ;)
33
34 %description -l pl
35 Fluxbox jest mened¿erem okien dla X Window opartym na Blackbox 0.61.1
36 Jego zalet± jest estetyczny i szybki interfejs z wieloma pulpitami 
37 i prostym menu. Wbudowano weñ tak¿e algorytm rysowania dekoracji okien, 
38 które mog± byæ jednokolorowe, gradientowe lub trójwymiarowe. 
39
40 %prep
41 rm -rf $RPM_BUILD_ROOT
42 %setup -q
43 %patch0 -p1
44 %patch1 -p1
45
46 %build
47 aclocal
48 autoconf
49 automake -a -c
50 ./configure \
51         --enable-kde \
52         --enable-gnome \
53         --prefix=/usr/X11R6 \
54         --mandir=%{_mandir}
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT%{_datadir}/wm-properties
60
61 %{__make} install DESTDIR=$RPM_BUILD_ROOT
62
63 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/wm-properties/
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files 
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog NEWS README TODO
71 %attr(755,root,root) %{_bindir}/*
72 %dir %{_datadir}/fluxbox
73 %{_datadir}/fluxbox/*
74 %{_datadir}/wm-properties/fluxbox.desktop
75 %{_mandir}/man1/*
This page took 0.033938 seconds and 4 git commands to generate.