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 Patch6: %{name}-home_etc.patch
17 URL: http://www.tigr.net/afterstep/
18 Requires: /usr/sbin/utempter
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 What's a cool window manager without some cool applets? Well... it's
24 still cool, but these applets which can be used in the Wharf module
25 for AfterStep or Window Maker can add both spice and productivity to
26 your preferred window manager, such as a handy clock and information
27 about system resources.
29 If you've installed the AfterStep packages, you should also install
30 these packages. Enjoy!
33 Czym jest fajny zarz±dca okien bez fajnych apletów? Có¿... jest nadal
34 fajnym zarz±dc± okien, ale aplety, które mog± byæ u¿ywane w module
35 Wharf AfterStepa lub Window Makera, mog³yby zwiêkszyæ efektywno¶æ i
36 efektowno¶æ twojego ulubionego zarz±dcy okien.
38 Je¿eli masz zainstalowanego AfterStepa to powiniene¶ zainstalowaæ
39 tak¿e ten pakiet. Mi³ej zabawy!
44 for archive in *.tar.gz ; do
57 mv ascd-0.12.1/ascd/themes/clean.tar ascd-0.12.1/ascd/themes/cleandir.tar
58 for package in `ls` ; do
66 %{_datadir}/afterstep/AScd
70 make Makefiles CXXDEBUGFLAGS="%{rpmcflags}" \
71 CDEBUGFLAGS="%{rpmcflags}"
72 make MANDIR=%{_mandir}/man1 \
75 CXXDEBUGFLAGS="%{rpmcflags}" \
76 CDEBUGFLAGS="%{rpmcflags}"
80 ## This program is provided by aterm rpm package.
82 # configure2_13 --enable-utmp
86 CFLAGS="%{rpmcflags}" ./configure --prefix=%{_prefix} << EOF
90 make CFLAGS="%{rpmcflags}"
95 ## There is strange problem with this program.
96 ## The ./configure script tries to run /usr/local/bin/gtk-config
97 ## program. In PLD it should be %{_bindir}/gtk-config.
100 ## --with-gtk-exec-prefix
101 ## or --disable-gtktest
102 ## not help here. I don't now why.
104 # export LD_LIBRARY_PATH=%{_prefix}/
107 # --x-includes=%{_includedir} \
108 # --x-libraries=%{_libdir} \
110 # --with-gtk-prefix=%{_prefix} \
111 # --with-gtk-exec-prefix=%{_bindir}
116 ## <sensors/sensors.h> is needed to compile this program.
124 ## xpminit.c:7: dial.xpm: No such file or directory
131 #chess.c: In function `mouseGame':
132 #chess.c:1667: `fd_set' undeclared (first use in this function)
133 #chess.c:1667: (Each undeclared identifier is reported only once
134 #chess.c:1667: for each function it appears in.)
135 #chess.c:1667: parse error before `fdset'
136 #chess.c:1687: `fdset' undeclared (first use in this function)
137 #chess.c: In function `main':
138 #chess.c:1975: warning: return type of `main' is not `int'
144 ## You can try to build this program,
145 ## if only you have got utempter-devel.
147 # cough cough, hack hack -- ewt
149 # --enable-xpm-background \
153 # --enable-next-scroll
157 # sed -e "s/EXTRA_LIBRARIES =/EXTRA_LIBRARIES = -lutempter/" \
158 # Makefile > Makefile.foo
159 # sed -e "s/-lsocket //" Makefile.foo > Makefile
160 # make CXXDEBUGFLAGS="%{rpmcflags}" \
161 # CDEBUGFLAGS="%{rpmcflags}"
165 ## I think this program is not finished yet.
166 ## There is Makefile.in but I can't find anything to
167 ## create Makefile (there is no ./configure or configure.in)
168 ## I think that `mv Makefile.in Makefile' will be enough.
169 ## I will try this later.
172 ## I'll try to build this program later.
175 asmount* | asDrinks* | asbutton* | asdm* | aspbm* | aspostit* \
176 | ascdc-* | astuner* | ASFiles* | as[R-W]* | asfaces* | asmon* \
177 | astrash* | asxmcd* | asampmenu* | randbg-*)
178 ## We don't compile these
182 #just about every other thing supports autoconf
192 rm -rf $RPM_BUILD_ROOT
193 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
195 for package in `ls` ; do
200 make install install.man \
201 AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
202 AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
203 MANDIR=%{_mandir}/man1 \
205 SHLIBDIR=%{_libdir} \
206 DESTDIR=$RPM_BUILD_ROOT
210 ## This program is provided by aterm.rpm package.
213 # AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
214 # AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
215 # DESTDIR=$RPM_BUILD_ROOT
219 ## You can try to install this program,
220 ## if only you have got utempter-devel.
221 ## Don't forget build it first.
224 # make install install.man \
225 # AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
226 # AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
227 # MANDIR=%{_mandir}/man1 \
228 # BINDIR=%{_bindir} \
229 # SHLIBDIR=%{_libdir} \
230 # DESTDIR=$RPM_BUILD_ROOT
234 ## We don't install this.
238 ## We do not install this. (If you want to know why check
239 ## the build section above).
242 # ASCP_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
243 # ASCP_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
244 # prefx=$RPM_BUILD_ROOT \
245 # DESTDIR=$RPM_BUILD_ROOT
248 asppp-* | miniCHESS-* | Tasks-* | xfascd-*)
249 ## There were problems with these programs in build section.
250 ## We can not install it.
252 asmount* | asDrinks* | asbutton* | asdm* | aspbm* | aspostit* \
253 | ascdc-* | astuner* | ASFiles* | as[R-W]* | asfaces* | asmon* \
254 | astrash* | asxmcd* | asampmenu* | randbg-*)
255 ## We don't install these
260 make install install.man \
261 AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
262 AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
263 DESTDIR=$RPM_BUILD_ROOT
268 rm -f $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}/{sessreg,xpmroot,qplot}*
271 rm -rf $RPM_BUILD_ROOT
273 %post -p /sbin/ldconfig
274 %postun -p /sbin/ldconfig
277 %defattr(644,root,root,755)
278 %attr(755,root,root) %{_bindir}/*
280 %{_datadir}/afterstep/*