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