]> git.pld-linux.org Git - packages/sawfish.git/blob - sawfish.spec
- removed all Group fields translations (oure rpm now can handle translating
[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 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 URL:            http://sawmill.sourceforge.net/
17 Icon:           sawfish.xpm
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  esound-devel
21 BuildRequires:  control-center-devel
22 BuildRequires:  gettext-devel
23 BuildRequires:  librep-devel
24 BuildRequires:  gnome-libs-devel
25 BuildRequires:  gtk+-devel >= 1.2.0
26 BuildRequires:  imlib-devel >= 1.8.2
27 BuildRequires:  libjpeg-devel
28 BuildRequires:  libpng >= 1.0.8
29 BuildRequires:  librep-devel >= 0.14
30 BuildRequires:  libtiff-devel
31 BuildRequires:  libtool
32 BuildRequires:  libungif-devel
33 BuildRequires:  ncurses-devel
34 BuildRequires:  readline-devel
35 BuildRequires:  rep-gtk >= 0.14-3
36 BuildRequires:  rep-gtk-gnome >= 0.14-3
37 BuildRequires:  rep-gtk-libglade >= 0.14-3
38 BuildRequires:  texinfo
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 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 sawmill. Includes a wm-entries spec, and a
76 control center applet.
77
78 %description -l pl gnome
79 Opcjonalny support GNOME'a dla sawmill'a. Zawiera aplet dla control-center
80 oraz wm-entries spec.
81
82 %package themer
83 Summary:        GUI for creating sawmill themes
84 Summary(pl):    GUI do tworzenia tematów dla sawmill'a
85 Group:          X11/Window Managers
86 Requires:       %{name} = %{version}
87
88 %description themer
89 Optional theme builder for sawmill. Allows static window themes to be
90 created/edited in a graphical environment.
91
92 %description -l pl themer
93 Opcjonalna aplikacja do tworzenia tematów dla sawfish'a. 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
105 %build
106 gettextize --copy --force
107 libtoolize --copy --force
108 aclocal
109 autoconf
110 automake -a -c || :
111 %configure \
112         --disable-static \
113         --enable-capplet \
114         --enable-themer \
115         --enable-gnome-widgets \
116         --with-readline \
117         --with-esd \
118         --with-audiofile \
119         --with-gnu-ld
120 %{__make} host_type=%{_host}
121
122 %install
123 rm -rf $RPM_BUILD_ROOT
124 install -d $RPM_BUILD_ROOT%{_wmpropsdir}
125
126 %{__make} install \
127         DESTDIR=$RPM_BUILD_ROOT \
128         G_MENU_DIR=%{_applnkdir}/Settings/GNOME \
129         host_type=%{_host}
130
131 install Sawfish.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
132
133 gzip -9nf README NEWS FAQ TODO
134
135 %find_lang %{name}
136
137 %clean
138 rm -rf $RPM_BUILD_ROOT
139
140 %post
141 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
142
143 %postun
144 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
145
146 %files -f %{name}.lang
147 %defattr(644,root,root,755)
148 %doc *.gz
149 %attr(755,root,root) %{_bindir}/sawfish
150 %attr(755,root,root) %{_bindir}/sawfish-client
151 %attr(755,root,root) %{_bindir}/sawfish-ui
152 %{_datadir}/sawfish
153
154 %{_pixmapsdir}/*
155
156 %dir %{_libexecdir}/sawfish
157 %dir %{_libexecdir}/sawfish/%{_host}
158 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/*.so
159 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/*.la
160 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/gtk-style
161 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish-menu
162 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish-about
163 %dir %{_libexecdir}/sawfish/%{_host}/sawfish
164 %dir %{_libexecdir}/sawfish/%{_host}/sawfish/wm
165 %dir %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util
166 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util/*.so
167 %attr(755,root,root) %{_libexecdir}/sawfish/%{_host}/sawfish/wm/util/*.la
168 %{_libexecdir}/sawfish/%{_host}/DOC
169
170 %dir %{repexecdir}/sawfish
171 %attr(755,root,root) %{repexecdir}/sawfish/*.so
172 %attr(755,root,root) %{repexecdir}/sawfish/*.la
173
174 %{_infodir}/sawfish*
175
176 %files gnome
177 %defattr(644,root,root,755)
178 %attr(755,root,root) %{_bindir}/sawfish-capplet
179 %{_datadir}/control-center/Sawfish
180 %{_wmpropsdir}/Sawfish.desktop
181
182 %files themer
183 %defattr(644,root,root,755)
184 %attr(755,root,root) %{_bindir}/sawfish-themer
185 %{_datadir}/sawfish/themer.glade
This page took 0.046285 seconds and 4 git commands to generate.