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