]> git.pld-linux.org Git - packages/icewm.git/blob - icewm.spec
- changed _wmpropsdir to _prefix-independent location (/usr/share/wm-properties)
[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:        4
24 Epoch:          2
25 License:        LGPL
26 Group:          X11/Window Managers
27 Source0:        http://dl.sourceforge.net/icewm/%{name}-%{version}.tar.gz
28 Source1:        IceWM.desktop
29 Source2:        %{name}.directory
30 Source3:        http://dl.sourceforge.net/icewm/iceicons-0.6.tar.gz
31 Source4:        IceWM.RunWM
32 Source5:        IceWM.wm_style
33 Source6:        http://dl.sourceforge.net/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     /usr/share/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 %{__aclocal}
120 %{__autoconf}
121 %{__autoheader}
122 %configure \
123         %{?_with_gradients:--enable-gradients} \
124         %{!?_without_antialiasing:--enable-antialiasing} \
125         %{?_without_freetype:--disable-xfreetype} \
126         %{!?_without_guievents:--enable-guievents} \
127         %{!?_without_gnome:--with-gnome-menus} \
128         %{?_without_imlib:--without-imlib} \
129         --enable-shaped-decorations \
130         --with-cfgdir=%{_sysconfdir}/X11/%{name} \
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 lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys
146 install lib/preferences $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/preferences
147 install lib/toolbar $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/toolbar
148 install lib/winoptions $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/winoptions
149
150 ln -s %{_datadir}/icewm/icons $RPM_BUILD_ROOT%{_pixmapsdir}/icewm
151
152 echo "menuprog \"Programs\" %{_datadir}/icewm/icons/folder_16x16.xpm icewm-menu-gnome1 --list \"%{_applnkdir}\"" > $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/menu
153
154 %find_lang %{name}
155
156 %clean
157 rm -rf $RPM_BUILD_ROOT
158
159 %pre
160 test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm
161
162 %files -f %{name}.lang
163 %defattr(644,root,root,755)
164 %doc AUTHORS BUGS CHANGES FAQ PLATFORMS README* TODO icewm.lsm doc/*.html
165 %attr(755,root,root) %{_bindir}/*
166 %dir %{_sysconfdir}/X11/%{name}
167 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/X11/%{name}/*
168 %{_pixmapsdir}/icewm
169 %dir %{_datadir}/icewm
170 %{_datadir}/icewm/icons
171 %{_datadir}/icewm/ledclock
172 %{_datadir}/icewm/mailbox
173 %{_datadir}/icewm/taskbar
174 %dir %{_datadir}/icewm/themes
175 %{_datadir}/icewm/themes/Infadel2
176 %dir %{_applnkdir}/Settings/IceWM
177 %{_applnkdir}/Settings/IceWM/.directory
178 %{_wmpropsdir}/*
179 %attr(755,root,root) %{_wmstyledir}/IceWM.sh
180 %attr(644,root,root) %{_wmstyledir}/IceWM.names
181
182 %files themes-base
183 %defattr(644,root,root,755)
184 %{_datadir}/icewm/themes/gtk2
185 %{_datadir}/icewm/themes/metal2
186 %{_datadir}/icewm/themes/motif
187 %{_datadir}/icewm/themes/nice
188 %{_datadir}/icewm/themes/nice2
189 %{_datadir}/icewm/themes/warp3
190 %{_datadir}/icewm/themes/warp4
191 %{_datadir}/icewm/themes/win95
This page took 0.081035 seconds and 4 git commands to generate.