SPECS: AfterStep.spec - added opt, link patches - disable mmx by de...
qboosh
qboosh at pld-linux.org
Sat Nov 4 10:47:12 CET 2006
Author: qboosh Date: Sat Nov 4 09:47:12 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added opt,link patches
- disable mmx by default on i[3456]86 (runtime detection is not finished,
check result is not used and emms called unconditionally)
- enabled shared libs (cuts package size by 3.5MB installed/1MB compressed)
- release 0.2
---- Files affected:
SPECS:
AfterStep.spec (1.67 -> 1.68)
---- Diffs:
================================================================
Index: SPECS/AfterStep.spec
diff -u SPECS/AfterStep.spec:1.67 SPECS/AfterStep.spec:1.68
--- SPECS/AfterStep.spec:1.67 Sat Nov 4 09:43:03 2006
+++ SPECS/AfterStep.spec Sat Nov 4 10:47:07 2006
@@ -2,12 +2,19 @@
# TODO: what are man3 pages?
# if not API docs - shouldn't be in another section?
# if API docs - no devel files are installed (well, except perl, but AFAICS perl is not installed at all)
+#
+# Conditional build:
+%bcond_with mmx # use MMX
+#
+%ifarch pentium3 pentium4 athlon %{x8664}
+%define with_mmx 1
+%endif
Summary: AfterStep Window Manager
Summary(ja): AfterStep ĽŚĽŁĽóĽÉĽŚĽŢĽÍĄźĽ¸Ľă (NeXTÉ÷)
Summary(pl): AfterStep - zarządca okien
Name: AfterStep
Version: 2.2.3
-Release: 0.1
+Release: 0.2
License: GPL v2+
Vendor: The AfterStep Team (see TEAM in docdir)
Group: X11/Window Managers
@@ -17,6 +24,8 @@
Source3: %{name}-xsession.desktop
Patch0: %{name}-no_bash_fix.patch
Patch1: %{name}-install_man.patch
+Patch2: %{name}-opt.patch
+Patch3: %{name}-link.patch
URL: http://www.afterstep.org/
BuildRequires: autoconf >= 2.59-9
BuildRequires: automake
@@ -99,6 +108,8 @@
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
+%patch3 -p1
cp -f autoconf/configure*.in .
@@ -106,8 +117,17 @@
%{__aclocal}
%{__autoconf}
%{__autoheader}
+cd libAfterBase
+%{__autoconf}
+%{__autoheader}
+cd ../libAfterImage
+%{__autoconf}
+%{__autoheader}
+cd ..
%configure \
+ %{!?with_mmx:--disable-mmx-optimization} \
--enable-i18n \
+ --enable-sharedlibs \
--with-gif \
--with-helpcommand="xterm -e man" \
--with-jpeg \
@@ -135,12 +155,16 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
%doc doc/code doc/languages TODO *.html
%doc UPGRADE NEW README TEAM README.RedHat doc/languages/*
#%attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/libAfter*.so.*.*
%{_wmpropsdir}/AfterStep.desktop
%{_datadir}/afterstep
%{_datadir}/xsessions/AfterStep.desktop
@@ -154,6 +178,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.68 2006/11/04 09:47:07 qboosh
+- added opt,link patches
+- disable mmx by default on i[3456]86 (runtime detection is not finished,
+ check result is not used and emms called unconditionally)
+- enabled shared libs (cuts package size by 3.5MB installed/1MB compressed)
+- release 0.2
+
Revision 1.67 2006/11/04 08:43:03 qboosh
- use system giflib
- updated BRs (+libtiff,gtk+2), switched to modular xorg
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/AfterStep.spec?r1=1.67&r2=1.68&f=u
More information about the pld-cvs-commit
mailing list