]> git.pld-linux.org Git - packages/sawfish.git/blob - sawfish.spec
- merge translations from KSI, Conectiva and TurboLinux.
[packages/sawfish.git] / sawfish.spec
1 Summary:        A highly configurable and extensible X11 window manager
2 Summary(es):    Un administrador de ventanas que se puede configurar y extender para X11
3 Summary(pl):    Window Manad¿er dla X11 o du¿ych mo¿liwo¶ciach konfiguracyjnych i skalowalno¶ci
4 Summary(pt_BR): Um gerenciador de janelas configurável e extensível para o X11
5 Summary(ru):    ïËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X Window
6 Summary(uk):    ÷¦ËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ ÄÌÑ X Window
7 Summary(zh_CN): ¾ßÓкÜÇ¿µÄÀ©Õ¹ÐԺͿÉÅäÖÃÐÔµÄͼÐδ°¿Ú¹ÜÀíÆ÷.
8 Name:           sawfish
9 Version:        1.1
10 Release:        1
11 Epoch:          1
12 License:        GPL
13 Group:          X11/Window Managers
14 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/sawmill/%{name}-%{version}-gtk1.tar.gz
15 Patch0:         %{name}-info.patch
16 Patch1:         %{name}-no_version.patch
17 Patch2:         %{name}-no_libnsl.spec
18 Patch3:         %{name}-make.patch
19 Patch4:         %{name}-windowmenu.patch
20 URL:            http://sawmill.sourceforge.net/
21 Icon:           sawfish.xpm
22 BuildRequires:  autoconf
23 BuildRequires:  automake
24 BuildRequires:  esound-devel
25 BuildRequires:  control-center-devel
26 BuildRequires:  gettext-devel
27 BuildRequires:  librep-devel
28 BuildRequires:  gnome-libs-devel
29 BuildRequires:  gtk+-devel >= 1.2.0
30 BuildRequires:  imlib-devel >= 1.8.2
31 BuildRequires:  libjpeg-devel
32 BuildRequires:  libpng >= 1.0.8
33 BuildRequires:  librep-devel >= 0.14
34 BuildRequires:  libtiff-devel
35 BuildRequires:  libtool
36 BuildRequires:  libungif-devel
37 BuildRequires:  ncurses-devel
38 BuildRequires:  readline-devel
39 BuildRequires:  rep-gtk >= 0.14-3
40 BuildRequires:  rep-gtk-gnome >= 0.14-3
41 BuildRequires:  rep-gtk-libglade >= 0.14-3
42 BuildRequires:  texinfo
43 %define         repexecdir      %(rep-config --execdir || echo "Install_librep-devel_and_rebuild_this_package")
44 Requires:       rep-gtk >= 0.14-3
45 Requires:       rep-gtk-gnome >= 0.14.3
46 Requires:       %{repexecdir}
47 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48 Obsoletes:      sawmill
49 Obsoletes:      sawmill-gnome
50 Obsoletes:      sawmill-themer
51
52 %define         _prefix         /usr/X11R6
53 %define         _libexecdir     %{_libdir}
54 %define         _wmpropsdir     %{_datadir}/wm-properties
55
56 %description
57 This is an extensible window manager using a LISP-based scripting
58 language--all window decorations are configurable, the basic idea is
59 to have as much user-interface policy as possible controlled through
60 the Lisp language. All configuration may be performed through a GTK
61 interface; sawfish is mostly-GNOME compliant.
62
63 %description -l pl
64 Window manad¿er o du¿ych mo¿liwo¶ciach rozszerzania, u¿ywaj±cy
65 bazowanego na LISP-ie jêzyka skryptowego, dziêki czemu wszystkie
66 dodatki do okien s± configurowalne. Ogóln± ide± jest, aby daæ jak
67 najwiêksz± kontrolê w rêce u¿ytkownika poprzez graficzny interfejs
68 dziêki w³a¶nie LISP-owi. Sawfish jest najbardziej zgodny z GNOME-m.
69
70 %description -l pt_BR
71 O Sawfish é um gerenciador de janelas extensível que usa uma linguagem
72 de script baseada em Lisp. Todas as decorações de janelas são
73 configuráveis e a idéia básica e ter a maior parte possível das
74 políticas de interface de usuário controlada pela linguagem Lisp. A
75 configuração pode ser efetuada escrevendo-se código Lisp em um arquivo
76 .sawfishrc pessoal. O Sawfish provê suporte completo para o GNOME.
77
78 %description -l ru
79 Sawfish - ÜÔÏ ÒÁÓÛÉÒÑÅÍÙÊ ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ, ÉÓÐÏÌØÚÕÀÝÉÊ ÏÓÎÏ×ÁÎÎÙÊ ÎÁ
80 Lisp ÑÚÙË ÓÃÅÎÁÒÉÅ×. ÷ÓÅ ÏËÏÎÎÙÅ ÄÅËÏÒÁÃÉÉ ÍÏÖÎÏ ËÏÎÆÉÇÕÒÉÒÏ×ÁÔØ,
81 ÂÁÚÏ×ÁÑ ÉÄÅÑ ÓÏÓÔÏÉÔ × ÔÏÍ, ÞÔÏÂÙ ËÏÎÔÒÏÌÉÒÏ×ÁÔØ ÞÅÒÅÚ Lisp
82 ÍÁËÓÉÍÁÌØÎÏ ×ÏÚÍÏÖÎÙÊ ÏÂßÅÍ ÐÏ×ÅÄÅÎÉÑ ÉÎÔÅÒÆÅÊÓÁ ÐÏÌØÚÏ×ÁÔÅÌÑ.
83 ëÏÎÆÉÇÕÒÉÒÏ×ÁÎÉÅ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌÎÅÎÏ ÎÁÐÉÓÁÎÉÅÍ Lisp ËÏÄÁ ×
84 ÐÅÒÓÏÎÁÌØÎÏÍ ÆÁÊÌÅ .sawfishrc, ÉÌÉ ÞÅÒÅÚ GTK+ ÉÎÔÅÒÆÅÊÓ. Sawfish ×
85 ÏÓÎÏ×ÎÏÍ ÓÏ×ÍÅÓÔÉÍ Ó GNOME; ÅÓÌÉ ÈÏÔÉÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÅÇÏ Ó GNOME,
86 ÎÅÏÂÈÏÄÉÍÏ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ sawfish-gnome.
87
88 %description -l uk
89 Sawfish - ÃÅ ÒÏÚÛÉÒÀ×ÁÎÉʠצËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ, ÝÏ ×ÉËÏÒÉÓÔÏ×Õ¤ ÂÁÚÏ×ÁÎÕ
90 ÎÁ Lisp ÍÏ×Õ ÓÃÅÎÁÒ¦§×. ÷Ó¦ ×¦ËÏÎΦ ÄÅËÏÒÁ槠ÍÏÖÎÁ ËÏÎƦÇÕÒÕ×ÁÔÉ,
91 ÂÁÚÏ×Á ¦ÄÅÑ ÐÏÌÑÇÁ¤ × ÔÏÍÕ, ÝÏ ËÏÎÔÒÏÌÀ×ÁÔÉ ÞÅÒÅÚ Lisp ÍÁËÓÉÍÁÌØÎÏ
92 ÍÏÖÌÉ×ÉÊ ÏÂ'¤Í ÐÏ×ÅĦÎËÉ ¦ÎÔÅÒÆÅÊÓÁ ËÏÒÉÓÔÕ×ÁÞÁ. ëÏÎƦÇÕÒÕ×ÁÎÎÑ ÍÏÖÅ
93 ÂÕÔÉ ×ÉËÏÎÁÎÅ ÎÁÐÉÓÁÎÎÑÍ Lisp ËÏÄÕ × ÐÅÒÓÏÎÁÌØÎÏÍÕ ÆÁÊ̦ .sawfishrc,
94 ÁÂÏ ÞÅÒÅÚ GTK+ ¦ÎÔÅÒÆÅÊÓ. Sawfish ÚÄŦÌØÛÏÇÏ ÓÕͦÓÎÉÊ Ú GNOME; ÑËÝÏ
95 ÈÏÞÅÔÅ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÊÏÇÏ Ú GNOME, ÐÏÔÒ¦ÂÎÏ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ
96 sawfish-gnome.
97
98 %package gnome
99 Summary:        GNOME support for sawfish
100 Summary(pl):    Support GNOME'a dla sawfisha
101 Summary(ru):    ðÏÄÄÅÒÖËÁ ÓÒÅÄÙ GNOME ÄÌÑ ÏËÏÎÎÏÇÏ ÍÅÎÅÄÖÅÒÁ sawfish
102 Summary(uk):    ð¦ÄÔÒÉÍËÁ ÓÅÒÅÄÏ×ÉÝÁ GNOME ÄÌѠצËÏÎÎÏÇÏ ÍÅÎÅÄÖÅÒÁ sawfish
103 Group:          X11/Window Managers
104 Requires:       %{name} = %{version}
105 Requires:       rep-gtk-gnome >= 0.14-3
106 Requires:       rep-gtk-libglade >= 0.14-3
107
108 %description gnome
109 Optional GNOME support for sawfish. Includes a wm-entries spec, and a
110 control center applet.
111
112 %description gnome -l pl
113 Opcjonalny support GNOME'a dla sawfisha. Zawiera aplet dla
114 control-center oraz wm-entries spec.
115
116 %description gnome -l ru
117 ðÁËÅÔ sawfish-gnome ×ËÌÀÞÁÅÔ ÐÏÄÄÅÒÖËÕ ÓÒÅÄÙ GNOME ÄÌÑ ÏËÏÎÎÏÇÏ
118 ÍÅÎÅÄÖÅÒÁ sawfish (×ËÌÀÞÁÑ ÁÐÐÌÅÔ ÄÌÑ ÃÅÎÔÒÁ ÕÐÒÁ×ÌÅÎÉÑ GNOME). åÓÌÉ
119 ×Ù ÈÏÔÉÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ sawfish ×ÍÅÓÔÅ Ó GNOME, ×ÁÍ ÎÅÏÂÈÏÄÉÍÏ
120 ÕÓÔÁÎÏ×ÉÔØ ÜÔÏÔ ÐÁËÅÔ.
121
122 %description gnome -l uk
123 ðÁËÅÔ sawfish-gnome ×ËÌÀÞÁ¤ Ð¦ÄÔÒÉÍËÕ ÓÅÒÅÄÏ×ÉÝÁ GNOME ÄÌѠצËÏÎÎÏÇÏ
124 ÍÅÎÅÄÖÅÒÁ sawfish (×ËÌÀÞÁÀÞÉ ÁÐÌÅÔ ÄÌÑ ÃÅÎÔÒÕ ËÅÒÕ×ÁÎÎÑ GNOME). ñËÝÏ
125 ×É ÈÏÞÅÔÅ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ sawfish Ú GNOME, ×ÁÍ ÐÏÔÒ¦ÂÎÏ ×ÓÔÁÎÏ×ÉÔÉ ÃÅÊ
126 ÐÁËÅÔ.
127
128 %package themer
129 Summary:        GUI for creating sawfish themes
130 Summary(pl):    GUI do tworzenia tematów dla sawfisha
131 Summary(pt_BR): Interface para criação de temas para o gerenciador de janelas sawfish
132 Summary(ru):    çÒÁÆÉÞÅÓËÉÊ ÉÎÔÅÒÆÅÊÓ ÄÌÑ ÓÏÚÄÁÎÉÑ "ÔÅÍ" ÏËÏÎÎÏÇÏ ÍÅÎÅÄÖÅÒÁ sawfish
133 Summary(uk):    çÒÁƦÞÎÉÊ ¦ÎÔÅÒÆÅÊÓ ÄÌÑ ÓÔ×ÏÒÅÎÎÑ "ÔÅÍ" ×¦ËÏÎÎÏÇÏ ÍÅÎÅÄÖÅÒÁ sawfish
134 Summary(zh_CN): Ò»¸ö Sawfish Í¼Ðδ°¿Ú¹ÜÀíÆ÷µÄGUI
135 Group:          X11/Window Managers
136 Requires:       %{name} = %{version}
137
138 %description themer
139 Optional theme builder for sawfish. Allows static window themes to be
140 created/edited in a graphical environment.
141
142 %description themer -l pl
143 Opcjonalna aplikacja do tworzenia tematów dla sawfisha. Pozwala na
144 tworzenie/modyfikacjê statycznych tematów w ¶rodowisku graficznym.
145
146 %description themer -l pt_BR
147 O pacote sawfish-themer contém um construtor opcional de temas para o
148 gerenciador de janelas sawfish. O sawfish-themer permite que temas de
149 janelas estáticas possam ser criados e editados em um ambiente
150 gráfico.
151
152 %description themer -l ru
153 ðÁËÅÔ sawfish-themer ÓÏÄÅÒÖÉÔ ÏÐÃÉÏÎÁÌØÎÕÀ ÐÒÏÇÒÁÍÍÕ ÐÏÓÔÒÏÅÎÉÑ ÔÅÍ
154 ÄÌÑ ÏËÏÎÎÏÇÏ ÍÅÎÅÄÖÅÒÁ sawfish.
155
156 %description themer -l uk
157 ðÁËÅÔ sawfish-themer Í¦ÓÔÉÔØ ÏÐæÏÎÁÌØÎÕ ÐÒÏÇÒÁÍÕ ÐÏÂÕÄÏ×É ÔÅÍ ÄÌÑ
158 צËÏÎÎÏÇÏ ÍÅÎÅÄÖÅÒÁ sawfish.
159
160 %prep
161 %setup -q -n %{name}-%{version}-gtk1
162 %patch0 -p1
163 %patch1 -p1
164 %patch2 -p1
165 %patch3 -p1
166 %patch4 -p1
167
168 %build
169 %{__gettextize}
170 %{__libtoolize}
171 aclocal
172 %{__autoconf}
173 %{__automake} || :
174 %configure \
175         --disable-static \
176         --enable-capplet \
177         --enable-themer \
178         --enable-gnome-widgets \
179         --with-readline \
180         --with-esd \
181         --with-audiofile \
182         --with-gnu-ld
183 %{__make} host_type=%{_host}
184
185 %install
186 rm -rf $RPM_BUILD_ROOT
187 install -d $RPM_BUILD_ROOT%{_wmpropsdir}
188
189 %{__make} install \
190         DESTDIR=$RPM_BUILD_ROOT \
191         G_MENU_DIR=%{_applnkdir}/Settings/GNOME \
192         host_type=%{_host}
193
194 install Sawfish.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
195
196 %find_lang %{name}
197
198 %clean
199 rm -rf $RPM_BUILD_ROOT
200
201 %post
202 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
203
204 %postun
205 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
206
207 %files -f %{name}.lang
208 %defattr(644,root,root,755)
209 %doc README NEWS FAQ TODO
210 %attr(755,root,root) %{_bindir}/sawfish
211 %attr(755,root,root) %{_bindir}/sawfish-client
212 %attr(755,root,root) %{_bindir}/sawfish-ui
213 %dir %{_datadir}/sawfish
214 %{_datadir}/sawfish/[^t]*
215 %{_datadir}/sawfish/themes
216
217 %{_pixmapsdir}/*
218
219 %dir %{_libexecdir}/sawfish
220 %dir %{_libexecdir}/sawfish/%{_host}
221 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/*.so
222 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/*.la
223 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/gtk-style
224 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish-menu
225 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish-about
226 %dir %{_libexecdir}/sawfish/%{_host}/sawfish
227 %dir %{_libexecdir}/sawfish/%{_host}/sawfish/wm
228 %dir %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util
229 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util/*.so
230 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util/*.la
231 %{_libexecdir}/sawfish/%{_host}/DOC
232
233 %dir %{repexecdir}/sawfish
234 %attr(755,root,root) %{repexecdir}/sawfish/*.so
235 %attr(755,root,root) %{repexecdir}/sawfish/*.la
236
237 %{_infodir}/sawfish*
238
239 %files gnome
240 %defattr(644,root,root,755)
241 %attr(755,root,root) %{_bindir}/sawfish-capplet
242 %{_datadir}/control-center/Sawfish
243 %{_wmpropsdir}/Sawfish.desktop
244
245 %files themer
246 %defattr(644,root,root,755)
247 %attr(755,root,root) %{_bindir}/sawfish-themer
248 %{_datadir}/sawfish/themer.glade
This page took 0.043301 seconds and 4 git commands to generate.