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