]> git.pld-linux.org Git - packages/AfterStep.git/commitdiff
- added opt,link patches
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 4 Nov 2006 09:47:07 +0000 (09:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- 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

Changed files:
    AfterStep.spec -> 1.68

AfterStep.spec

index 4679f442ee1866aeeb23170c20af660168a5a343..869a635c4a84cd84b6c152029b40d723cfa77078 100644 (file)
@@ -1,12 +1,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
@@ -16,6 +23,8 @@ Source0:      ftp://ftp.afterstep.org/stable/%{name}-%{version}.tar.bz2
 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
@@ -98,6 +107,8 @@ Najwa
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 cp -f autoconf/configure*.in .
 
@@ -105,8 +116,17 @@ cp -f autoconf/configure*.in .
 %{__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 \
@@ -134,12 +154,16 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/afterstep/doc
 %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
This page took 0.094285 seconds and 4 git commands to generate.