1 | Summary: An extensible window manager for the X Window System. |
---|
2 | Name: sawfish |
---|
3 | Version: @version@ |
---|
4 | Release: 1 |
---|
5 | Requires: librep >= 0.16, rep-gtk >= 0.16 |
---|
6 | Copyright: GPL |
---|
7 | Group: User Interface/Desktops |
---|
8 | Source: http://download.sourceforge.net/sawfish/sawfish-%{version}.tar.gz |
---|
9 | URL: http://sawmill.sourceforge.net/ |
---|
10 | Packager: John Harper <john@dcs.warwick.ac.uk> |
---|
11 | Buildroot: /var/tmp/%{name}-root |
---|
12 | BuildPrereq: rep-gtk-libglade control-center-devel gmp-devel texinfo |
---|
13 | PreReq: /sbin/install-info |
---|
14 | Provides: windowmanager |
---|
15 | Obsoletes: sawmill sawmill-gnome sawfish-gnome |
---|
16 | |
---|
17 | %description |
---|
18 | Sawfish is an extensible window manager which uses a Lisp-based |
---|
19 | scripting language. All window decorations are configurable and the |
---|
20 | basic idea is to have as much user-interface policy as possible |
---|
21 | controlled through the Lisp language. Configuration can be |
---|
22 | accomplished by writing Lisp code in a personal .sawfishrc file, or |
---|
23 | using a GTK+ interface. Sawfish is mostly GNOME compliant |
---|
24 | |
---|
25 | %prep |
---|
26 | %setup -q |
---|
27 | |
---|
28 | %build |
---|
29 | |
---|
30 | LC_ALL="" |
---|
31 | LINGUAS="" |
---|
32 | LANG="" |
---|
33 | export LC_ALL LINGUAS LANG |
---|
34 | |
---|
35 | %configure |
---|
36 | make host_type=%{_target_platform} |
---|
37 | |
---|
38 | %install |
---|
39 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
40 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties |
---|
41 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/control-center |
---|
42 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Settings |
---|
43 | mkdir -p $RPM_BUILD_ROOT%{_bindir} |
---|
44 | make install \ |
---|
45 | DESTDIR=$RPM_BUILD_ROOT \ |
---|
46 | GNOMEDIR=%{_prefix} \ |
---|
47 | host_type=%{_target_platform} \ |
---|
48 | infodir=%{_infodir} |
---|
49 | gzip -9nf $RPM_BUILD_ROOT%{_infodir}/sawfish* |
---|
50 | |
---|
51 | %post |
---|
52 | /sbin/install-info %{_infodir}/sawfish.info.gz %{_infodir}/dir |
---|
53 | |
---|
54 | %preun |
---|
55 | if [ "$1" = 0 ]; then |
---|
56 | /sbin/install-info --delete %{_infodir}/sawfish.info.gz %{_infodir}/dir |
---|
57 | fi |
---|
58 | |
---|
59 | %clean |
---|
60 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
61 | |
---|
62 | %files |
---|
63 | %defattr(-,root,root) |
---|
64 | %doc README NEWS FAQ THANKS BUGS TODO |
---|
65 | %doc po/sawfish.pot lisp/sawfish/ui/WIDGETS lisp/sawfish/ui/WISHLIST |
---|
66 | %{_bindir}/sawfish |
---|
67 | %{_bindir}/sawfish-client |
---|
68 | %{_bindir}/sawfish-ui |
---|
69 | %{_datadir}/sawfish/%{version} |
---|
70 | %{_datadir}/locale |
---|
71 | %{_datadir}/control-center-2.0/capplets |
---|
72 | %{_datadir}/gnome/wm-properties/Sawfish.desktop |
---|
73 | %{_datadir}/pixmaps/sawfish*.png |
---|
74 | %{_libexecdir}/sawfish/%{version}/%{_target_platform} |
---|
75 | %{_libexecdir}/rep/%{_target_platform}/sawfish |
---|
76 | %{_infodir}/sawfish* |
---|
77 | |
---|
78 | %changelog |
---|
79 | * Tue Jun 12 2000 John Harper <john@dcs.warwick.ac.uk> |
---|
80 | - merged differences from RH spec file |
---|
81 | |
---|
82 | * Mon Apr 24 2000 John Harper <john@dcs.warwick.ac.uk> |
---|
83 | - s/sawmill/sawfish/ |
---|
84 | |
---|
85 | * Fri Sep 17 1999 John Harper <john@dcs.warwick.ac.uk> |
---|
86 | - don't patch the Makefile |
---|
87 | |
---|
88 | * Tue Sep 14 1999 Aron Griffis <agriffis@bigfoot.com> |
---|
89 | - 0.6 spec file update: added buildroot |
---|