]> git.pld-linux.org Git - packages/sawfish.git/blob - sawfish.spec
- added obsoletes
[packages/sawfish.git] / sawfish.spec
1 Summary:        A highly configurable and extensible X11 window manager
2 Name:           sawfish
3 Version:        0.27.2
4 Release:        1
5 License:        GPL
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
26 Obsoletes:      sawmill
27 Obsoletes:      sawmill-gnome
28 Obsoletes:      sawmill-themer
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %define         _prefix         /usr/X11R6
32 %define         _infodir        /usr/share/info
33
34 %description
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.
40
41 %package gnome
42 Summary:        GNOME support for sawmill
43 Group:          X11/Window Managers
44 Group(pl):      X11/Zarz±dcy Okien
45 Requires:       %{name} = %{version}
46
47 %description gnome
48 Optional GNOME support for sawmill. Includes a wm-entries spec, and a
49 control center applet.
50
51 %package themer
52 Summary:        GUI for creating sawmill themes
53 Group:          X11/Window Managers
54 Group(pl):      X11/Zarz±dcy Okien
55 Requires:       %{name} = %{version}
56
57 %description themer
58 Optional theme builder for sawmill. Allows static window themes to be
59 created/edited in a graphical environment.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64 # %patch1 
65
66 %build
67 gettextize --copy --force
68 autoconf
69 LDFLAGS="-s"; export LDFLAGS
70 %configure \
71         --enable-capplet \
72         --with-readline \
73         --with-esd \
74         --with-audiofile \
75         --without-static
76 make
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80 install -d $RPM_BUILD_ROOT%{_datadir}/{gnome/wm-properties,control-center}
81
82 make install DESTDIR=$RPM_BUILD_ROOT
83
84 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/sawmill* \
85         README NEWS FAQ TODO
86
87 %find_lang %{name}
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post
93 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
94
95 %postun
96 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
97
98 %files -f %{name}.lang
99 %defattr(644,root,root,755)
100 %doc *.gz
101 %attr(755,root,root) %{_bindir}/sawmill
102 %attr(755,root,root) %{_bindir}/sawmill-client
103 %attr(755,root,root) %{_bindir}/sawmill-ui
104 %{_datadir}/sawmill
105 %dir %{_libexecdir}/sawmill
106 %dir %{_libexecdir}/sawmill/%{version}
107 %{_libexecdir}/sawmill/%{version}/%{_host}
108 %{_infodir}/sawmill*
109
110 %files gnome
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
115
116 %files themer
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_bindir}/sawmill-themer
119 %{_datadir}/sawmill/%{version}/themer.glade
This page took 0.121248 seconds and 4 git commands to generate.