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: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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
65 patch -p2 -b --suffix .compile < %{PATCH2}
67 make Makefiles CXXDEBUGFLAGS="$RPM_OPT_FLAGS" \
68 CDEBUGFLAGS="$RPM_OPT_FLAGS"
69 make MANDIR=%{_mandir}/man1 \
72 CXXDEBUGFLAGS="$RPM_OPT_FLAGS" \
73 CDEBUGFLAGS="$RPM_OPT_FLAGS"
76 asmount* | asDrinks* | asbutton* | asdm* | aspbm* | aspostit* | ascdc-* | astuner* | ASFiles* | as[R-W]* | asfaces* | asmon* | astrash* | asxmcd* )
77 # we don't compile these
81 %configure --enable-utmp
86 # cough cough, hack hack -- ewt
88 --enable-xpm-background \
96 sed -e "s/EXTRA_LIBRARIES =/EXTRA_LIBRARIES = -lutempter/" \
97 Makefile > Makefile.foo
98 sed -e "s/-lsocket //" Makefile.foo > Makefile
99 make CXXDEBUGFLAGS="$RPM_OPT_FLAGS" \
100 CDEBUGFLAGS="$RPM_OPT_FLAGS"
103 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} << EOF
107 make CFLAGS="$RPM_OPT_FLAGS"
110 #just about every other thing supports autoconf
119 rm -rf $RPM_BUILD_ROOT
120 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
122 for package in `ls` ; do
126 make install install.man \
127 AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
128 AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
129 MANDIR=%{_mandir}/man1 \
131 SHLIBDIR=%{_libdir} \
132 DESTDIR=$RPM_BUILD_ROOT
135 asmount* | asDrinks* | asbutton* | asdm* | aspbm* | aspostit* | ascdc-* | astuner* | ASFiles* | as[R-W]* | asfaces* | asmon* | astrash* | asxmcd* )
136 # we don't install this
141 ASCP_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
142 ASCP_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
143 prefx=$RPM_BUILD_ROOT \
144 DESTDIR=$RPM_BUILD_ROOT
149 AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
150 AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
151 DESTDIR=$RPM_BUILD_ROOT
154 make install install.man \
155 AFTER_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
156 AFTER_MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
157 DESTDIR=$RPM_BUILD_ROOT
162 rm -f $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}/{sessreg,xpmroot,qplot}*
163 strip --strip-unneeded $RPM_BUILD_ROOT%{_bindir}/*
165 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
168 rm -rf $RPM_BUILD_ROOT
170 %post -p /sbin/ldconfig
171 %postun -p /sbin/ldconfig
174 %defattr(644,root,root,755)
175 %attr(755,root,root) %{_bindir}/*
176 %{_datadir}/afterstep/*