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