]> git.pld-linux.org Git - packages/icewm.git/blob - icewm.spec
- 1.2.13
[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
14 Summary:        IceWM X11 Window Manager
15 Summary(es):    Administrador de Ventanas X11
16 Summary(pl):    IceWM - zarz±dca okienek X11
17 Summary(pt_BR): Gerenciador de Janelas X11
18 Summary(ru):    ïËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
19 Summary(uk):    ÷¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X11
20 Name:           icewm
21 Version:        1.2.13
22 Release:        1
23 Epoch:          2
24 License:        LGPL
25 Group:          X11/Window Managers
26 Source0:        http://dl.sourceforge.net/icewm/%{name}-%{version}.tar.gz
27 # Source0-md5:  d189afcf15f2386a0a0397c376e297c6
28 Source1:        IceWM.desktop
29 Source2:        %{name}.directory
30 Source3:        http://dl.sourceforge.net/icewm/iceicons-0.6.tar.gz
31 # Source3-md5:  53ed111a3c4d1e609bd1604ddccd4701
32 Source4:        IceWM.RunWM
33 Source5:        IceWM.wm_style
34 Source6:        http://dl.sourceforge.net/icewm/netscapeicons-0.2.tar.gz
35 # Source6-md5:  409aa9b02adc11309ed546c5120c01d2
36 Source7:        %{name}-xsession.desktop
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}
115
116 cd lib/icons
117 tar -xzf %{SOURCE3}
118 tar -xzf %{SOURCE6}
119
120 %build
121 rm -f missing
122 %{__aclocal}
123 %{__autoconf}
124 %{__autoheader}
125 %configure \
126         %{?_with_gradients:--enable-gradients} \
127         %{!?_without_antialiasing:--enable-antialiasing} \
128         %{?_without_freetype:--disable-xfreetype} \
129         %{!?_without_guievents:--enable-guievents} \
130         %{?_with_gnome:--enable-menus-gnome} \
131         %{?_without_imlib:--without-imlib} \
132         --enable-shaped-decorations \
133         --with-cfgdir=%{_sysconfdir}/X11/%{name} \
134         --with-docdir=%{_docdir}
135 %{__make}
136
137 %install
138 rm -rf $RPM_BUILD_ROOT
139 install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir},%{_wmstyledir}} \
140         $RPM_BUILD_ROOT{%{_applnkdir}/Settings/IceWM,%{_wmpropsdir},%{_sysconfdir}/X11/%{name}}
141
142 %{__make} install \
143         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}/%{name}.sh
148 install %{SOURCE5} $RPM_BUILD_ROOT%{_wmstyledir}/%{name}.names
149 install %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
150 install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys
151 install lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences
152 install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar
153 install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions
154 echo %{_bindir}/icewmbg > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup
155 :> $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/restart
156
157 ln -s %{_datadir}/icewm/icons $RPM_BUILD_ROOT%{_pixmapsdir}/icewm
158
159 %if 0%{?_with_gnome:1}
160 echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm icewm-menu-gnome2 --list \"%{_applnkdir}\"" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
161 %else
162 echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm wmconfig --output icewm" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
163 %endif
164
165 %find_lang %{name}
166
167 %clean
168 rm -rf $RPM_BUILD_ROOT
169
170 %pre
171 test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm
172
173 %files -f %{name}.lang
174 %defattr(644,root,root,755)
175 %doc AUTHORS BUGS CHANGES PLATFORMS README* TODO icewm.lsm doc/*.html
176 %attr(755,root,root) %{_bindir}/*
177 %dir %{_sysconfdir}/X11/%{name}
178 %config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/X11/%{name}/[!rs]*
179 %config(noreplace,missingok) %verify(not md5 size mtime) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/[rs]*
180 %{_pixmapsdir}/icewm
181 %dir %{_datadir}/icewm
182 %{_datadir}/icewm/icons
183 %{_datadir}/icewm/ledclock
184 %{_datadir}/icewm/mailbox
185 %{_datadir}/icewm/taskbar
186 %dir %{_datadir}/icewm/themes
187 %{_datadir}/icewm/themes/Infadel2
188 %{_datadir}/icewm/themes/icedesert
189 %{_datadir}/xsessions/%{name}.desktop
190 %dir %{_applnkdir}/Settings/IceWM
191 %{_applnkdir}/Settings/IceWM/.directory
192 %{_wmpropsdir}/*
193 %{_wmstyledir}/%{name}.names
194 %attr(755,root,root) %{_wmstyledir}/%{name}.sh
195
196 %files themes-base
197 %defattr(644,root,root,755)
198 %{_datadir}/icewm/themes/gtk2
199 %{_datadir}/icewm/themes/metal2
200 %{_datadir}/icewm/themes/motif
201 %{_datadir}/icewm/themes/nice
202 %{_datadir}/icewm/themes/nice2
203 %{_datadir}/icewm/themes/warp3
204 %{_datadir}/icewm/themes/warp4
205 %{_datadir}/icewm/themes/win95
This page took 0.216403 seconds and 4 git commands to generate.