]> git.pld-linux.org Git - packages/blackbox.git/blob - blackbox.spec
- updated lang() for bokmaal (s/no/nb/)
[packages/blackbox.git] / blackbox.spec
1 #
2 # Conditional build:
3 # _with_epistrophy      - enables using epistorophy key grabber
4 #
5 Summary:        Very small and fast window manger for the X Window
6 Summary(pl):    Ma³y i szybki zarz±dca okien dla X Window
7 Name:           blackbox
8 Version:        0.65.0
9 Release:        2
10 License:        BSD-like
11 Group:          X11/Window Managers
12 Vendor:         Brad Hughes <blackbox@alug.org>
13 Source0:        http://dl.sourceforge.net/blackboxwm/%{name}-%{version}.tar.gz
14 # Source0-md5:  08560fa287c68d65fbe894696d04deaf
15 Source1:        %{name}.desktop
16 Source3:        %{name}.1
17 Source4:        bsetroot.1
18 Source5:        %{name}-README.PLD
19 Source6:        %{name}-xsession.desktop
20 Patch0:         %{name}-am_fixes.patch
21 Patch1:         %{name}-pipe.patch
22 Patch3:         %{name}-epistrophy.patch
23 Patch4:         %{name}-etc_dir.patch
24 Patch5:         %{name}-nls-codesets.patch
25 Patch6:         %{name}-assert.patch
26 URL:            http://blackboxwm.sourceforge.net/
27 BuildRequires:  XFree86-devel
28 BuildRequires:  autoconf
29 BuildRequires:  automake
30 BuildRequires:  rpm >= 4.0.2-48
31 %{?_with_epistrophy:Requires:   epistrophy}
32 Obsoletes:      fluxbox
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %define         _sysconfdir     /etc/X11/%{name}
36 %define         _wmpropsdir     /usr/share/wm-properties
37
38 %define         _gcc_ver        %(%{__cc} -dumpversion | cut -b 1)
39 %if %{_gcc_ver} == 2
40 %define         __cxx           "%{__cc}"
41 %endif
42
43 %description
44 Blackbox is a window manager for the X Window environment, which is
45 almost completely compliant with ICCCM specified operation policies.
46 It features nice and fast interface with multiple workspaces and
47 simple menus. Fast built-in graphics code that can render solids,
48 gradients and bevels is used to draw window decorations. Remaining
49 small in size, blackbox preserves memory and CPU.
50
51 %description -l pl
52 Blackbox jest zarz±dc± okien dla X Window spe³niaj±cym prawie
53 wszystkie zalecenia ICCM. Jego zalet± jest estetyczny i szybki
54 interfejs z wieloma pulpitami i prostym menu. Wbudowano weñ tak¿e
55 algorytm rysowania dekoracji okien, które mog± byæ jednokolorowe,
56 gradientowe lub trójwymiarowe. Blackbox oszczêdza pamiêæ i czas CPU.
57
58 %prep
59 %setup -q
60 %patch0 -p1
61 %patch1 -p1
62 %{?_with_epistrophy:%patch3 -p1}
63 %patch4 -p1
64 %patch5 -p1
65 %patch6 -p1
66
67 %build
68 rm -f missing
69 %{__aclocal}
70 %{__autoconf}
71 %{__automake}
72 %configure
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 install -d \
78         $RPM_BUILD_ROOT{%{_wmpropsdir},%{_mandir}/pl/man1,%{_sysconfdir}} \
79         $RPM_BUILD_ROOT%{_datadir}/xsessions
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT
83
84 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
85 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1
86 install %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/pl/man1
87 cp %{SOURCE5} README.PLD
88 install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %files
94 %defattr(644,root,root,755)
95 %doc AUTHORS README* ChangeLog LICENSE TODO
96 %attr(755,root,root) %{_bindir}/*
97 %dir %{_sysconfdir}
98 %dir %{_datadir}/blackbox
99 %{_datadir}/blackbox/styles
100 %dir %{_datadir}/blackbox/nls
101 %{_datadir}/blackbox/nls/C
102 %{_datadir}/blackbox/nls/POSIX
103 %{_datadir}/blackbox/nls/US_ASCII
104 %{_datadir}/blackbox/nls/en*
105 %lang(da) %{_datadir}/blackbox/nls/da*
106 %lang(de) %{_datadir}/blackbox/nls/de*
107 %lang(es) %{_datadir}/blackbox/nls/es
108 %lang(es_AR) %{_datadir}/blackbox/nls/es_AR
109 %lang(es) %{_datadir}/blackbox/nls/es_ES
110 %lang(es) %{_datadir}/blackbox/nls/es_MX
111 %lang(fr) %{_datadir}/blackbox/nls/fr*
112 %lang(hu) %{_datadir}/blackbox/nls/hu*
113 %lang(it) %{_datadir}/blackbox/nls/it*
114 %lang(ja) %{_datadir}/blackbox/nls/ja*
115 %lang(ko) %{_datadir}/blackbox/nls/ko*
116 %lang(lv) %{_datadir}/blackbox/nls/lv*
117 %lang(nl) %{_datadir}/blackbox/nls/nl*
118 %lang(nb) %{_datadir}/blackbox/nls/no*
119 %lang(pl) %{_datadir}/blackbox/nls/pl*
120 %lang(pt_BR) %{_datadir}/blackbox/nls/pt_BR
121 %lang(ro) %{_datadir}/blackbox/nls/ro*
122 %lang(ru) %{_datadir}/blackbox/nls/ru*
123 %lang(sk) %{_datadir}/blackbox/nls/sk*
124 %lang(sl) %{_datadir}/blackbox/nls/sl*
125 %lang(sv) %{_datadir}/blackbox/nls/sv*
126 %lang(uk) %{_datadir}/blackbox/nls/uk*
127 %lang(zh_CN) %{_datadir}/blackbox/nls/zh_CN
128 %lang(zh_TW) %{_datadir}/blackbox/nls/zh_TW
129 %{_datadir}/xsessions/%{name}.desktop
130 %{_wmpropsdir}/blackbox.desktop
131 %{_mandir}/man1/*
132 %lang(pl) %{_mandir}/pl/man1/*
133 %{_sysconfdir}/menu
This page took 0.255857 seconds and 3 git commands to generate.