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 # Source0-md5: 9cdd656d4b2b36100cde4675602082b3
10 Patch0: %{name}-1.5beta1-glibc.patch
11 Patch1: xiterm-utmp.patch
12 Patch2: as-apps-miniCHESS-change_install_dirs.patch
13 Patch3: as-apps-ascd-configure_and_install_bugfix.patch
14 #Patch4: ascp-paths.patch
15 #Patch5: aterm-utemp.patch
16 URL: http://www.tigr.net/afterstep/
17 Requires: /usr/sbin/utempter
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 What's a cool window manager without some cool applets? Well... it's
23 still cool, but these applets which can be used in the Wharf module
24 for AfterStep or Window Maker can add both spice and productivity to
25 your preferred window manager, such as a handy clock and information
26 about system resources.
28 If you've installed the AfterStep packages, you should also install
29 these packages. Enjoy!
32 Czym jest fajny zarz±dca okien bez fajnych apletów? Có¿... jest nadal
33 fajnym zarz±dc± okien, ale aplety, które mog± byæ u¿ywane w module
34 Wharf AfterStepa lub Window Makera, mog³yby zwiêkszyæ efektywno¶æ i
35 efektowno¶æ twojego ulubionego zarz±dcy okien.
37 Je¿eli masz zainstalowanego AfterStepa to powiniene¶ zainstalowaæ
38 tak¿e ten pakiet. Mi³ej zabawy!
43 for archive in *.tar.gz ; do
55 mv ascd-0.12.1/ascd/themes/clean.tar ascd-0.12.1/ascd/themes/cleandir.tar
56 for package in `ls` ; do
64 %{_datadir}/afterstep/AScd
68 make Makefiles CXXDEBUGFLAGS="%{rpmcflags}" \
69 CDEBUGFLAGS="%{rpmcflags}"
70 make MANDIR=%{_mandir}/man1 \
73 CXXDEBUGFLAGS="%{rpmcflags}" \
74 CDEBUGFLAGS="%{rpmcflags}"
78 ## This program is provided by aterm rpm package.
80 # configure2_13 --enable-utmp
84 CFLAGS="%{rpmcflags}" ./configure --prefix=%{_prefix} << EOF
88 make CFLAGS="%{rpmcflags}"
93 ## There is strange problem with this program.
94 ## The ./configure script tries to run /usr/local/bin/gtk-config
95 ## program. In PLD it should be %{_bindir}/gtk-config.
98 ## --with-gtk-exec-prefix
99 ## or --disable-gtktest
100 ## not help here. I don't now why.
102 # export LD_LIBRARY_PATH=%{_prefix}/
105 # --x-includes=%{_includedir} \
106 # --x-libraries=%{_libdir} \
108 # --with-gtk-prefix=%{_prefix} \
109 # --with-gtk-exec-prefix=%{_bindir}
114 ## <sensors/sensors.h> is needed to compile this program.
122 ## xpminit.c:7: dial.xpm: No such file or directory
129 #chess.c: In function `mouseGame':
130 #chess.c:1667: `fd_set' undeclared (first use in this function)
131 #chess.c:1667: (Each undeclared identifier is reported only once
132 #chess.c:1667: for each function it appears in.)
133 #chess.c:1667: parse error before `fdset'
134 #chess.c:1687: `fdset' undeclared (first use in this function)
135 #chess.c: In function `main':
136 #chess.c:1975: warning: return type of `main' is not `int'
142 ## You can try to build this program,
143 ## if only you have got utempter-devel.
145 # cough cough, hack hack -- ewt
147 # --enable-xpm-background \
151 # --enable-next-scroll
155 # sed -e "s/EXTRA_LIBRARIES =/EXTRA_LIBRARIES = -lutempter/" \
156 # Makefile > Makefile.foo
157 # sed -e "s/-lsocket //" Makefile.foo > Makefile
158 # make CXXDEBUGFLAGS="%{rpmcflags}" \
159 # CDEBUGFLAGS="%{rpmcflags}"
163 ## I think this program is not finished yet.
164 ## There is Makefile.in but I can't find anything to
165 ## create Makefile (there is no ./configure or configure.in)
166 ## I think that `mv Makefile.in Makefile' will be enough.
167 ## I will try this later.
170 ## I'll try to build this program later.
173 asmount* | asDrinks* | asbutton* | asdm* | aspbm* | aspostit* \
174 | ascdc-* | astuner* | ASFiles* | as[R-W]* | asfaces* | asmon* \
175 | astrash* | asxmcd* | asampmenu* | randbg-*)
176 ## We don't compile these
180 #just about every other thing supports autoconf
190 rm -rf $RPM_BUILD_ROOT
191 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
193 for package in `ls` ; do
198 make install install.man \
199 AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
200 AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
201 MANDIR=%{_mandir}/man1 \
203 SHLIBDIR=%{_libdir} \
204 DESTDIR=$RPM_BUILD_ROOT
208 ## This program is provided by aterm.rpm package.
211 # AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
212 # AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
213 # DESTDIR=$RPM_BUILD_ROOT
217 ## You can try to install this program,
218 ## if only you have got utempter-devel.
219 ## Don't forget build it first.
222 # make install install.man \
223 # AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
224 # AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
225 # MANDIR=%{_mandir}/man1 \
226 # BINDIR=%{_bindir} \
227 # SHLIBDIR=%{_libdir} \
228 # DESTDIR=$RPM_BUILD_ROOT
232 ## We don't install this.
236 ## We do not install this. (If you want to know why check
237 ## the build section above).
240 # ASCP_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
241 # ASCP_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
242 # prefx=$RPM_BUILD_ROOT \
243 # DESTDIR=$RPM_BUILD_ROOT
246 asppp-* | miniCHESS-* | Tasks-* | xfascd-*)
247 ## There were problems with these programs in build section.
248 ## We can not install it.
250 asmount* | asDrinks* | asbutton* | asdm* | aspbm* | aspostit* \
251 | ascdc-* | astuner* | ASFiles* | as[R-W]* | asfaces* | asmon* \
252 | astrash* | asxmcd* | asampmenu* | randbg-*)
253 ## We don't install these
258 make install install.man \
259 AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
260 AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
261 DESTDIR=$RPM_BUILD_ROOT
266 rm -f $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}/{sessreg,xpmroot,qplot}*
269 rm -rf $RPM_BUILD_ROOT
271 %post -p /sbin/ldconfig
272 %postun -p /sbin/ldconfig
275 %defattr(644,root,root,755)
276 %attr(755,root,root) %{_bindir}/*
278 %{_datadir}/afterstep/*