]> git.pld-linux.org Git - packages/icewm.git/blob - icewm.spec
- added german description
[packages/icewm.git] / icewm.spec
1 #
2 # Conditional build:
3 %bcond_without  gradients       # enable gradients (implies with_antialiasing)
4 %bcond_without  antialiasing    # disable antialiasing
5 %bcond_without  freetype        # disable xfreetype support (implies !with_antialiasing)
6 %bcond_without  guievents       # disable guievents
7 %bcond_without  imlib           # disable imlib support
8 #
9 # TODO:
10 # - make a PLD-theme - default :]
11 #
12
13 Summary:        IceWM X11 Window Manager
14 Summary(es):    Administrador de Ventanas X11
15 Summary(pl):    IceWM - zarz±dca okienek X11
16 Summary(pt_BR): Gerenciador de Janelas X11
17 Summary(ru):    ïËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
18 Summary(uk):    ÷¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
19 Summary(de):    Enlightenment ist ein Window Manager für X
20 Name:           icewm
21 Version:        1.2.20
22 #%define _pre pre1
23 Release:        0.1
24 Epoch:          2
25 License:        LGPL
26 Group:          X11/Window Managers
27 #Source0:       http://dl.sourceforge.net/icewm/%{name}-%{version}%{_pre}.tar.gz
28 Source0:        http://dl.sourceforge.net/icewm/%{name}-%{version}.tar.gz
29 # Source0-md5:  6c94dae56fbf9aa085a1d780538018c1
30 Source1:        IceWM.desktop
31 Source3:        http://dl.sourceforge.net/icewm/iceicons-0.6.tar.gz
32 # Source3-md5:  53ed111a3c4d1e609bd1604ddccd4701
33 Source4:        IceWM.RunWM
34 Source6:        http://dl.sourceforge.net/icewm/netscapeicons-0.2.tar.gz
35 # Source6-md5:  409aa9b02adc11309ed546c5120c01d2
36 Source7:        %{name}-xsession.desktop
37 Patch0:         %{name}-broken-xrandr.patch
38 Patch1:         %{name}-home_etc.patch
39 Patch2:         %{name}-helpbrowser.patch
40 URL:            http://www.icewm.org/
41 BuildRequires:  XFree86-devel
42 BuildRequires:  autoconf >= 2.50
43 BuildRequires:  automake
44 %{?with_guievents:BuildRequires:        esound-devel}
45 BuildRequires:  gettext-devel
46 %{?with_imlib:BuildRequires:    imlib-devel}
47 BuildRequires:  libstdc++-devel
48 %{?with_freetype:BuildRequires: xft-devel >= 2.1}
49 BuildRequires:  yiff-devel
50 Requires(pre):  fileutils
51 Requires(pre):  sh-utils
52 Requires:       vfmg
53 Requires:       xinitrc-ng
54 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55
56 %define         _wmstyledir     /etc/sysconfig/wmstyle
57 %define         _wmpropsdir     /usr/share/wm-properties
58 %define         specflags_ia32   -fomit-frame-pointer
59
60 %description
61 Window Manager for X Window System. Can emulate the look of
62 Windows'95, OS/2 Warp 3,4, Motif. Tries to take the best features of
63 the above systems. Features multiple workspaces, opaque move/resize,
64 task bar, window list, mailbox status, digital clock. Fast and small.
65
66 %description -l es
67 Administrador de Ventanas para el X Window. Puede emular la apariencia
68 del Windows'95, OS/2 Warp 3 y 4 y el Motif. Intenta usar las mejores
69 características de los sistemas citados. Características: varios
70 ambientes de trabajo, movimiento/ redimensionamiento opaco, barra de
71 tareas, lista de ventanas, estado de la caja de entrada del correo y
72 reloj digital. Rápido y pequeño.
73
74 %description -l pl
75 Zarz±dca okienek pod X11. Mo¿e emulowaæ wygl±d Windows'95, OS/2 Warp
76 3, 4, MWM. Zarz±dca ten próbuje przej±æ z powy¿szych ¶rodowisk ich
77 najlepsze cechy, takie jak: wiele jednocze¶nie obecnych przestrzeni
78 roboczych, paski narzêdziowe, status skrzynki z poczt±, cyfrowy zegar.
79 Jest przy tym ma³y i szybki.
80
81 %description -l pt_BR
82 Gerenciador de Janelas para o X Window. Pode emular a aparência do
83 Windows'95, OS/2 Warp 3 e 4 e o Motif. Tenta usar as melhores
84 características dos sistemas citados. Características: vários
85 ambientes de trabalho, movimentação/ redimensionamento opaco, barra de
86 tarefas, lista de janelas, status da caixa de entrada do correio e
87 relógio digital. É rápido e pequeno.
88
89 %description -l ru
90 ïËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X Window System. íÏÖÅÔ ÜÍÕÌÉÒÏ×ÁÔØ ×ÎÅÛÎÉÊ ×ÉÄ
91 Windows'95, OS/2 Warp 3,4, Motif. óÔÁÒÁÅÔÓÑ ×ÚÑÔØ ÌÕÞÛÅÅ ÉÚ ÕÐÏÍÑÎÕÔÙÈ
92 ÓÉÓÔÅÍ. ðÏÄÄÅÒÖÉ×ÁÅÔ ÎÅÓËÏÌØËÏ ÒÁÂÏÞÉÈ ÐÏ×ÅÒÈÎÏÓÔÅÊ, ÎÅÐÒÏÚÒÁÞÎÏÅ
93 ÐÅÒÅÍÅÝÅÎÉÅ ÏËÏÎ, ÐÏÌÏÓËÕ ÚÁÄÁÎÉÊ, ÓÐÉÓÏË ÏËÏÎ, ÓÔÁÔÕÓ ÐÏÞÔÏ×ÏÇÏ
94 ÑÝÉËÁ, ÃÉÆÒÏ×ÙÅ ÞÁÓÙ. âÙÓÔÒÙÊ É ËÏÍÐÁËÔÎÙÊ.
95
96 %description -l uk
97 ÷¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X Window System. íÏÖÅ ÅÍÕÌÀ×ÁÔÉ ÚÏ×ΦÛΦʠ×ÉÇÌÑÄ
98 Windows'95, OS/2 Warp 3,4, Motif. îÁÍÁÇÁ¤ÔØÓÑ ×ÚÑÔÉ ÎÁÊËÒÁÝÅ ¦Ú
99 ÚÇÁÄÁÎÉÈ ÓÉÓÔÅÍ. ð¦ÄÔÒÉÍÕ¤ Ë¦ÌØËÁ ÒÏÂÏÞÉÈ ÐÌÏÝÉÎ, ÎÅÐÒÏÚÏÒÅ
100 ÐÅÒÅͦÝÅÎÎѠצËÏÎ, ÓÍÕÖËÕ ÚÁ×ÄÁÎØ, ÓÐÉÓÏˠצËÏÎ, ÓÔÁΠÐÏÛÔÏ×ϧ
101 ÓËÒÉÎØËÉ, ÃÉÆÒÏ×ÉÊ ÇÏÄÉÎÎÉË. û×ÉÄËÉÊ ÔÁ ËÏÍÐÁËÔÎÉÊ.
102
103 %description -l de
104 IceWM ist ein in C++ programmierter, unter GPL stehender
105 Fenstermanager für das X11-Fenstersystem. Ziel von IceWM ist
106 Geschwindigkeit, Schlichtheit und Bedienerfreundlichkeit.
107
108 In der Standardeinstellung erinnert das Design von IceWM stark an
109 Microsoft Windows: Er verfügt über eine Taskleiste am unteren
110 Bildrand, das aktive Fenster lässt sich mit der Tastenkombination
111 ALT-TAB wechseln, etc.
112
113 %package themes-base
114 Summary:        Pack of themes for IceWM
115 Summary(pl):    Zestaw motywów dla IceWM-a
116 Group:          Themes
117 Requires:       icewm
118
119 %description themes-base
120 Standard pack of themes delivered with IceWM. All of them made by
121 Marko Macek: gtk2, metal2, motif, nice, nice2, warp3, warp4, win95.
122
123 %description themes-base -l pl
124 Standardowy zestaw motywów dla IceWM-a, dostarczany wraz z nim.
125 Wszystkie stworzone przez Marko Macka: gtk2, metal2, motif, nice,
126 nice2, warp3, warp4, win95.
127
128 %prep
129 #setup -q -n %{name}-%{version}%{_pre}
130 %setup -q
131 %patch0 -p1
132 %patch1 -p1
133 #patch2 -p1
134
135 mv -f po/{no,nb}.po
136 mv -f po/{zh_TW.Big5,zh_TW}.po
137
138 cd lib/icons
139 tar -xzf %{SOURCE3}
140 tar -xzf %{SOURCE6}
141
142 %build
143 cp -f /usr/share/automake/config.sub .
144 %{__aclocal}
145 %{__autoconf}
146 %{__autoheader}
147 %configure \
148         %{?with_gradients:--enable-gradients} \
149         %{?with_antialiasing:--enable-antialiasing} \
150         %{!?with_freetype:--disable-xfreetype --enable-corefonts} \
151         %{?with_guievents:--enable-guievents} \
152         %{!?with_imlib:--without-imlib} \
153         --disable-menus-gnome \
154         --enable-shaped-decorations \
155         --with-cfgdir=%{_sysconfdir}/X11/%{name} \
156         --with-docdir=%{_docdir}
157 %{__make}
158
159 %install
160 rm -rf $RPM_BUILD_ROOT
161 install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir},%{_wmstyledir}} \
162         $RPM_BUILD_ROOT{%{_wmpropsdir},%{_sysconfdir}/X11/%{name}}
163
164 %{__make} install \
165         DESTDIR=$RPM_BUILD_ROOT
166
167 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
168 install %{SOURCE4} $RPM_BUILD_ROOT%{_wmstyledir}/%{name}-session.sh
169 install %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
170 install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys
171 sed 's|^# IconPath=""|IconPath="%{_datadir}/pixmaps:%{_datadir}/icons"|' < lib/preferences > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences
172 install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar
173 install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions
174 echo %{_bindir}/icewmbg > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup
175 :> $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/restart
176
177 ln -s %{_datadir}/icewm/icons $RPM_BUILD_ROOT%{_pixmapsdir}/icewm
178
179 echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm vfmg -i -f -x -c -s icewm" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
180
181 %find_lang %{name}
182
183 %clean
184 rm -rf $RPM_BUILD_ROOT
185
186 %pre
187 test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm
188
189 %files -f %{name}.lang
190 %defattr(644,root,root,755)
191 %doc AUTHORS BUGS CHANGES PLATFORMS README* TODO icewm.lsm doc/*.html
192 %attr(755,root,root) %{_bindir}/*
193 %dir %{_sysconfdir}/X11/%{name}
194 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/[!rs]*
195 %config(noreplace,missingok) %verify(not %attr(755,root,root md5 mtime) size) %{_sysconfdir}/X11/%{name}/[rs]*
196 %{_pixmapsdir}/icewm
197 %dir %{_datadir}/icewm
198 %{_datadir}/icewm/icons
199 %{_datadir}/icewm/ledclock
200 %{_datadir}/icewm/mailbox
201 %{_datadir}/icewm/taskbar
202 %dir %{_datadir}/icewm/themes
203 %{_datadir}/icewm/themes/Infadel2
204 %{_datadir}/icewm/themes/icedesert
205 %{_datadir}/xsessions/%{name}.desktop
206 %{_wmpropsdir}/*
207 %attr(755,root,root) %{_wmstyledir}/%{name}-session.sh
208
209 %files themes-base
210 %defattr(644,root,root,755)
211 %{_datadir}/icewm/themes/gtk2
212 %{_datadir}/icewm/themes/metal2
213 %{_datadir}/icewm/themes/motif
214 %{_datadir}/icewm/themes/nice
215 %{_datadir}/icewm/themes/nice2
216 %{_datadir}/icewm/themes/warp3
217 %{_datadir}/icewm/themes/warp4
218 %{_datadir}/icewm/themes/win95
219 %{_datadir}/icewm/themes/yellowmotif
This page took 0.104516 seconds and 3 git commands to generate.