]> git.pld-linux.org Git - packages/sawfish.git/blob - sawfish.spec
- massive cleaning
[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):    Zarz±dca okien 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.2
10 Release:        1
11 Epoch:          3
12 License:        GPL
13 Group:          X11/Window Managers
14 #Source0:       http://ftp.gnome.org/pub/gnome/sources/sawfish/2.0/%{name}-%{version}.tar.bz2
15 Source0:        http://unc.dl.sourceforge.net/sourceforge/sawmill/%{name}-%{version}-gtk2.tar.gz
16 Patch0:         %{name}-applnk.patch
17 URL:            http://sawmill.sourceforge.net/
18 Icon:           sawfish.xpm
19 BuildRequires:  autoconf                
20 BuildRequires:  automake
21 BuildRequires:  esound-devel >= 0.2.27
22 BuildRequires:  gettext-devel
23 BuildRequires:  librep-devel >= 0.16
24 BuildRequires:  gtk+2-devel >= 2.0.3
25 BuildRequires:  libtool
26 BuildRequires:  ncurses-devel
27 BuildRequires:  readline-devel
28 BuildRequires:  rep-gtk >= 0.17
29 BuildRequires:  rep-gtk-gnome >= 0.17
30 BuildRequires:  rep-gtk-libglade >= 0.17
31 BuildRequires:  texinfo
32 %define         repexecdir      %(rep-config --execdir || echo "Install_librep-devel_and_rebuild_this_package")
33 Requires:       rep-gtk >= 0.16
34 Requires:       %{repexecdir}
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 Obsoletes:      sawmill
37 Obsoletes:      sawmill-gnome
38 Obsoletes:      sawmill-themer
39
40 %define         _prefix         /usr/X11R6
41 %define         _libexecdir     %{_libdir}
42 %define         _wmpropsdir     %{_datadir}/wm-properties
43
44 %description
45 This is an extensible window manager using a LISP-based scripting
46 language--all window decorations are configurable, the basic idea is
47 to have as much user-interface policy as possible controlled through
48 the Lisp language. All configuration may be performed through a GTK
49 interface; sawfish is mostly-GNOME compliant.
50
51 %description -l pl
52 Zarz±dca okien o du¿ych mo¿liwo¶ciach rozszerzania, u¿ywaj±cy
53 bazowanego na LISP-ie jêzyka skryptowego, dziêki czemu wszystkie
54 dodatki do okien s± konfigurowalne. Ogóln± ide± jest, aby daæ jak
55 najwiêksz± kontrolê w rêce u¿ytkownika poprzez graficzny interfejs
56 dziêki w³a¶nie LISP-owi. Sawfish jest najbardziej zgodny z GNOME-m.
57
58 %description -l pt_BR
59 O Sawfish é um gerenciador de janelas extensível que usa uma linguagem
60 de script baseada em Lisp. Todas as decorações de janelas são
61 configuráveis e a idéia básica e ter a maior parte possível das
62 políticas de interface de usuário controlada pela linguagem Lisp. A
63 configuração pode ser efetuada escrevendo-se código Lisp em um arquivo
64 .sawfishrc pessoal. O Sawfish provê suporte completo para o GNOME.
65
66 %description -l ru
67 Sawfish - ÜÔÏ ÒÁÓÛÉÒÑÅÍÙÊ ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ, ÉÓÐÏÌØÚÕÀÝÉÊ ÏÓÎÏ×ÁÎÎÙÊ ÎÁ
68 Lisp ÑÚÙË ÓÃÅÎÁÒÉÅ×. ÷ÓÅ ÏËÏÎÎÙÅ ÄÅËÏÒÁÃÉÉ ÍÏÖÎÏ ËÏÎÆÉÇÕÒÉÒÏ×ÁÔØ,
69 ÂÁÚÏ×ÁÑ ÉÄÅÑ ÓÏÓÔÏÉÔ × ÔÏÍ, ÞÔÏÂÙ ËÏÎÔÒÏÌÉÒÏ×ÁÔØ ÞÅÒÅÚ Lisp
70 ÍÁËÓÉÍÁÌØÎÏ ×ÏÚÍÏÖÎÙÊ ÏÂßÅÍ ÐÏ×ÅÄÅÎÉÑ ÉÎÔÅÒÆÅÊÓÁ ÐÏÌØÚÏ×ÁÔÅÌÑ.
71 ëÏÎÆÉÇÕÒÉÒÏ×ÁÎÉÅ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌÎÅÎÏ ÎÁÐÉÓÁÎÉÅÍ Lisp ËÏÄÁ ×
72 ÐÅÒÓÏÎÁÌØÎÏÍ ÆÁÊÌÅ .sawfishrc, ÉÌÉ ÞÅÒÅÚ GTK+ ÉÎÔÅÒÆÅÊÓ. Sawfish ×
73 ÏÓÎÏ×ÎÏÍ ÓÏ×ÍÅÓÔÉÍ Ó GNOME; ÅÓÌÉ ÈÏÔÉÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ ÅÇÏ Ó GNOME,
74 ÎÅÏÂÈÏÄÉÍÏ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ sawfish-gnome.
75
76 %description -l uk
77 Sawfish - ÃÅ ÒÏÚÛÉÒÀ×ÁÎÉʠצËÏÎÎÉÊ ÍÅÎÅÄÖÅÒ, ÝÏ ×ÉËÏÒÉÓÔÏ×Õ¤ ÂÁÚÏ×ÁÎÕ
78 ÎÁ Lisp ÍÏ×Õ ÓÃÅÎÁÒ¦§×. ÷Ó¦ ×¦ËÏÎΦ ÄÅËÏÒÁ槠ÍÏÖÎÁ ËÏÎƦÇÕÒÕ×ÁÔÉ,
79 ÂÁÚÏ×Á ¦ÄÅÑ ÐÏÌÑÇÁ¤ × ÔÏÍÕ, ÝÏ ËÏÎÔÒÏÌÀ×ÁÔÉ ÞÅÒÅÚ Lisp ÍÁËÓÉÍÁÌØÎÏ
80 ÍÏÖÌÉ×ÉÊ ÏÂ'¤Í ÐÏ×ÅĦÎËÉ ¦ÎÔÅÒÆÅÊÓÁ ËÏÒÉÓÔÕ×ÁÞÁ. ëÏÎƦÇÕÒÕ×ÁÎÎÑ ÍÏÖÅ
81 ÂÕÔÉ ×ÉËÏÎÁÎÅ ÎÁÐÉÓÁÎÎÑÍ Lisp ËÏÄÕ × ÐÅÒÓÏÎÁÌØÎÏÍÕ ÆÁÊ̦ .sawfishrc,
82 ÁÂÏ ÞÅÒÅÚ GTK+ ¦ÎÔÅÒÆÅÊÓ. Sawfish ÚÄŦÌØÛÏÇÏ ÓÕͦÓÎÉÊ Ú GNOME; ÑËÝÏ
83 ÈÏÞÅÔÅ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÊÏÇÏ Ú GNOME, ÐÏÔÒ¦ÂÎÏ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ
84 sawfish-gnome.
85
86 %package gnome
87 Summary:        GNOME support for sawmill
88 Summary(pl):    Support GNOME'a dla sawmilla
89 Group:          X11/Window Managers
90 Requires:       %{name} = %{version}
91 Requires:       rep-gtk-gnome >= 0.14-3
92 Requires:       rep-gtk-libglade >= 0.14-3
93
94 %description gnome
95 Optional GNOME support for sawmill. Includes a wm-entries spec, and a
96 control center applet.
97
98 %description gnome -l pl
99 Opcjonalne wsparcie GNOME'a dla sawmilla. Zawiera aplet dla
100 control-center oraz specyfikacjê wm-entries.
101
102 %description gnome -l ru
103 ðÁËÅÔ sawfish-gnome ×ËÌÀÞÁÅÔ ÐÏÄÄÅÒÖËÕ ÓÒÅÄÙ GNOME ÄÌÑ ÏËÏÎÎÏÇÏ
104 ÍÅÎÅÄÖÅÒÁ sawfish (×ËÌÀÞÁÑ ÁÐÐÌÅÔ ÄÌÑ ÃÅÎÔÒÁ ÕÐÒÁ×ÌÅÎÉÑ GNOME). åÓÌÉ
105 ×Ù ÈÏÔÉÔÅ ÉÓÐÏÌØÚÏ×ÁÔØ sawfish ×ÍÅÓÔÅ Ó GNOME, ×ÁÍ ÎÅÏÂÈÏÄÉÍÏ
106 ÕÓÔÁÎÏ×ÉÔØ ÜÔÏÔ ÐÁËÅÔ.
107
108 %description gnome -l uk
109 ðÁËÅÔ sawfish-gnome ×ËÌÀÞÁ¤ Ð¦ÄÔÒÉÍËÕ ÓÅÒÅÄÏ×ÉÝÁ GNOME ÄÌѠצËÏÎÎÏÇÏ
110 ÍÅÎÅÄÖÅÒÁ sawfish (×ËÌÀÞÁÀÞÉ ÁÐÌÅÔ ÄÌÑ ÃÅÎÔÒÕ ËÅÒÕ×ÁÎÎÑ GNOME). ñËÝÏ
111 ×É ÈÏÞÅÔÅ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ sawfish Ú GNOME, ×ÁÍ ÐÏÔÒ¦ÂÎÏ ×ÓÔÁÎÏ×ÉÔÉ ÃÅÊ
112 ÐÁËÅÔ.
113
114 %prep
115 %setup -q -n %{name}-%{version}-gtk2
116 %patch0 -p1
117
118 %build
119 %{__gettextize}
120 %{__libtoolize}
121 aclocal
122 %{__autoconf}
123 %{__automake} || :
124 %configure \
125         --disable-static \
126         --enable-capplet \
127         --enable-themer \
128         --enable-gnome-widgets \
129         --with-readline \
130         --with-esd \
131         --with-audiofile \
132         --with-gnu-ld
133 %{__make} host_type=%{_host}
134
135 %install
136 rm -rf $RPM_BUILD_ROOT
137 install -d $RPM_BUILD_ROOT%{_wmpropsdir}
138
139 %{__make} install \
140         DESTDIR=$RPM_BUILD_ROOT \
141         G_MENU_DIR=%{_applnkdir}/Settings/GNOME \
142         host_type=%{_host}
143
144 install Sawfish.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
145
146 %find_lang %{name}
147
148 %clean
149 rm -rf $RPM_BUILD_ROOT
150
151 %post
152 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
153
154 %postun
155 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
156
157 %files -f %{name}.lang
158 %defattr(644,root,root,755)
159 %doc README NEWS FAQ TODO
160 %attr(755,root,root) %{_bindir}/*
161 %{_datadir}/sawfish
162 %{_pixmapsdir}/*
163
164 %dir %{_libexecdir}/sawfish
165 %dir %{_libexecdir}/sawfish/%{version}
166 %dir %{_libexecdir}/sawfish/%{version}/%{_host}
167 %attr(755,root,root) %{_libexecdir}/sawfish/%{version}/%{_host}/*.so
168 %{_libexecdir}/sawfish/%{version}/%{_host}/*.la
169 %attr(755,root,root) %{_libexecdir}/sawfish/%{version}/%{_host}/gtk-style
170 %attr(755,root,root) %{_libexecdir}/sawfish/%{version}/%{_host}/sawfish-menu
171 %attr(755,root,root) %{_libexecdir}/sawfish/%{version}/%{_host}/sawfish-about
172 %dir %{_libexecdir}/sawfish/%{version}/%{_host}/sawfish
173 %dir %{_libexecdir}/sawfish/%{version}/%{_host}/sawfish/wm
174 %dir %{_libexecdir}/sawfish/%{version}/%{_host}/sawfish/wm/util
175 %attr(755,root,root) %{_libexecdir}/sawfish/%{version}/%{_host}/sawfish/wm/util/*.so
176 %{_libexecdir}/sawfish/%{version}/%{_host}/sawfish/wm/util/*.la
177 %{_libexecdir}/sawfish/%{version}/%{_host}/DOC
178
179 %dir %{repexecdir}/sawfish
180 %attr(755,root,root) %{repexecdir}/sawfish/*.so
181 %{repexecdir}/sawfish/*.la
182 %{_infodir}/sawfish*
183
184 %files gnome
185 %defattr(644,root,root,755)
186 %{_datadir}/control-center-2.0/capplets/*
187 %{_wmpropsdir}/Sawfish.desktop
This page took 0.089019 seconds and 4 git commands to generate.