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