|
@@ -1,6 +1,6 @@
|
|
|
Summary: The Open Motif runtime components.
|
|
|
Name: openMotif
|
|
|
-Version: 2.3.0
|
|
|
+Version: 2.3.3
|
|
|
Release: 1%{?_dist_release}
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
License: The Open Group Public License
|
|
@@ -9,23 +9,32 @@ Source0: ftp://ftp.ics.com/openmotif/2.3/%{version}/openmotif-%{version}.tar.gz
|
|
|
Source1: xmbind
|
|
|
# license at http://www.opengroup.org/openmotif/license/
|
|
|
Source2: OPEN_GROUP_PUBLIC_LICENSE.html
|
|
|
-## not build and install demos (modified for cvs20061112)
|
|
|
-Patch0: openmotif-2.3.0-20061112-no_demos.patch
|
|
|
-## Patch1 is for CVE-2005-3964
|
|
|
+
|
|
|
+Patch0: openmotif-2.3.3-no_demos.patch
|
|
|
Patch1: openMotif-2.2.3-uil_lib.patch
|
|
|
-## Patch2 is for xorg7
|
|
|
Patch2: openMotif-2.3.0-rgbtxt.patch
|
|
|
-## change mwvrc dir (modified for cvs20061112)
|
|
|
-Patch3: openmotif-2.3.0-20061112-mwmrc_dir.patch
|
|
|
-## #Patch4 is for xorg7 (modified for cvs20061112)
|
|
|
-Patch4: openmotif-2.3.0-20061112-bindings.patch
|
|
|
+Patch3: openmotif-2.3.3-mwmrc_dir.patch
|
|
|
+Patch4: openmotif-2.3.3-bindings.patch
|
|
|
Patch5: openMotif-2.3.0-no_X11R6.patch
|
|
|
-Patch6: openmotif-sentinel.diff
|
|
|
-Patch7: openmotif-unaligned.diff
|
|
|
+Patch6: openmotif-2.3.3-missing_deps.patch
|
|
|
+
|
|
|
|
|
|
URL: http://www.motifzone.org/
|
|
|
-BuildPrereq: xorg-x11-devel xorg-x11-xbitmaps
|
|
|
-BuildPrereq: flex byacc automake14
|
|
|
+
|
|
|
+Buildrequires: automake
|
|
|
+BuildRequires: autoconf
|
|
|
+BuildRequires: texinfo
|
|
|
+BuildRequires: flex
|
|
|
+BuildRequires: byacc
|
|
|
+BuildRequires: perl
|
|
|
+BuildRequires: libjpeg-devel
|
|
|
+BuildRequires: libpng-devel
|
|
|
+BuildRequires: libXft-devel
|
|
|
+BuildRequires: libXmu-devel
|
|
|
+BuildRequires: libXp-devel
|
|
|
+BuildRequires: libXt-devel
|
|
|
+BuildRequires: libXext-devel
|
|
|
+BuildRequires: xorg-x11-xbitmaps
|
|
|
Obsoletes: %{name}-devel < 2.2.2-0vl5
|
|
|
Obsoletes: %{name}-demos
|
|
|
Conflicts: lesstif-clients lesstif-mwm
|
|
@@ -50,7 +59,7 @@ Uil and xmbind.
|
|
|
%package devel
|
|
|
Summary: The Open Motif development libraries and tools.
|
|
|
Group: Development/Libraries
|
|
|
-PreReq: %{name} = %{version}-%{release}
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
Conflicts: lesstif lesstif-devel lesstif-static
|
|
|
|
|
|
%description devel
|
|
@@ -64,30 +73,29 @@ environments.
|
|
|
%prep
|
|
|
%setup -q -n openmotif-%{version}
|
|
|
cp -f %{SOURCE2} .
|
|
|
-%patch0 -p1
|
|
|
-%patch1 -p1
|
|
|
-%patch2 -p1
|
|
|
-%patch3 -p1
|
|
|
-%patch4 -p1
|
|
|
-%patch5 -p1
|
|
|
-%patch6 -p0
|
|
|
-%patch7 -p0
|
|
|
+%patch0 -p1 -b .no_demos
|
|
|
+%patch1 -p1 -b .uil_lib
|
|
|
+%patch2 -p1 -b .rgbtxt
|
|
|
+%patch3 -p1 -b .mwmrc_dir
|
|
|
+%patch4 -p1 -b .bindings
|
|
|
+%patch5 -p1 -b .no_X11R6
|
|
|
+%patch6 -p1 -b .missing_deps
|
|
|
|
|
|
%build
|
|
|
-unset LANG || :
|
|
|
-libtoolize --force --automake
|
|
|
-aclocal-1.4 -I .
|
|
|
+aclocal -I .
|
|
|
+automake --foreign
|
|
|
autoconf
|
|
|
-autoheader
|
|
|
-automake-1.4 --foreign --include-deps --add-missing
|
|
|
|
|
|
-%configure --enable-static
|
|
|
+%configure \
|
|
|
+ --enable-static \
|
|
|
+ --enable-xft \
|
|
|
+ --enable-jpeg \
|
|
|
+ --enable-png
|
|
|
|
|
|
-perl -pi -e 's|hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=\"-L\\\$libdir\"|g;' libtool
|
|
|
export LD_LIBRARY_PATH=`pwd`/lib/Mrm/.libs:`pwd`/lib/Xm/.libs
|
|
|
make clean
|
|
|
|
|
|
-LANG=C make
|
|
|
+make
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -141,6 +149,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_mandir}/man5/*
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Apr 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.3-1
|
|
|
+- update top 2.3.3
|
|
|
+- update patches for openMotif-2.3.3
|
|
|
+
|
|
|
* Tue May 27 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.3.0-1
|
|
|
- new upstream release
|
|
|
- revised patches (from momonga)
|