1 Summary: A highly configurable and extensible X11 window manager
6 Group: X11/Window Managers
7 Group(pl): X11/Zarz±dcy Okien
8 Source: ftp://sawmill.sourceforge.net/pub/sawmill/%{name}-%{version}.tar.gz
9 Patch0: sawfish-info.patch
10 Patch1: ftp://ftp.dcs.warwick.ac.uk/people/John.Harper/sawfish/patches/sawmill-gdk-pixbuf-diffs
11 URL: http://sawmill.sourceforge.net
12 BuildRequires: control-center-devel
13 BuildRequires: gnome-libs-devel
14 BuildRequires: gtk+-devel >= 1.2.0
15 BuildRequires: imlib-devel >= 1.8.2
16 BuildRequires: libjpeg-devel
17 BuildRequires: libpng-devel
18 BuildRequires: librep-devel >= 0.11
19 BuildRequires: libtiff-devel
20 BuildRequires: libungif-devel
21 BuildRequires: ncurses-devel
22 BuildRequires: readline-devel
23 BuildRequires: gettext-devel
24 BuildRequires: audiofile-devel
25 BuildRequires: esound-devel
27 Obsoletes: sawmill-gnome
28 Obsoletes: sawmill-themer
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 %define _prefix /usr/X11R6
32 %define _infodir /usr/share/info
35 This is an extensible window manager using a LISP-based scripting
36 language--all window decorations are configurable, the basic idea is to
37 have as much user-interface policy as possible controlled through the Lisp
38 language. All configuration may be performed through a GTK interface;
39 sawmill is mostly-GNOME compliant.
42 Summary: GNOME support for sawmill
43 Group: X11/Window Managers
44 Group(pl): X11/Zarz±dcy Okien
45 Requires: %{name} = %{version}
48 Optional GNOME support for sawmill. Includes a wm-entries spec, and a
49 control center applet.
52 Summary: GUI for creating sawmill themes
53 Group: X11/Window Managers
54 Group(pl): X11/Zarz±dcy Okien
55 Requires: %{name} = %{version}
58 Optional theme builder for sawmill. Allows static window themes to be
59 created/edited in a graphical environment.
67 gettextize --copy --force
69 LDFLAGS="-s"; export LDFLAGS
79 rm -rf $RPM_BUILD_ROOT
80 install -d $RPM_BUILD_ROOT%{_datadir}/{gnome/wm-properties,control-center}
82 make install DESTDIR=$RPM_BUILD_ROOT
84 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/sawmill* \
90 rm -rf $RPM_BUILD_ROOT
93 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
96 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
98 %files -f %{name}.lang
99 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_bindir}/sawmill
102 %attr(755,root,root) %{_bindir}/sawmill-client
103 %attr(755,root,root) %{_bindir}/sawmill-ui
105 %dir %{_libexecdir}/sawmill
106 %dir %{_libexecdir}/sawmill/%{version}
107 %{_libexecdir}/sawmill/%{version}/%{_host}
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_bindir}/sawmill-capplet
113 %{_datadir}/control-center/Sawmill
114 %{_datadir}/gnome/wm-properties/Sawmill.desktop
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_bindir}/sawmill-themer
119 %{_datadir}/sawmill/%{version}/themer.glade