]> git.pld-linux.org Git - packages/sawfish.git/blob - sawfish.spec
- release 2
[packages/sawfish.git] / sawfish.spec
1 Summary:        A highly configurable and extensible X11 window manager
2 Name:           sawfish
3 Version:        0.29
4 Release:        2
5 License:        GPL
6 Group:          X11/Window Managers
7 Group(es):      X11/Administraadores De Ventanas
8 Group(fr):      X11/Gestionnaires De Fenêtres
9 Group(pl):      X11/Zarz±dcy Okien
10 Source0:        ftp://download.sourceforge.net/pub/sourceforge/sawmill/%{name}-%{version}.tar.gz
11 Patch0:         sawfish-info.patch
12 Patch1:         sawfish-xinerama.patch
13 Patch2:         sawfish-no_version.patch
14 URL:            http://sawmill.sourceforge.net
15 BuildRequires:  esound-devel
16 BuildRequires:  control-center-devel
17 BuildRequires:  gettext-devel
18 BuildRequires:  gnome-libs-devel
19 BuildRequires:  gtk+-devel >= 1.2.0
20 BuildRequires:  imlib-devel >= 1.8.2
21 BuildRequires:  libjpeg-devel
22 BuildRequires:  libpng-devel
23 BuildRequires:  librep-devel >= 0.12
24 BuildRequires:  librep-jl >= 0.12
25 BuildRequires:  libtiff-devel
26 BuildRequires:  libungif-devel
27 BuildRequires:  ncurses-devel
28 BuildRequires:  readline-devel
29 BuildRequires:  rep-gtk >= 0.12
30 Requires:       /usr/sbin/fix-info-dir
31 Obsoletes:      sawmill
32 Obsoletes:      sawmill-gnome
33 Obsoletes:      sawmill-themer
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %define         _prefix         /usr/X11R6
37 %define         _infodir        /usr/share/info
38
39 %description
40 This is an extensible window manager using a LISP-based scripting
41 language--all window decorations are configurable, the basic idea is
42 to have as much user-interface policy as possible controlled through
43 the Lisp language. All configuration may be performed through a GTK
44 interface; sawmill is mostly-GNOME compliant.
45
46 %package gnome
47 Summary:        GNOME support for sawmill
48 Group:          X11/Window Managers
49 Group(es):      X11/Administraadores De Ventanas
50 Group(fr):      X11/Gestionnaires De Fenêtres
51 Group(pl):      X11/Zarz±dcy Okien
52 Requires:       %{name} = %{version}
53
54 %description gnome
55 Optional GNOME support for sawmill. Includes a wm-entries spec, and a
56 control center applet.
57
58 %package themer
59 Summary:        GUI for creating sawmill themes
60 Group:          X11/Window Managers
61 Group(es):      X11/Administraadores De Ventanas
62 Group(fr):      X11/Gestionnaires De Fenêtres
63 Group(pl):      X11/Zarz±dcy Okien
64 Requires:       %{name} = %{version}
65
66 %description themer
67 Optional theme builder for sawmill. Allows static window themes to be
68 created/edited in a graphical environment.
69
70 %prep
71 %setup -q
72 %patch0 -p1
73 %patch2 -p1
74
75 %build
76 gettextize --copy --force
77 autoconf
78 LDFLAGS="-s"; export LDFLAGS
79 %configure \
80         --disable-static \
81         --enable-capplet \
82         --with-readline \
83         --with-esd \
84         --with-audiofile \
85         --without-static
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90 install -d $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
91
92 %{__make} install \
93         DESTDIR=$RPM_BUILD_ROOT \
94         G_MENU_DIR=%{_applnkdir}/Settings
95
96 strip --strip-unneeded $RPM_BUILD_ROOT%{_libexecdir}/sawfish/*.so
97
98 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/sawfish* \
99         README NEWS FAQ TODO
100
101 %find_lang %{name}
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post
107 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
108
109 %postun
110 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
111
112 %files -f %{name}.lang
113 %defattr(644,root,root,755)
114 %doc *.gz
115 %attr(755,root,root) %{_bindir}/sawfish
116 %attr(755,root,root) %{_bindir}/sawfish-client
117 %attr(755,root,root) %{_bindir}/sawfish-ui
118 %{_datadir}/sawfish
119 %dir %{_libexecdir}/sawfish
120 %{_libexecdir}/sawfish/DOC
121 %attr(755,root,root) %{_libexecdir}/sawfish/*.so
122 %attr(755,root,root) %{_libexecdir}/sawfish/*.la
123 %attr(755,root,root) %{_libexecdir}/sawfish/gtk-style
124 %attr(755,root,root) %{_libexecdir}/sawfish/sawfish-menu
125 %{_infodir}/sawfish*
126
127 %files gnome
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_bindir}/sawfish-capplet
130 %{_datadir}/control-center/Sawfish
131 %{_datadir}/gnome/wm-properties/Sawfish.desktop
132
133 %files themer
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_bindir}/sawfish-themer
136 %{_datadir}/sawfish/themer.glade
This page took 0.060062 seconds and 4 git commands to generate.