]> git.pld-linux.org Git - packages/icewm.git/blame - icewm.spec
- up to 3.4.7
[packages/icewm.git] / icewm.spec
CommitLineData
25f07c49 1# TODO:
505d687f 2# - make a PLD-theme - default:]
c3c05e60 3#
747634b9 4# Conditional build:
efc175b0 5%bcond_without freetype # xfreetype support (implies no antialiasing)
25f07c49 6%bcond_without alsa # ALSA sound for GUI events
a5bfa87e 7%bcond_without ao # AO sound for GUI events
f1701bad 8
5450fc43 9Summary: IceWM X11 Window Manager
6497299f 10Summary(de.UTF-8): IceWM ist ein Window Manager für X
e71b1c56
ER
11Summary(es.UTF-8): Administrador de Ventanas X11
12Summary(pl.UTF-8): IceWM - zarządca okienek X11
13Summary(pt_BR.UTF-8): Gerenciador de Janelas X11
14Summary(ru.UTF-8): Оконный менеджер для X11
15Summary(uk.UTF-8): Віконний менеджер для X11
505d687f 16Name: icewm
ae4fb0ce 17Version: 3.4.7
2812f010 18Release: 1
1e98fedb 19Epoch: 2
efc175b0 20License: LGPL v2
5450fc43 21Group: X11/Window Managers
25f07c49
JB
22#Source0Download: https://github.com/ice-wm/icewm/releases
23Source0: https://github.com/ice-wm/icewm/archive/%{version}/%{name}-%{version}.tar.gz
ae4fb0ce 24# Source0-md5: 5d9d5f9225b9a98fd9409b5463f0cd64
4316a7a4
KM
25Source1: %{name}-startup.sh
26Patch0: desktop-files.patch
efc175b0 27URL: https://ice-wm.org/
25f07c49 28%{?with_alsa:BuildRequires: alsa-lib-devel}
a5bfa87e
KM
29BuildRequires: cmake
30BuildRequires: discount
25f07c49 31BuildRequires: fontconfig-devel
4316a7a4 32BuildRequires: freetype-devel
25f07c49 33BuildRequires: fribidi-devel >= 0.10.4
a5bfa87e 34BuildRequires: gettext >= 0.19.6
25f07c49 35BuildRequires: gettext-tools >= 0.19.6
4316a7a4 36BuildRequires: git-core
25f07c49 37BuildRequires: glib2-devel >= 2.0
4cf11d90 38BuildRequires: imlib2-devel
4316a7a4
KM
39%{?with_ao:BuildRequires: libao-devel}
40BuildRequires: librsvg-devel
25f07c49 41%{?with_alsa:BuildRequires: libsndfile-devel}
ad3dbd79 42BuildRequires: libstdc++-devel
25f07c49 43BuildRequires: libtool >= 2:2.4.2
6497299f 44BuildRequires: pkgconfig
4316a7a4 45BuildRequires: ruby-asciidoctor
25f07c49 46BuildRequires: sed >= 4.0
6497299f 47BuildRequires: xorg-lib-libICE-devel
48BuildRequires: xorg-lib-libSM-devel
49BuildRequires: xorg-lib-libX11-devel
4316a7a4
KM
50BuildRequires: xorg-lib-libXcomposite-devel
51BuildRequires: xorg-lib-libXdamage-devel
efc175b0 52BuildRequires: xorg-lib-libXext-devel
4316a7a4 53BuildRequires: xorg-lib-libXfixes-devel
6e664482 54%{?with_freetype:BuildRequires: xorg-lib-libXft-devel >= 2.1}
6497299f 55BuildRequires: xorg-lib-libXinerama-devel
505d687f 56BuildRequires: xorg-lib-libXpm-devel
efc175b0 57BuildRequires: xorg-lib-libXrandr-devel
a5bfa87e 58BuildRequires: xorg-lib-libXrender-devel
efc175b0
JB
59Requires(pre): /bin/rm
60Requires(pre): /usr/bin/test
6e420e6f 61Requires: shared-mime-info
6e664482 62Requires: xinitrc-ng
4316a7a4 63Requires: xorg-app-xrandr
493ede44 64Conflicts: filesystem < 3.0-20
6d982d2b 65BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ae00d23e 66
adf9ec40 67%define specflags_ia32 -fomit-frame-pointer
4b050385 68
ae00d23e 69%description
1a5be8e2 70Window Manager for X Window System. Can emulate the look of
71Windows'95, OS/2 Warp 3,4, Motif. Tries to take the best features of
72the above systems. Features multiple workspaces, opaque move/resize,
73task bar, window list, mailbox status, digital clock. Fast and small.
ae00d23e 74
4c581f51 75%description -l es.UTF-8
ddb1aa5d 76Administrador de Ventanas para el X Window. Puede emular la apariencia
77del Windows'95, OS/2 Warp 3 y 4 y el Motif. Intenta usar las mejores
4c581f51 78características de los sistemas citados. Características: varios
ddb1aa5d 79ambientes de trabajo, movimiento/ redimensionamiento opaco, barra de
80tareas, lista de ventanas, estado de la caja de entrada del correo y
4c581f51 81reloj digital. Rápido y pequeño.
ddb1aa5d 82
4c581f51
JR
83%description -l pl.UTF-8
84Zarządca okienek pod X11. Może emulować wygląd Windows'95, OS/2 Warp
853, 4, MWM. Zarządca ten próbuje przejąć z powyższych środowisk ich
86najlepsze cechy, takie jak: wiele jednocześnie obecnych przestrzeni
87roboczych, paski narzędziowe, status skrzynki z pocztą, cyfrowy zegar.
88Jest przy tym mały i szybki.
ae00d23e 89
4c581f51
JR
90%description -l pt_BR.UTF-8
91Gerenciador de Janelas para o X Window. Pode emular a aparência do
ddb1aa5d 92Windows'95, OS/2 Warp 3 e 4 e o Motif. Tenta usar as melhores
4c581f51
JR
93características dos sistemas citados. Características: vários
94ambientes de trabalho, movimentação/ redimensionamento opaco, barra de
ddb1aa5d 95tarefas, lista de janelas, status da caixa de entrada do correio e
4c581f51 96relógio digital. É rápido e pequeno.
ddb1aa5d 97
4c581f51
JR
98%description -l ru.UTF-8
99Оконный менеджер для X Window System. Может эмулировать внешний вид
100Windows'95, OS/2 Warp 3,4, Motif. Старается взять лучшее из упомянутых
101систем. Поддерживает несколько рабочих поверхностей, непрозрачное
102перемещение окон, полоску заданий, список окон, статус почтового
103ящика, цифровые часы. Быстрый и компактный.
ddb1aa5d 104
4c581f51
JR
105%description -l uk.UTF-8
106Віконний менеджер для X Window System. Може емулювати зовнішній вигляд
107Windows'95, OS/2 Warp 3,4, Motif. Намагається взяти найкраще із
108згаданих систем. Підтримує кілька робочих площин, непрозоре
109переміщення вікон, смужку завдань, список вікон, стан поштової
110скриньки, цифровий годинник. Швидкий та компактний.
ddb1aa5d 111
4c581f51 112%description -l de.UTF-8
1dc87219 113IceWM ist ein in C++ programmierter, unter GPL stehender
4c581f51 114Fenstermanager für das X11-Fenstersystem. Ziel von IceWM ist
1dc87219 115Geschwindigkeit, Schlichtheit und Bedienerfreundlichkeit.
116
117In der Standardeinstellung erinnert das Design von IceWM stark an
4c581f51
JR
118Microsoft Windows: Er verfügt über eine Taskleiste am unteren
119Bildrand, das aktive Fenster lässt sich mit der Tastenkombination
1dc87219 120ALT-TAB wechseln, etc.
121
66cf1d33 122%package themes-base
215be0a2 123Summary: Pack of themes for IceWM
e71b1c56 124Summary(pl.UTF-8): Zestaw motywów dla IceWM-a
1de8817c 125Group: Themes
545fec00 126Requires: %{name} = %{epoch}:%{version}
60590c14 127BuildArch: noarch
1de8817c 128
66cf1d33 129%description themes-base
4ce4af62
JB
130Standard pack of themes delivered with IceWM:
131- CrystalBlue by BlueScorpio
132- Helix by RudeSka and TigerT
133- NanoBlue by lion1810
134- metal2, motif, win32 by Marko Macek
135
136This package contains also old themes, no longer installed by default
137in IceWM 1.4:
138- gtk2, nice, nice2, warp3, warp4 by Marko Macek
139- yellowmotif by Andreas Leitgeb
1de8817c 140
4c581f51 141%description themes-base -l pl.UTF-8
4ce4af62
JB
142Standardowy zestaw motywów dla IceWM-a, dostarczany wraz z nim:
143- CrystalBlue autorstwa BlueScorpio
144- Helix autorstwa RudeSka i TigerT
145- NanoBlue autorstwa lion1810
146- metal2, motif, win32 autorstwa Marko Macka
147
148Pakiet zawiera także stare motywy, nie instalowane domyślnie wraz z
149IceWM-em 1.4:
150- gtk2, nice, nice2, warp3, warp4 autorstwa Marko Macka
151- yellowmotif autorstwa Andreasa Leitgeba
1de8817c 152
e3ce326c 153%prep
8210023f 154%setup -q
4316a7a4 155%patch0 -p1
88a00d08 156
ae00d23e 157%build
a5bfa87e
KM
158%cmake -B build \
159 -DCONFIG_LIBRSVG=ON \
160 -DCFGDIR=%{_sysconfdir}/X11/%{name} \
161 -DDOCDIR=%{_docdir}/%{name}-%{version} \
162 %{?with_alsa:-DENABLE_ALSA=ON} \
163 %{?with_ao:-DENABLE_AO=ON} \
4316a7a4 164 %{!?with_freetype:-DCONFIG_XFREETYPE=OFF -DCONFIG_COREFONTS=ON}
a5bfa87e
KM
165
166cd build
167%{__make}
ae00d23e 168
169%install
4d5a15a4 170rm -rf $RPM_BUILD_ROOT
a5bfa87e 171install -d $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}
0c3991fa 172
a5bfa87e 173cd build
6166ac1f
JB
174%{__make} install \
175 DESTDIR=$RPM_BUILD_ROOT
a5bfa87e 176cd ..
4316a7a4
KM
177
178cd build/man
179%{__ln} -s icewm.1.html icewm.html
180cd -
181
182%{__sed} -e 's|^# IconPath=.*|IconPath="%{_pixmapsdir}:%{_iconsdir}:"|' -i $RPM_BUILD_ROOT%{_datadir}/icewm/preferences
25f07c49
JB
183
184# packaged as %doc
a5bfa87e 185%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
25f07c49 186
4316a7a4
KM
187cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icewm/startup
188cp -p $RPM_BUILD_ROOT%{_datadir}/icewm/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys
189cp -p $RPM_BUILD_ROOT%{_datadir}/icewm/menu $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
190cp -p $RPM_BUILD_ROOT%{_datadir}/icewm/preferences $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences
191cp -p $RPM_BUILD_ROOT%{_datadir}/icewm/programs $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/programs
192cp -p $RPM_BUILD_ROOT%{_datadir}/icewm/startup $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup
193cp -p $RPM_BUILD_ROOT%{_datadir}/icewm/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar
194cp -p $RPM_BUILD_ROOT%{_datadir}/icewm/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions
87dff741 195:> $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/restart
3c3df5cc 196
4ce4af62
JB
197# old themes, no longer installed
198cp -pr lib/themes/{gtk2,nice,nice2,warp3,warp4,yellowmotif} $RPM_BUILD_ROOT%{_datadir}/icewm/themes
199
8852bbec
JR
200# duplicate locale
201%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/no
a5bfa87e
KM
202# unsupported locale
203%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie
8852bbec 204
6e364d8f 205%find_lang %{name}
cdb55b8b 206
ae00d23e 207%clean
4d5a15a4 208rm -rf $RPM_BUILD_ROOT
ae00d23e 209
cdb55b8b 210%files -f %{name}.lang
5450fc43 211%defattr(644,root,root,755)
a5bfa87e 212%doc AUTHORS BUGS CHANGES ChangeLog NEWS PLATFORMS README.md THANKS TODO build/man/*.html
efc175b0
JB
213%attr(755,root,root) %{_bindir}/icehelp
214%attr(755,root,root) %{_bindir}/icesh
efc175b0 215%attr(755,root,root) %{_bindir}/icesound
efc175b0 216%attr(755,root,root) %{_bindir}/icewm
25f07c49 217%attr(755,root,root) %{_bindir}/icewm-menu-fdo
efc175b0
JB
218%attr(755,root,root) %{_bindir}/icewm-session
219%attr(755,root,root) %{_bindir}/icewm-set-gnomewm
220%attr(755,root,root) %{_bindir}/icewmbg
221%attr(755,root,root) %{_bindir}/icewmhint
505d687f
WF
222%attr(755,root,root) %{_bindir}/icewm-menu-xrandr
223%{_mandir}/man1/icehelp.1*
224%{_mandir}/man1/icesh.1*
225%{_mandir}/man1/icesound.1*
226%{_mandir}/man1/icewm-menu-fdo.1*
227%{_mandir}/man1/icewm-menu-xrandr.1*
228%{_mandir}/man1/icewm-session.1*
229%{_mandir}/man1/icewm-set-gnomewm.1*
230%{_mandir}/man1/icewmbg.1*
231%{_mandir}/man1/icewmhint.1*
232%{_mandir}/man5/icewm-env.5*
233%{_mandir}/man5/icewm-focus_mode.5*
234%{_mandir}/man5/icewm-keys.5*
235%{_mandir}/man5/icewm-menu.5*
236%{_mandir}/man5/icewm-preferences.5*
237%{_mandir}/man5/icewm-prefoverride.5*
238%{_mandir}/man5/icewm-programs.5*
239%{_mandir}/man5/icewm-shutdown.5*
240%{_mandir}/man5/icewm-startup.5*
241%{_mandir}/man5/icewm-theme.5*
242%{_mandir}/man5/icewm-toolbar.5*
243%{_mandir}/man5/icewm-winoptions.5*
d6cdaeb0 244%dir %{_sysconfdir}/X11/%{name}
efc175b0 245%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/keys
4316a7a4
KM
246%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/menu
247%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/preferences
248%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/programs
efc175b0
JB
249%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/toolbar
250%config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/winoptions
251%config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/restart
252%config(noreplace,missingok) %verify(not md5 mtime size) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/startup
ad3dbd79 253%dir %{_datadir}/icewm
505d687f 254%{_datadir}/icewm/IceWM.jpg
ad3dbd79 255%{_datadir}/icewm/icons
efc175b0
JB
256%{_datadir}/icewm/keys
257%{_datadir}/icewm/menu
ad3dbd79
TP
258%{_datadir}/icewm/ledclock
259%{_datadir}/icewm/mailbox
efc175b0 260%{_datadir}/icewm/preferences
25f07c49 261%{_datadir}/icewm/programs
2e7a9eeb 262%attr(755,root,root) %{_datadir}/icewm/startup
efc175b0 263%{_datadir}/icewm/toolbar
ad3dbd79 264%{_datadir}/icewm/taskbar
efc175b0 265%{_datadir}/icewm/winoptions
ad3dbd79
TP
266%dir %{_datadir}/icewm/themes
267%{_datadir}/icewm/themes/Infadel2
4ce4af62 268%{_datadir}/icewm/themes/default
10c19d56 269%{_datadir}/icewm/themes/icedesert
efc175b0 270%{_datadir}/xsessions/icewm.desktop
25f07c49 271%{_datadir}/xsessions/icewm-session.desktop
25f07c49 272%{_mandir}/man1/icewm.1*
1de8817c 273
66cf1d33 274%files themes-base
c0e8bfc7 275%defattr(644,root,root,755)
4ce4af62
JB
276%{_datadir}/icewm/themes/CrystalBlue
277%{_datadir}/icewm/themes/Helix
278%{_datadir}/icewm/themes/NanoBlue
ad3dbd79
TP
279%{_datadir}/icewm/themes/metal2
280%{_datadir}/icewm/themes/motif
4ce4af62
JB
281%{_datadir}/icewm/themes/win95
282# old themes, no longer installed in 1.4.x
283%{_datadir}/icewm/themes/gtk2
ad3dbd79
TP
284%{_datadir}/icewm/themes/nice
285%{_datadir}/icewm/themes/nice2
286%{_datadir}/icewm/themes/warp3
287%{_datadir}/icewm/themes/warp4
61d539bc 288%{_datadir}/icewm/themes/yellowmotif
This page took 0.948779 seconds and 5 git commands to generate.