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