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