]> git.pld-linux.org Git - packages/icewm.git/blob - icewm.spec
- update to 1.2.10
[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.10
22 Release:        0.1
23 Epoch:          1
24 License:        LGPL
25 Group:          X11/Window Managers
26 Source0:        http://dl.sourceforge.net/icewm/%{name}-%{version}.tar.gz
27 # Source0-md5:  3c6835d0e17ad158922ea1ddd0cb60de
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 URL:            http://www.icewm.org/
37 BuildRequires:  XFree86-devel
38 BuildRequires:  autoconf
39 BuildRequires:  automake
40 %{!?_without_guievents:BuildRequires:   esound-devel}
41 BuildRequires:  gettext-devel
42 %{?_with_gnome:BuildRequires:   gnome-desktop-devel}
43 %{!?_without_imlib:BuildRequires:       imlib-devel}
44 BuildRequires:  libstdc++-devel
45 %{!?_without_freetype:BuildRequires:    xft-devel >= 2.1}
46 Requires(pre):  fileutils
47 Requires(pre):  sh-utils
48 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50 %define         _wmstyledir     /etc/sysconfig/wmstyle
51 %define         _wmpropsdir     /usr/share/wm-properties
52 %define         specflags_ia32  "-fomit-frame-pointer"
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 -n %{name}-%{version}
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         %{?_with_gnome:--enable-menus-gnome} \
131         %{?_without_imlib:--without-imlib} \
132         --enable-shaped-decorations \
133         --with-cfgdir=%{_sysconfdir}/X11/%{name} \
134         --with-docdir=%{_docdir}
135 %{__make}
136
137 %install
138 rm -rf $RPM_BUILD_ROOT
139 install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_wmstyledir}} \
140         $RPM_BUILD_ROOT{%{_applnkdir}/Settings/IceWM,%{_wmpropsdir},%{_sysconfdir}/X11/%{name}}
141
142 %{__make} install DESTDIR=$RPM_BUILD_ROOT
143
144 install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
145 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Settings/IceWM/.directory
146 install %{SOURCE4} $RPM_BUILD_ROOT%{_wmstyledir}/IceWM.sh
147 install %{SOURCE5} $RPM_BUILD_ROOT%{_wmstyledir}/IceWM.names
148 install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys
149 install lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences
150 install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar
151 install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions
152 echo %{_bindir}/icewmbg > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/startup
153 :> $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/restart
154
155 ln -s %{_datadir}/icewm/icons $RPM_BUILD_ROOT%{_pixmapsdir}/icewm
156
157 %if 0%{?_with_gnome:1}
158 echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm icewm-menu-gnome2 --list \"%{_applnkdir}\"" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
159 %else
160 echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm wmconfig --output icewm" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
161 %endif
162
163 %find_lang %{name}
164
165 %clean
166 rm -rf $RPM_BUILD_ROOT
167
168 %pre
169 test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm
170
171 %files -f %{name}.lang
172 %defattr(644,root,root,755)
173 %doc AUTHORS BUGS CHANGES PLATFORMS README* TODO icewm.lsm doc/*.html
174 %attr(755,root,root) %{_bindir}/*
175 %dir %{_sysconfdir}/X11/%{name}
176 %config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/X11/%{name}/[!rs]*
177 %config(noreplace,missingok) %verify(not md5 size mtime) %attr(755,root,root) %{_sysconfdir}/X11/%{name}/[rs]*
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.042812 seconds and 4 git commands to generate.