1 Summary: Applets you can use with AfterStep and compatible window managers
2 Summary(pl.UTF-8): 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!
32 %description -l pl.UTF-8
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}"
79 ## This program is provided by aterm rpm package.
80 # configure2_13 --enable-utmp
84 CFLAGS="%{rpmcflags}" ./configure --prefix=%{_prefix} << EOF
88 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.
99 # export LD_LIBRARY_PATH=%{_prefix}/
102 # --x-includes=%{_includedir} \
103 # --x-libraries=%{_libdir} \
105 # --with-gtk-prefix=%{_prefix} \
106 # --with-gtk-exec-prefix=%{_bindir}
110 ## <sensors/sensors.h> is needed to compile this program.
116 ## xpminit.c:7: dial.xpm: No such file or directory
121 #chess.c: In function `mouseGame':
122 #chess.c:1667: `fd_set' undeclared (first use in this function)
123 #chess.c:1667: (Each undeclared identifier is reported only once
124 #chess.c:1667: for each function it appears in.)
125 #chess.c:1667: parse error before `fdset'
126 #chess.c:1687: `fdset' undeclared (first use in this function)
127 #chess.c: In function `main':
128 #chess.c:1975: warning: return type of `main' is not `int'
132 ## You can try to build this program,
133 ## if only you have got utempter-devel.
134 # cough cough, hack hack -- ewt
136 # --enable-xpm-background \
140 # --enable-next-scroll
144 # sed -e "s/EXTRA_LIBRARIES =/EXTRA_LIBRARIES = -lutempter/" \
145 # Makefile > Makefile.foo
146 # sed -e "s/-lsocket //" Makefile.foo > Makefile
147 # make CXXDEBUGFLAGS="%{rpmcflags}" \
148 # CDEBUGFLAGS="%{rpmcflags}"
151 ## I think this program is not finished yet.
152 ## There is Makefile.in but I can't find anything to
153 ## create Makefile (there is no ./configure or configure.in)
154 ## I think that `mv Makefile.in Makefile' will be enough.
155 ## I will try this later.
158 ## I'll try to build this program later.
160 asmount* | asDrinks* | asbutton* | asdm* | aspbm* | aspostit* \
161 | ascdc-* | astuner* | ASFiles* | as[R-W]* | asfaces* | asmon* \
162 | astrash* | asxmcd* | asampmenu* | randbg-*)
163 ## We don't compile these
166 #just about every other thing supports autoconf
175 rm -rf $RPM_BUILD_ROOT
176 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
178 for package in `ls` ; do
182 make install install.man \
183 AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
184 AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
185 MANDIR=%{_mandir}/man1 \
187 SHLIBDIR=%{_libdir} \
188 DESTDIR=$RPM_BUILD_ROOT
191 ## This program is provided by aterm.rpm package.
193 # AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
194 # AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
195 # DESTDIR=$RPM_BUILD_ROOT
198 ## You can try to install this program,
199 ## if only you have got utempter-devel.
200 ## Don't forget build it first.
201 # make install install.man \
202 # AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
203 # AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
204 # MANDIR=%{_mandir}/man1 \
205 # BINDIR=%{_bindir} \
206 # SHLIBDIR=%{_libdir} \
207 # DESTDIR=$RPM_BUILD_ROOT
210 ## We don't install this.
213 ## We do not install this. (If you want to know why check
214 ## the build section above).
216 # ASCP_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
217 # ASCP_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
218 # prefx=$RPM_BUILD_ROOT \
219 # DESTDIR=$RPM_BUILD_ROOT
221 asppp-* | miniCHESS-* | Tasks-* | xfascd-*)
222 ## There were problems with these programs in build section.
223 ## We can not install it.
225 asmount* | asDrinks* | asbutton* | asdm* | aspbm* | aspostit* \
226 | ascdc-* | astuner* | ASFiles* | as[R-W]* | asfaces* | asmon* \
227 | astrash* | asxmcd* | asampmenu* | randbg-*)
228 ## We don't install these
232 make install install.man \
233 AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
234 AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
235 DESTDIR=$RPM_BUILD_ROOT
240 rm -f $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}/{sessreg,xpmroot,qplot}*
243 rm -rf $RPM_BUILD_ROOT
245 %post -p /sbin/ldconfig
246 %postun -p /sbin/ldconfig
249 %defattr(644,root,root,755)
250 %attr(755,root,root) %{_bindir}/*
252 %{_datadir}/afterstep/*