]> git.pld-linux.org Git - packages/icewm.git/blob - icewm.spec
- upgraded to 1.2.9
[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 # _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
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.9
23 Release:        1
24 Epoch:          2
25 License:        LGPL
26 Group:          X11/Window Managers
27 Source0:        http://dl.sourceforge.net/icewm/%{name}-%{version}.tar.gz
28 # Source0-md5:  fe8ff73efc80a6c9eea34c26c66e0c53
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 %{!?_without_gnome:BuildRequires:       gnome-libs-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
54 %description
55 Window Manager for X Window System. Can emulate the look of
56 Windows'95, OS/2 Warp 3,4, Motif. Tries to take the best features of
57 the above systems. Features multiple workspaces, opaque move/resize,
58 task bar, window list, mailbox status, digital clock. Fast and small.
59
60 %description -l es
61 Administrador de Ventanas para el X Window. Puede emular la apariencia
62 del Windows'95, OS/2 Warp 3 y 4 y el Motif. Intenta usar las mejores
63 características de los sistemas citados. Características: varios
64 ambientes de trabajo, movimiento/ redimensionamiento opaco, barra de
65 tareas, lista de ventanas, estado de la caja de entrada del correo y
66 reloj digital. Rápido y pequeño.
67
68 %description -l pl
69 Zarz±dca okienek pod X11. Mo¿e emulowaæ wygl±d Windows'95, OS/2 Warp
70 3, 4, MWM. Zarz±dca ten próbuje przej±æ z powy¿szych ¶rodowisk ich
71 najlepsze cechy, takie jak: wiele jednocze¶nie obecnych przestrzeni
72 roboczych, paski narzêdziowe, status skrzynki z poczt±, cyfrowy zegar.
73 Jest przy tym ma³y i szybki.
74
75 %description -l pt_BR
76 Gerenciador de Janelas para o X Window. Pode emular a aparência do
77 Windows'95, OS/2 Warp 3 e 4 e o Motif. Tenta usar as melhores
78 características dos sistemas citados. Características: vários
79 ambientes de trabalho, movimentação/ redimensionamento opaco, barra de
80 tarefas, lista de janelas, status da caixa de entrada do correio e
81 relógio digital. É rápido e pequeno.
82
83 %description -l ru
84 ïËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X Window System. íÏÖÅÔ ÜÍÕÌÉÒÏ×ÁÔØ ×ÎÅÛÎÉÊ ×ÉÄ
85 Windows'95, OS/2 Warp 3,4, Motif. óÔÁÒÁÅÔÓÑ ×ÚÑÔØ ÌÕÞÛÅÅ ÉÚ ÕÐÏÍÑÎÕÔÙÈ
86 ÓÉÓÔÅÍ. ðÏÄÄÅÒÖÉ×ÁÅÔ ÎÅÓËÏÌØËÏ ÒÁÂÏÞÉÈ ÐÏ×ÅÒÈÎÏÓÔÅÊ, ÎÅÐÒÏÚÒÁÞÎÏÅ
87 ÐÅÒÅÍÅÝÅÎÉÅ ÏËÏÎ, ÐÏÌÏÓËÕ ÚÁÄÁÎÉÊ, ÓÐÉÓÏË ÏËÏÎ, ÓÔÁÔÕÓ ÐÏÞÔÏ×ÏÇÏ
88 ÑÝÉËÁ, ÃÉÆÒÏ×ÙÅ ÞÁÓÙ. âÙÓÔÒÙÊ É ËÏÍÐÁËÔÎÙÊ.
89
90 %description -l uk
91 ÷¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X Window System. íÏÖÅ ÅÍÕÌÀ×ÁÔÉ ÚÏ×ΦÛΦʠ×ÉÇÌÑÄ
92 Windows'95, OS/2 Warp 3,4, Motif. îÁÍÁÇÁ¤ÔØÓÑ ×ÚÑÔÉ ÎÁÊËÒÁÝÅ ¦Ú
93 ÚÇÁÄÁÎÉÈ ÓÉÓÔÅÍ. ð¦ÄÔÒÉÍÕ¤ Ë¦ÌØËÁ ÒÏÂÏÞÉÈ ÐÌÏÝÉÎ, ÎÅÐÒÏÚÏÒÅ
94 ÐÅÒÅͦÝÅÎÎѠצËÏÎ, ÓÍÕÖËÕ ÚÁ×ÄÁÎØ, ÓÐÉÓÏˠצËÏÎ, ÓÔÁΠÐÏÛÔÏ×ϧ
95 ÓËÒÉÎØËÉ, ÃÉÆÒÏ×ÉÊ ÇÏÄÉÎÎÉË. û×ÉÄËÉÊ ÔÁ ËÏÍÐÁËÔÎÉÊ.
96
97 %package themes-base
98 Summary:        Pack of themes for IceWM
99 Summary(pl):    Zestaw motywów dla IceWM-a
100 Group:          Themes
101 Requires:       icewm
102
103 %description themes-base
104 Standard pack of themes delivered with IceWM. All of them made by
105 Marko Macek: gtk2, metal2, motif, nice, nice2, warp3, warp4, win95.
106
107 %description themes-base -l pl
108 Standardowy zestaw motywów dla IceWM-a, dostarczany wraz z nim.
109 Wszystkie stworzone przez Marko Macka: gtk2, metal2, motif, nice,
110 nice2, warp3, warp4, win95.
111
112 %prep
113 %setup -q
114
115 cd lib/icons
116 tar -xzf %{SOURCE3}
117 tar -xzf %{SOURCE6}
118 cd ../..
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         %{!?_without_gnome:--enable-menus-gnome} \
131         %{?_without_imlib:--without-imlib} \
132         --enable-shaped-decorations \
133         --with-cfgdir=%{_sysconfdir}/X11/%{name} \
134         --with-docdir=%{_docdir} \
135         --disable-nls
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
154 ln -s %{_datadir}/icewm/icons $RPM_BUILD_ROOT%{_pixmapsdir}/icewm
155
156 echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm icewm-menu-gnome1 --list \"%{_applnkdir}\"" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
157
158 #%find_lang %{name}
159 touch %{name}.lang
160
161 %clean
162 rm -rf $RPM_BUILD_ROOT
163
164 %pre
165 test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm
166
167 %files -f %{name}.lang
168 %defattr(644,root,root,755)
169 %doc AUTHORS BUGS CHANGES PLATFORMS README* TODO icewm.lsm doc/*.html
170 %attr(755,root,root) %{_bindir}/*
171 %dir %{_sysconfdir}/X11/%{name}
172 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/X11/%{name}/*
173 %{_pixmapsdir}/icewm
174 %dir %{_datadir}/icewm
175 %{_datadir}/icewm/icons
176 %{_datadir}/icewm/ledclock
177 %{_datadir}/icewm/mailbox
178 %{_datadir}/icewm/taskbar
179 %dir %{_datadir}/icewm/themes
180 %{_datadir}/icewm/themes/Infadel2
181 %{_datadir}/icewm/themes/icedesert
182 %dir %{_applnkdir}/Settings/IceWM
183 %{_applnkdir}/Settings/IceWM/.directory
184 %{_wmpropsdir}/*
185 %attr(755,root,root) %{_wmstyledir}/IceWM.sh
186 %attr(644,root,root) %{_wmstyledir}/IceWM.names
187
188 %files themes-base
189 %defattr(644,root,root,755)
190 %{_datadir}/icewm/themes/gtk2
191 %{_datadir}/icewm/themes/metal2
192 %{_datadir}/icewm/themes/motif
193 %{_datadir}/icewm/themes/nice
194 %{_datadir}/icewm/themes/nice2
195 %{_datadir}/icewm/themes/warp3
196 %{_datadir}/icewm/themes/warp4
197 %{_datadir}/icewm/themes/win95
This page took 0.062173 seconds and 4 git commands to generate.