]> git.pld-linux.org Git - packages/sawfish.git/blob - sawfish.spec
- moved /usr/X11R6/share/gnome/wm-properties to /usr/X11R6/share/wm-properties
[packages/sawfish.git] / sawfish.spec
1 Summary:        A highly configurable and extensible X11 window manager
2 Summary(pl):    Window Manad¿er dla X11 o du¿ych mo¿liwo¶ciach konfiguracyjnych i skalowalno¶ci
3 Name:           sawfish
4 Version:        0.38
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Group:          X11/Window Managers
9 Group(de):      X11/Fenstermanager
10 Group(es):      X11/Administraadores De Ventanas
11 Group(fr):      X11/Gestionnaires De Fenêtres
12 Group(pl):      X11/Zarz±dcy Okien
13 Source0:        ftp://sawmill.sourceforge.net/pub/sawmill/%{name}-%{version}.tar.gz
14 Patch0:         %{name}-info.patch
15 Patch1:         %{name}-no_version.patch
16 Patch2:         %{name}-no_libnsl.spec
17 Patch3:         %{name}-make.patch
18 URL:            http://sawmill.sourceforge.net/
19 Icon:           sawfish.xpm
20 Requires:       rep-gtk >= 0.14-3
21 BuildRequires:  autoconf
22 BuildRequires:  esound-devel
23 BuildRequires:  control-center-devel
24 BuildRequires:  gettext-devel
25 BuildRequires:  gnome-libs-devel
26 BuildRequires:  gtk+-devel >= 1.2.0
27 BuildRequires:  imlib-devel >= 1.8.2
28 BuildRequires:  libjpeg-devel
29 BuildRequires:  libpng >= 1.0.8
30 BuildRequires:  librep-devel >= 0.13.2-2
31 BuildRequires:  libtiff-devel
32 BuildRequires:  libungif-devel
33 BuildRequires:  ncurses-devel
34 BuildRequires:  readline-devel
35 BuildRequires:  gmp-devel
36 BuildRequires:  rep-gtk >= 0.14-3
37 BuildRequires:  rep-gtk-gnome >= 0.14-3
38 BuildRequires:  rep-gtk-libglade >= 0.14-3
39 Obsoletes:      sawmill
40 Obsoletes:      sawmill-gnome
41 Obsoletes:      sawmill-themer
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44 %define         _prefix         /usr/X11R6
45 %define         _wmpropsdir     %{_datadir}/wm-properties
46
47 %description
48 This is an extensible window manager using a LISP-based scripting
49 language--all window decorations are configurable, the basic idea is
50 to have as much user-interface policy as possible controlled through
51 the Lisp language. All configuration may be performed through a GTK
52 interface; sawmill is mostly-GNOME compliant.
53
54 %description -l pl
55 Window manad¿er o du¿ych mo¿liwo¶ciach rozszerzania, u¿ywaj±cy
56 bazowanego na LISP'ie jêzyka skryptowego, dziêki czemu wszystkie
57 dodatki do okien s± configurowalne. Ogóln± ide± jest, aby daæ jak
58 najwiêksz± kontrolê w rêce u¿ytkownika poprzez graficzny interfejs
59 dziêki w³a¶nie LISP'owi.
60 Sawmill jest najbardziej zgodny z GNOME'em.
61
62 %package gnome
63 Summary:        GNOME support for sawmill
64 Summary(pl):    Support GNOME'a dla sawmill'a
65 Group:          X11/Window Managers
66 Group(de):      X11/Fenstermanager
67 Group(es):      X11/Administraadores De Ventanas
68 Group(fr):      X11/Gestionnaires De Fenêtres
69 Group(pl):      X11/Zarz±dcy Okien
70 Requires:       %{name} = %{version}
71 Requires:       rep-gtk-gnome >= 0.14-3
72 Requires:       rep-gtk-libglade >= 0.14-3
73
74 %description gnome
75 Optional GNOME support for sawmill. Includes a wm-entries spec, and a
76 control center applet.
77
78 %description -l pl gnome
79 Opcjonalny support GNOME'a dla sawmill'a. Zawiera aplet dla control-center
80 oraz wm-entries spec.
81
82 %package themer
83 Summary:        GUI for creating sawmill themes
84 Summary(pl):    GUI do tworzenia tematów dla sawmill'a
85 Group:          X11/Window Managers
86 Group(de):      X11/Fenstermanager
87 Group(es):      X11/Administraadores De Ventanas
88 Group(fr):      X11/Gestionnaires De Fenêtres
89 Group(pl):      X11/Zarz±dcy Okien
90 Requires:       %{name} = %{version}
91
92 %description themer
93 Optional theme builder for sawmill. Allows static window themes to be
94 created/edited in a graphical environment.
95
96 %description -l pl themer
97 Opcjonalna aplikacja do tworzenia tematów dla sawfish'a. Pozwala na 
98 tworzenie/modyfikacjê statycznych tematów w ¶rodowisku graficznym.
99
100 %prep
101 %setup -q
102 %patch0 -p1
103 %patch1 -p1
104 %patch2 -p1
105 %patch3 -p1
106
107 %build
108 gettextize --copy --force
109 autoconf
110 %configure \
111         --disable-static \
112         --enable-capplet \
113         --enable-themer \
114         --enable-gnome-widgets \
115         --with-readline \
116         --with-esd \
117         --with-audiofile \
118         --disable-static
119 %{__make}
120
121 %install
122 rm -rf $RPM_BUILD_ROOT
123 install -d $RPM_BUILD_ROOT%{_wmpropsdir}
124
125 %{__make} install \
126         DESTDIR=$RPM_BUILD_ROOT \
127         G_MENU_DIR=%{_applnkdir}/Settings/GNOME
128
129 install Sawfish.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
130
131 gzip -9nf README NEWS FAQ TODO
132
133 %find_lang %{name}
134
135 %clean
136 rm -rf $RPM_BUILD_ROOT
137
138 %post
139 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
140
141 %postun
142 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
143
144 %files -f %{name}.lang
145 %defattr(644,root,root,755)
146 %doc *.gz
147 %attr(755,root,root) %{_bindir}/sawfish
148 %attr(755,root,root) %{_bindir}/sawfish-client
149 %attr(755,root,root) %{_bindir}/sawfish-ui
150 %{_datadir}/sawfish
151
152 %{_pixmapsdir}/*
153
154 %dir %{_libexecdir}/sawfish
155 %dir %{_libexecdir}/sawfish/%{_host}
156 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/*.so
157 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/*.la
158 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/gtk-style
159 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish-menu
160 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish-about
161 %dir %{_libexecdir}/sawfish/%{_host}/sawfish
162 %dir %{_libexecdir}/sawfish/%{_host}/sawfish/wm
163 %dir %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util
164 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util/*.so
165 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util/*.la
166 %{_libexecdir}/sawfish/%{_host}/DOC
167
168 %dir /usr/libexec/rep/%{_host}/sawfish
169 %attr(755,root,root) /usr/libexec/rep/%{_host}/sawfish/*.so
170 %attr(755,root,root) /usr/libexec/rep/%{_host}/sawfish/*.la
171
172 %{_infodir}/sawfish*
173
174 %files gnome
175 %defattr(644,root,root,755)
176 %attr(755,root,root) %{_bindir}/sawfish-capplet
177 %{_datadir}/control-center/Sawfish
178 %{_wmpropsdir}/Sawfish.desktop
179
180 %files themer
181 %defattr(644,root,root,755)
182 %attr(755,root,root) %{_bindir}/sawfish-themer
183 %{_datadir}/sawfish/themer.glade
This page took 0.076815 seconds and 4 git commands to generate.