]> git.pld-linux.org Git - packages/icewm.git/blob - icewm.spec
- 1.2.14pre1
[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.14
22 Release:        0.1
23 Epoch:          2
24 License:        LGPL
25 Group:          X11/Window Managers
26 Source0:        http://dl.sourceforge.net/icewm/%{name}-%{version}pre1.tar.gz
27 # Source0-md5:  12dcbab8083a800354b1974c278581d9
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 Patch0:         %{name}-broken-xrandr.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
122 %build
123 rm -f missing
124 %{__aclocal}
125 %{__autoconf}
126 %{__autoheader}
127 %configure \
128         %{?_with_gradients:--enable-gradients} \
129         %{!?_without_antialiasing:--enable-antialiasing} \
130         %{?_without_freetype:--disable-xfreetype} \
131         %{!?_without_guievents:--enable-guievents} \
132         %{?_with_gnome:--enable-menus-gnome} \
133         %{?_without_imlib:--without-imlib} \
134         --enable-shaped-decorations \
135         --with-cfgdir=%{_sysconfdir}/X11/%{name} \
136         --with-docdir=%{_docdir}
137 %{__make}
138
139 %install
140 rm -rf $RPM_BUILD_ROOT
141 install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir},%{_wmstyledir}} \
142         $RPM_BUILD_ROOT{%{_applnkdir}/Settings/IceWM,%{_wmpropsdir},%{_sysconfdir}/X11/%{name}}
143
144 %{__make} install \
145         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}/%{name}.sh
150 install %{SOURCE5} $RPM_BUILD_ROOT%{_wmstyledir}/%{name}.names
151 install %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
152 install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys
153 install lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences
154 install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar
155 install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions
156 echo %{_bindir}/icewmbg > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup
157 :> $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/restart
158
159 ln -s %{_datadir}/icewm/icons $RPM_BUILD_ROOT%{_pixmapsdir}/icewm
160
161 %if 0%{?_with_gnome:1}
162 echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm icewm-menu-gnome2 --list \"%{_applnkdir}\"" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
163 %else
164 echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm wmconfig --output icewm" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
165 %endif
166
167 %find_lang %{name}
168
169 %clean
170 rm -rf $RPM_BUILD_ROOT
171
172 %pre
173 test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm
174
175 %files -f %{name}.lang
176 %defattr(644,root,root,755)
177 %doc AUTHORS BUGS CHANGES PLATFORMS README* TODO icewm.lsm doc/*.html
178 %attr(755,root,root) %{_bindir}/*
179 %dir %{_sysconfdir}/X11/%{name}
180 %config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/X11/%{name}/[!rs]*
181 %config(noreplace,missingok) %verify(not md5 size mtime) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/[rs]*
182 %{_pixmapsdir}/icewm
183 %dir %{_datadir}/icewm
184 %{_datadir}/icewm/icons
185 %{_datadir}/icewm/ledclock
186 %{_datadir}/icewm/mailbox
187 %{_datadir}/icewm/taskbar
188 %dir %{_datadir}/icewm/themes
189 %{_datadir}/icewm/themes/Infadel2
190 %{_datadir}/icewm/themes/icedesert
191 %{_datadir}/xsessions/%{name}.desktop
192 %dir %{_applnkdir}/Settings/IceWM
193 %{_applnkdir}/Settings/IceWM/.directory
194 %{_wmpropsdir}/*
195 %{_wmstyledir}/%{name}.names
196 %attr(755,root,root) %{_wmstyledir}/%{name}.sh
197
198 %files themes-base
199 %defattr(644,root,root,755)
200 %{_datadir}/icewm/themes/gtk2
201 %{_datadir}/icewm/themes/metal2
202 %{_datadir}/icewm/themes/motif
203 %{_datadir}/icewm/themes/nice
204 %{_datadir}/icewm/themes/nice2
205 %{_datadir}/icewm/themes/warp3
206 %{_datadir}/icewm/themes/warp4
207 %{_datadir}/icewm/themes/win95
This page took 0.051865 seconds and 4 git commands to generate.