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