source: trunk/third/sawfish/sawfish.spec.in @ 18410

Revision 18410, 2.6 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18409, which included commits to RCS files with non-trunk default branches.
Line 
1Summary: An extensible window manager for the X Window System.
2Name: sawfish
3Version: @version@
4Release: 1
5Requires: librep >= 0.16, rep-gtk >= 0.16
6Copyright: GPL
7Group: User Interface/Desktops
8Source: http://download.sourceforge.net/sawfish/sawfish-%{version}.tar.gz
9URL: http://sawmill.sourceforge.net/
10Packager: John Harper <john@dcs.warwick.ac.uk>
11Buildroot: /var/tmp/%{name}-root
12BuildPrereq: rep-gtk-libglade control-center-devel gmp-devel texinfo
13PreReq: /sbin/install-info
14Provides: windowmanager
15Obsoletes: sawmill sawmill-gnome sawfish-gnome
16
17%description
18Sawfish is an extensible window manager which uses a Lisp-based
19scripting language.  All window decorations are configurable and the
20basic idea is to have as much user-interface policy as possible
21controlled through the Lisp language.  Configuration can be
22accomplished by writing Lisp code in a personal .sawfishrc file, or
23using a GTK+ interface.  Sawfish is mostly GNOME compliant
24
25%prep
26%setup -q
27
28%build
29
30LC_ALL=""
31LINGUAS=""
32LANG=""
33export LC_ALL LINGUAS LANG
34
35%configure
36make host_type=%{_target_platform}
37
38%install
39[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
40mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
41mkdir -p $RPM_BUILD_ROOT%{_datadir}/control-center
42mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Settings
43mkdir -p $RPM_BUILD_ROOT%{_bindir}
44make install \
45    DESTDIR=$RPM_BUILD_ROOT \
46    GNOMEDIR=%{_prefix} \
47    host_type=%{_target_platform} \
48    infodir=%{_infodir}
49gzip -9nf $RPM_BUILD_ROOT%{_infodir}/sawfish*
50
51%post
52/sbin/install-info %{_infodir}/sawfish.info.gz %{_infodir}/dir
53
54%preun
55if [ "$1" = 0 ]; then
56    /sbin/install-info --delete %{_infodir}/sawfish.info.gz %{_infodir}/dir
57fi
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
Note: See TracBrowser for help on using the repository browser.