]> git.pld-linux.org Git - packages/sawfish.git/blob - sawfish.spec
Added BuildReq (librep-devel was missing)
[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:        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:        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}-po.patch
19 #Patch5:         %{name}-config.h.patch
20 Patch6:         %{name}-windowmenu.patch
21 #Patch7:                %{name}-use_system_libtool.patch
22 URL:            http://sawmill.sourceforge.net/
23 Icon:           sawfish.xpm
24 BuildRequires:  autoconf
25 BuildRequires:  automake
26 BuildRequires:  esound-devel
27 BuildRequires:  control-center-devel
28 BuildRequires:  gettext-devel
29 BuildRequires:  librep-devel
30 BuildRequires:  gnome-libs-devel
31 BuildRequires:  gtk+-devel >= 1.2.0
32 BuildRequires:  imlib-devel >= 1.8.2
33 BuildRequires:  libjpeg-devel
34 BuildRequires:  libpng >= 1.0.8
35 BuildRequires:  librep-devel >= 0.14
36 BuildRequires:  libtiff-devel
37 BuildRequires:  libtool
38 BuildRequires:  libungif-devel
39 BuildRequires:  ncurses-devel
40 BuildRequires:  readline-devel
41 BuildRequires:  rep-gtk >= 0.14-3
42 BuildRequires:  rep-gtk-gnome >= 0.14-3
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 %patch6 -p1
117 #%patch7 -p1
118
119 %build
120 gettextize --copy --force
121 libtoolize --copy --force
122 aclocal
123 autoconf
124 automake -a -c || :
125 %configure \
126         --disable-static \
127         --enable-capplet \
128         --enable-themer \
129         --enable-gnome-widgets \
130         --with-readline \
131         --with-esd \
132         --with-audiofile \
133         --with-gnu-ld
134 %{__make}
135
136 %install
137 rm -rf $RPM_BUILD_ROOT
138 install -d $RPM_BUILD_ROOT%{_wmpropsdir}
139
140 %{__make} install \
141         DESTDIR=$RPM_BUILD_ROOT \
142         G_MENU_DIR=%{_applnkdir}/Settings/GNOME
143
144 install Sawfish.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
145
146 gzip -9nf README NEWS FAQ TODO
147
148 %find_lang %{name}
149
150 %clean
151 rm -rf $RPM_BUILD_ROOT
152
153 %post
154 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
155
156 %postun
157 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
158
159 %files -f %{name}.lang
160 %defattr(644,root,root,755)
161 %doc *.gz
162 %attr(755,root,root) %{_bindir}/sawfish
163 %attr(755,root,root) %{_bindir}/sawfish-client
164 %attr(755,root,root) %{_bindir}/sawfish-ui
165 %{_datadir}/sawfish
166
167 %{_pixmapsdir}/*
168
169 %dir %{_libexecdir}/sawfish
170 %dir %{_libexecdir}/sawfish/%{_host}
171 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/*.so
172 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/*.la
173 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/gtk-style
174 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish-menu
175 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish-about
176 %dir %{_libexecdir}/sawfish/%{_host}/sawfish
177 %dir %{_libexecdir}/sawfish/%{_host}/sawfish/wm
178 %dir %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util
179 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util/*.so
180 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util/*.la
181 %{_libexecdir}/sawfish/%{_host}/DOC
182
183 %dir %{repexecdir}/sawfish
184 %attr(755,root,root) %{repexecdir}/sawfish/*.so
185 %attr(755,root,root) %{repexecdir}/sawfish/*.la
186
187 %{_infodir}/sawfish*
188
189 %files gnome
190 %defattr(644,root,root,755)
191 %attr(755,root,root) %{_bindir}/sawfish-capplet
192 %{_datadir}/control-center/Sawfish
193 %{_wmpropsdir}/Sawfish.desktop
194
195 %files themer
196 %defattr(644,root,root,755)
197 %attr(755,root,root) %{_bindir}/sawfish-themer
198 %{_datadir}/sawfish/themer.glade
This page took 0.038484 seconds and 4 git commands to generate.