1 Summary: Applets you can use with AfterStep and compatible window managers
2 Summary(pl): Aplety, których mo¿esz u¿ywaæ z AfterStepem oraz innymi zarz±dcami okien, które s± z nim kompatybilne
7 Group: X11/Window Managers/Tools
8 Source0: http://www.tigr.net/afterstep/download/as-apps-%{version}.tar
9 Patch0: %{name}-1.5beta1-glibc.patch
10 Patch1: xiterm-utmp.patch
11 Patch2: as-apps-miniCHESS-change_install_dirs.patch
12 Patch3: as-apps-ascd-configure_and_install_bugfix.patch
13 #Patch4: ascp-paths.patch
14 #Patch5: aterm-utemp.patch
15 URL: http://www.tigr.net/afterstep/
16 Requires: /usr/sbin/utempter
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 What's a cool window manager without some cool applets? Well... it's
22 still cool, but these applets which can be used in the Wharf module
23 for AfterStep or Window Maker can add both spice and productivity to
24 your preferred window manager, such as a handy clock and information
25 about system resources.
27 If you've installed the AfterStep packages, you should also install
28 these packages. Enjoy!
31 Czym jest fajny zarz±dca okien bez fajnych apletów? Có¿... jest nadal
32 fajnym zarz±dc± okien, ale aplety, które mog± byæ u¿ywane w module
33 Wharf AfterStepa lub Window Makera, mog³yby zwiêkszyæ efektywno¶æ i
34 efektowno¶æ twojego ulubionego zarz±dcy okien.
36 Je¿eli masz zainstalowanego AfterStepa to powiniene¶ zainstalowaæ
37 tak¿e ten pakiet. Mi³ej zabawy!
42 for archive in *.tar.gz ; do
54 for package in `ls` ; do
62 %{_datadir}/afterstep/AScd
66 make Makefiles CXXDEBUGFLAGS="%{rpmcflags}" \
67 CDEBUGFLAGS="%{rpmcflags}"
68 make MANDIR=%{_mandir}/man1 \
71 CXXDEBUGFLAGS="%{rpmcflags}" \
72 CDEBUGFLAGS="%{rpmcflags}"
76 ## This program is provided by aterm rpm package.
78 # configure2_13 --enable-utmp
82 CFLAGS="%{rpmcflags}" ./configure --prefix=%{_prefix} << EOF
86 make CFLAGS="%{rpmcflags}"
91 ## There is strange problem with this program.
92 ## The ./configure script tries to run /usr/local/bin/gtk-config
93 ## program. In PLD it should be %{_bindir}/gtk-config.
96 ## --with-gtk-exec-prefix
97 ## or --disable-gtktest
98 ## not help here. I don't now why.
100 # export LD_LIBRARY_PATH=%{_prefix}/
103 # --x-includes=%{_includedir} \
104 # --x-libraries=%{_libdir} \
106 # --with-gtk-prefix=%{_prefix} \
107 # --with-gtk-exec-prefix=%{_bindir}
112 ## <sensors/sensors.h> is needed to compile this program.
120 ## xpminit.c:7: dial.xpm: No such file or directory
127 #chess.c: In function `mouseGame':
128 #chess.c:1667: `fd_set' undeclared (first use in this function)
129 #chess.c:1667: (Each undeclared identifier is reported only once
130 #chess.c:1667: for each function it appears in.)
131 #chess.c:1667: parse error before `fdset'
132 #chess.c:1687: `fdset' undeclared (first use in this function)
133 #chess.c: In function `main':
134 #chess.c:1975: warning: return type of `main' is not `int'
140 ## You can try to build this program,
141 ## if only you have got utempter-devel.
143 # cough cough, hack hack -- ewt
145 # --enable-xpm-background \
149 # --enable-next-scroll
153 # sed -e "s/EXTRA_LIBRARIES =/EXTRA_LIBRARIES = -lutempter/" \
154 # Makefile > Makefile.foo
155 # sed -e "s/-lsocket //" Makefile.foo > Makefile
156 # make CXXDEBUGFLAGS="%{rpmcflags}" \
157 # CDEBUGFLAGS="%{rpmcflags}"
161 ## I think this program is not finished yet.
162 ## There is Makefile.in but I can't find anything to
163 ## create Makefile (there is no ./configure or configure.in)
164 ## I think that `mv Makefile.in Makefile' will be enough.
165 ## I will try this later.
168 ## I'll try to build this program later.
171 asmount* | asDrinks* | asbutton* | asdm* | aspbm* | aspostit* \
172 | ascdc-* | astuner* | ASFiles* | as[R-W]* | asfaces* | asmon* \
173 | astrash* | asxmcd* | asampmenu* | randbg-*)
174 ## We don't compile these
178 #just about every other thing supports autoconf
188 rm -rf $RPM_BUILD_ROOT
189 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
191 for package in `ls` ; do
196 make install install.man \
197 AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
198 AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
199 MANDIR=%{_mandir}/man1 \
201 SHLIBDIR=%{_libdir} \
202 DESTDIR=$RPM_BUILD_ROOT
206 ## This program is provided by aterm.rpm package.
209 # AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
210 # AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
211 # DESTDIR=$RPM_BUILD_ROOT
215 ## You can try to install this program,
216 ## if only you have got utempter-devel.
217 ## Don't forget build it first.
220 # make install install.man \
221 # AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
222 # AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
223 # MANDIR=%{_mandir}/man1 \
224 # BINDIR=%{_bindir} \
225 # SHLIBDIR=%{_libdir} \
226 # DESTDIR=$RPM_BUILD_ROOT
230 ## We don't install this.
234 ## We do not install this. (If you want to know why check
235 ## the build section above).
238 # ASCP_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
239 # ASCP_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
240 # prefx=$RPM_BUILD_ROOT \
241 # DESTDIR=$RPM_BUILD_ROOT
244 asppp-* | miniCHESS-* | Tasks-* | xfascd-*)
245 ## There were problems with these programs in build section.
246 ## We can not install it.
248 asmount* | asDrinks* | asbutton* | asdm* | aspbm* | aspostit* \
249 | ascdc-* | astuner* | ASFiles* | as[R-W]* | asfaces* | asmon* \
250 | astrash* | asxmcd* | asampmenu* | randbg-*)
251 ## We don't install these
256 make install install.man \
257 AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
258 AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
259 DESTDIR=$RPM_BUILD_ROOT
264 rm -f $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}/{sessreg,xpmroot,qplot}*
267 rm -rf $RPM_BUILD_ROOT
269 %post -p /sbin/ldconfig
270 %postun -p /sbin/ldconfig
273 %defattr(644,root,root,755)
274 %attr(755,root,root) %{_bindir}/*
276 %{_datadir}/afterstep/*