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