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