]> git.pld-linux.org Git - packages/sawfish.git/blob - sawfish.spec
- updated to 1.1 (version for gtk1)
[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.1
5 Release:        1
6 Epoch:          1
7 License:        GPL
8 Group:          X11/Window Managers
9 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/sawmill/%{name}-%{version}-gtk1.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 URL:            http://sawmill.sourceforge.net/
16 Icon:           sawfish.xpm
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  esound-devel
20 BuildRequires:  control-center-devel
21 BuildRequires:  gettext-devel
22 BuildRequires:  librep-devel
23 BuildRequires:  gnome-libs-devel
24 BuildRequires:  gtk+-devel >= 1.2.0
25 BuildRequires:  imlib-devel >= 1.8.2
26 BuildRequires:  libjpeg-devel
27 BuildRequires:  libpng >= 1.0.8
28 BuildRequires:  librep-devel >= 0.14
29 BuildRequires:  libtiff-devel
30 BuildRequires:  libtool
31 BuildRequires:  libungif-devel
32 BuildRequires:  ncurses-devel
33 BuildRequires:  readline-devel
34 BuildRequires:  rep-gtk >= 0.14-3
35 BuildRequires:  rep-gtk-gnome >= 0.14-3
36 BuildRequires:  rep-gtk-libglade >= 0.14-3
37 BuildRequires:  texinfo
38 %define         repexecdir      %(rep-config --execdir || echo "Install_librep-devel_and_rebuild_this_package")
39 Requires:       rep-gtk >= 0.14-3
40 Requires:       rep-gtk-gnome >= 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; sawfish 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. Sawfish jest najbardziej zgodny z GNOME-m.
64
65 %package gnome
66 Summary:        GNOME support for sawfish
67 Summary(pl):    Support GNOME'a dla sawfisha
68 Group:          X11/Window Managers
69 Requires:       %{name} = %{version}
70 Requires:       rep-gtk-gnome >= 0.14-3
71 Requires:       rep-gtk-libglade >= 0.14-3
72
73 %description gnome
74 Optional GNOME support for sawfish. Includes a wm-entries spec, and a
75 control center applet.
76
77 %description gnome -l pl
78 Opcjonalny support GNOME'a dla sawfisha. Zawiera aplet dla
79 control-center oraz wm-entries spec.
80
81 %package themer
82 Summary:        GUI for creating sawfish themes
83 Summary(pl):    GUI do tworzenia tematów dla sawfisha
84 Group:          X11/Window Managers
85 Requires:       %{name} = %{version}
86
87 %description themer
88 Optional theme builder for sawfish. Allows static window themes to be
89 created/edited in a graphical environment.
90
91 %description themer -l pl
92 Opcjonalna aplikacja do tworzenia tematów dla sawfisha. Pozwala na
93 tworzenie/modyfikacjê statycznych tematów w ¶rodowisku graficznym.
94
95 %prep
96 %setup -q -n %{name}-%{version}-gtk1
97 %patch0 -p1
98 %patch1 -p1
99 %patch2 -p1
100 %patch3 -p1
101 %patch4 -p1
102
103 %build
104 %{__gettextize}
105 %{__libtoolize}
106 aclocal
107 %{__autoconf}
108 %{__automake}
109 %configure \
110         --disable-static \
111         --enable-capplet \
112         --enable-themer \
113         --enable-gnome-widgets \
114         --with-readline \
115         --with-esd \
116         --with-audiofile \
117         --with-gnu-ld
118 %{__make} host_type=%{_host}
119
120 %install
121 rm -rf $RPM_BUILD_ROOT
122 install -d $RPM_BUILD_ROOT%{_wmpropsdir}
123
124 %{__make} install \
125         DESTDIR=$RPM_BUILD_ROOT \
126         G_MENU_DIR=%{_applnkdir}/Settings/GNOME \
127         host_type=%{_host}
128
129 install Sawfish.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
130
131 %find_lang %{name}
132
133 %clean
134 rm -rf $RPM_BUILD_ROOT
135
136 %post
137 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
138
139 %postun
140 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
141
142 %files -f %{name}.lang
143 %defattr(644,root,root,755)
144 %doc README NEWS FAQ TODO
145 %attr(755,root,root) %{_bindir}/sawfish
146 %attr(755,root,root) %{_bindir}/sawfish-client
147 %attr(755,root,root) %{_bindir}/sawfish-ui
148 %dir %{_datadir}/sawfish
149 %{_datadir}/sawfish/[^t]*
150 %{_datadir}/sawfish/themes
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 %{repexecdir}/sawfish
169 %attr(755,root,root) %{repexecdir}/sawfish/*.so
170 %attr(755,root,root) %{repexecdir}/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.048629 seconds and 4 git commands to generate.