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