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