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