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