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