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 Group(pl): X11/Zarz±dcy okien/Narzêdzia
9 Source: http://www.tigr.net/afterstep/as-apps/download/as-apps-%{version}.tar
10 Patch0: AfterStep-APPS-1.5beta1-glibc.patch
11 Patch1: ascp-paths.patch
12 Patch2: as-apps-compile.patch
13 Patch3: aterm-utmp.patch
14 Patch4: xiterm-utmp.patch
15 Prereq: /sbin/ldconfig
16 Requires: /usr/sbin/utempter
17 BuildRoot: /tmp/%{name}-%{version}-root
19 %define _prefix /usr/X11R6
20 %define _mandir /usr/X11R6/man
23 What's a cool window manager without some cool applets?
24 Well... it's still cool, but these applets which can
25 be used in the Wharf module for AfterStep or Window
26 Maker can add both spice and productivity to your
27 preferred window manager, such as a handy clock and
28 information about system resources.
30 If you've installed the AfterStep packages, you
31 should also install these packages. Enjoy!
34 Czym jest fajny zarz±dca okien bez fajnych apletów?
35 Có¿... jest nadal fajnym zarz±dc± okien, ale aplety, które mog± byæ u¿ywane
36 w module Wharf AfterStepa lub Window Makera, mog³yby zwiêkszyæ efektywno¶æ
37 i efektowno¶æ twojego ulubionego zarz±dcy okien.
39 Je¿eli masz zainstalowanego AfterStepa to powiniene¶ zainstalowaæ tak¿e ten
45 for archive in *.tar.gz ; do
55 for package in `ls` ; do
67 patch -p2 -b --suffix .compile < %{PATCH2}
69 make Makefiles CXXDEBUGFLAGS="$RPM_OPT_FLAGS" \
70 CDEBUGFLAGS="$RPM_OPT_FLAGS"
71 make MANDIR=%{_mandir}/man1 \
74 CXXDEBUGFLAGS="$RPM_OPT_FLAGS" \
75 CDEBUGFLAGS="$RPM_OPT_FLAGS"
78 asmount* | asDrinks* | asbutton* | asdm* | aspbm* | aspostit* | ascdc-* | astuner* | ASFiles* | as[R-W]* | asfaces* | asmon* | astrash* | asxmcd* )
79 # we don't compile these
83 %configure --enable-utmp
88 # cough cough, hack hack -- ewt
90 --enable-xpm-background \
98 sed -e "s/EXTRA_LIBRARIES =/EXTRA_LIBRARIES = -lutempter/" \
99 Makefile > Makefile.foo
100 sed -e "s/-lsocket //" Makefile.foo > Makefile
101 make CXXDEBUGFLAGS="$RPM_OPT_FLAGS" \
102 CDEBUGFLAGS="$RPM_OPT_FLAGS"
105 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} << EOF
109 make CFLAGS="$RPM_OPT_FLAGS"
112 #just about every other thing supports autoconf
121 rm -rf $RPM_BUILD_ROOT
122 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
124 for package in `ls` ; do
128 make install install.man \
129 AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
130 AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
131 MANDIR=%{_mandir}/man1 \
133 SHLIBDIR=%{_libdir} \
134 DESTDIR=$RPM_BUILD_ROOT
137 asmount* | asDrinks* | asbutton* | asdm* | aspbm* | aspostit* | ascdc-* | astuner* | ASFiles* | as[R-W]* | asfaces* | asmon* | astrash* | asxmcd* )
138 # we don't install this
143 ASCP_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
144 ASCP_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
145 prefx=$RPM_BUILD_ROOT \
146 DESTDIR=$RPM_BUILD_ROOT
152 AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
153 AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
154 DESTDIR=$RPM_BUILD_ROOT
157 make install install.man \
158 AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
159 AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
160 DESTDIR=$RPM_BUILD_ROOT
165 rm -f $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}/{sessreg,xpmroot,qplot}*
166 strip --strip-unneeded $RPM_BUILD_ROOT%{_bindir}/*
168 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
171 rm -rf $RPM_BUILD_ROOT
173 %post -p /sbin/ldconfig
174 %postun -p /sbin/ldconfig
177 %defattr(644,root,root,755)
178 %attr(755,root,root) %{_bindir}/*
179 %{_datadir}/afterstep/*