[521] | 1 | Summary: The Open Motif runtime components. |
---|
| 2 | Name: openMotif |
---|
[3585] | 3 | Version: 2.3.3 |
---|
[9278] | 4 | Release: 2%{?_dist_release} |
---|
[521] | 5 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 6 | License: The Open Group Public License |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | Source0: ftp://ftp.ics.com/openmotif/2.3/%{version}/openmotif-%{version}.tar.gz |
---|
| 9 | Source1: xmbind |
---|
| 10 | # license at http://www.opengroup.org/openmotif/license/ |
---|
| 11 | Source2: OPEN_GROUP_PUBLIC_LICENSE.html |
---|
[3585] | 12 | |
---|
| 13 | Patch0: openmotif-2.3.3-no_demos.patch |
---|
[521] | 14 | Patch1: openMotif-2.2.3-uil_lib.patch |
---|
| 15 | Patch2: openMotif-2.3.0-rgbtxt.patch |
---|
[3585] | 16 | Patch3: openmotif-2.3.3-mwmrc_dir.patch |
---|
| 17 | Patch4: openmotif-2.3.3-bindings.patch |
---|
[521] | 18 | Patch5: openMotif-2.3.0-no_X11R6.patch |
---|
[3585] | 19 | Patch6: openmotif-2.3.3-missing_deps.patch |
---|
[521] | 20 | |
---|
[3585] | 21 | |
---|
[521] | 22 | URL: http://www.motifzone.org/ |
---|
[3585] | 23 | |
---|
[9278] | 24 | Buildrequires: automake112 |
---|
| 25 | BuildRequires: autoconf213 |
---|
[3585] | 26 | BuildRequires: texinfo |
---|
| 27 | BuildRequires: flex |
---|
| 28 | BuildRequires: byacc |
---|
| 29 | BuildRequires: perl |
---|
| 30 | BuildRequires: libjpeg-devel |
---|
| 31 | BuildRequires: libpng-devel |
---|
| 32 | BuildRequires: libXft-devel |
---|
| 33 | BuildRequires: libXmu-devel |
---|
| 34 | BuildRequires: libXp-devel |
---|
| 35 | BuildRequires: libXt-devel |
---|
| 36 | BuildRequires: libXext-devel |
---|
| 37 | BuildRequires: xorg-x11-xbitmaps |
---|
[521] | 38 | Obsoletes: %{name}-devel < 2.2.2-0vl5 |
---|
| 39 | Obsoletes: %{name}-demos |
---|
| 40 | Conflicts: lesstif-clients lesstif-mwm |
---|
| 41 | |
---|
| 42 | %description |
---|
| 43 | The base package for the industry standard |
---|
| 44 | user interface toolkit for the X Window |
---|
| 45 | System as enhanced by ICS and others for |
---|
| 46 | better integration with GNOME and KDE desktop |
---|
| 47 | environments. The base package consists of |
---|
| 48 | the Open Motif runtime components -- |
---|
| 49 | shared libraries and mwm (Motif Window Manager). |
---|
| 50 | |
---|
| 51 | %package clients |
---|
| 52 | Summary: Open Motif clients |
---|
| 53 | Group: User Interface/X |
---|
| 54 | Obsoletes: lesstif-clients |
---|
| 55 | |
---|
| 56 | %description clients |
---|
| 57 | Uil and xmbind. |
---|
| 58 | |
---|
| 59 | %package devel |
---|
| 60 | Summary: The Open Motif development libraries and tools. |
---|
| 61 | Group: Development/Libraries |
---|
[3585] | 62 | Requires: %{name} = %{version}-%{release} |
---|
[521] | 63 | Conflicts: lesstif lesstif-devel lesstif-static |
---|
| 64 | |
---|
| 65 | %description devel |
---|
| 66 | The development package includes all of the |
---|
| 67 | Open Motif header files, archive libraries, |
---|
| 68 | the UIL (User Interface Language) compiler, |
---|
| 69 | examples and ICS enhancements for greater |
---|
| 70 | integration with GNOME and KDE desktop |
---|
| 71 | environments. |
---|
| 72 | |
---|
| 73 | %prep |
---|
| 74 | %setup -q -n openmotif-%{version} |
---|
| 75 | cp -f %{SOURCE2} . |
---|
[3585] | 76 | %patch0 -p1 -b .no_demos |
---|
| 77 | %patch1 -p1 -b .uil_lib |
---|
| 78 | %patch2 -p1 -b .rgbtxt |
---|
| 79 | %patch3 -p1 -b .mwmrc_dir |
---|
| 80 | %patch4 -p1 -b .bindings |
---|
| 81 | %patch5 -p1 -b .no_X11R6 |
---|
| 82 | %patch6 -p1 -b .missing_deps |
---|
[521] | 83 | |
---|
| 84 | %build |
---|
[9278] | 85 | aclocal-1.12 -I . |
---|
| 86 | automake-1.12 --foreign |
---|
| 87 | autoreconf-2.13 |
---|
[521] | 88 | |
---|
[3585] | 89 | %configure \ |
---|
| 90 | --enable-static \ |
---|
| 91 | --enable-xft \ |
---|
| 92 | --enable-jpeg \ |
---|
| 93 | --enable-png |
---|
[521] | 94 | |
---|
| 95 | export LD_LIBRARY_PATH=`pwd`/lib/Mrm/.libs:`pwd`/lib/Xm/.libs |
---|
| 96 | make clean |
---|
| 97 | |
---|
[3585] | 98 | make |
---|
[521] | 99 | |
---|
| 100 | %install |
---|
| 101 | rm -rf $RPM_BUILD_ROOT |
---|
| 102 | |
---|
| 103 | export LD_LIBRARY_PATH=`pwd`/lib/Mrm/.libs:`pwd`/lib/Xm/.libs |
---|
| 104 | make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install |
---|
| 105 | |
---|
| 106 | mkdir -p $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d |
---|
| 107 | install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/xmbind.sh |
---|
| 108 | |
---|
| 109 | rm -f $RPM_BUILD_ROOT%{_bindir}/mwm |
---|
| 110 | rm -f $RPM_BUILD_ROOT%{_libdir}/X11/system.mwmrc |
---|
| 111 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/mwm.1* |
---|
| 112 | rm -f $RPM_BUILD_ROOT%{_mandir}/man4/mwmrc.4* |
---|
| 113 | rm -f $RPM_BUILD_ROOT%{_sysconfdir}/X11/mwm/system.mwmrc |
---|
| 114 | |
---|
| 115 | rm $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 116 | |
---|
| 117 | %clean |
---|
| 118 | rm -rf $RPM_BUILD_ROOT |
---|
| 119 | |
---|
| 120 | %post -p /sbin/ldconfig |
---|
| 121 | |
---|
| 122 | %postun -p /sbin/ldconfig |
---|
| 123 | |
---|
| 124 | %files |
---|
| 125 | %defattr(-, root, root) |
---|
| 126 | %doc BUGREPORT COPYRIGHT.MOTIF LICENSE README RELEASE RELNOTES |
---|
| 127 | %doc OPEN_GROUP_PUBLIC_LICENSE.html |
---|
| 128 | %{_includedir}/X11/bitmaps/* |
---|
| 129 | %{_libdir}/lib*.so.* |
---|
| 130 | |
---|
| 131 | %files clients |
---|
| 132 | %defattr(-,root,root) |
---|
| 133 | %doc LICENSE OPEN_GROUP_PUBLIC_LICENSE.html |
---|
| 134 | %{_bindir}/uil |
---|
| 135 | %{_bindir}/xmbind |
---|
| 136 | %{_datadir}/X11/bindings |
---|
| 137 | %{_mandir}/man1/uil.* |
---|
| 138 | %{_mandir}/man1/xmbind.* |
---|
| 139 | %{_sysconfdir}/X11/xinit/xinitrc.d/xmbind.sh |
---|
| 140 | |
---|
| 141 | %files devel |
---|
| 142 | %defattr(-, root, root) |
---|
| 143 | %{_includedir}/Mrm |
---|
| 144 | %{_includedir}/Xm |
---|
| 145 | %{_includedir}/uil |
---|
| 146 | %{_libdir}/*.a |
---|
| 147 | %{_libdir}/*.so |
---|
| 148 | %{_mandir}/man3/* |
---|
| 149 | %{_mandir}/man5/* |
---|
| 150 | |
---|
| 151 | %changelog |
---|
[9278] | 152 | * Sun Jan 18 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.3-2 |
---|
| 153 | - rebuild with VineSeed environment |
---|
| 154 | - change Buildrequires: automake112 instead of automake |
---|
| 155 | - change BuildRequires: autoconf213 instead of autoconf |
---|
| 156 | |
---|
[3585] | 157 | * Sun Apr 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.3-1 |
---|
[9278] | 158 | - update to 2.3.3 |
---|
[3585] | 159 | - update patches for openMotif-2.3.3 |
---|
| 160 | |
---|
[521] | 161 | * Tue May 27 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.3.0-1 |
---|
| 162 | - new upstream release |
---|
| 163 | - revised patches (from momonga) |
---|
| 164 | - build with xorg-x11-7.3 |
---|
| 165 | - update BuildPrereq |
---|
| 166 | - change prefix to /usr |
---|
| 167 | - change mandir to %%{_mandir} |
---|
| 168 | - drop demos |
---|
| 169 | |
---|
| 170 | * Wed Aug 23 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl6 |
---|
| 171 | - added Patch2 and 3 for security fix based on RHEL4 |
---|
| 172 | * Wed Mar 29 2006 Thomas Woerner <twoerner@redhat.com> 2.2.3-10.RHEL4.1 |
---|
| 173 | - fixed CVE-2005-3964: libUil buffer overflows (#174814) |
---|
| 174 | |
---|
| 175 | * Wed Aug 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.3-0vl5 |
---|
| 176 | - fix library path on x86_64 |
---|
| 177 | - add --libdir=%%{prefix}/%%{_lib} to %%configure |
---|
| 178 | - use %%{prefix}/%%{_lib} instead of %%{prefix}/lib |
---|
| 179 | - |
---|
| 180 | * Thu Mar 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.3-0vl4 |
---|
| 181 | - rebuilt |
---|
| 182 | |
---|
| 183 | * Sat Dec 4 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.3-0vl3 |
---|
| 184 | - rebuild for VineSeed |
---|
| 185 | |
---|
| 186 | * Fri Dec 3 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.3-0vl2 |
---|
| 187 | - add patch0 from Fedora Core (CAN-2004-0687-0688) |
---|
| 188 | - add patch1 from Fedora Core (CAN-2004-0914) |
---|
| 189 | - add BuildPrereq: autoconf213 automake14 for patch1 |
---|
| 190 | |
---|
| 191 | * Thu Jun 3 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.3-0vl1 |
---|
| 192 | - source upgrade |
---|
| 193 | - add BuildPrereq: flex byacc |
---|
| 194 | - add %%postun -p /sbin/ldconfig |
---|
| 195 | - change configure option |
---|
| 196 | - use %%{prefix} for files section |
---|
| 197 | - sprit example code and demo programs to demos package |
---|
| 198 | - move %%{prefix}/lib/X11/bindings to main package |
---|
| 199 | - make symlink /usr/include/Mrm for %%{prefix}/include/Mrm |
---|
| 200 | - make symlink /usr/include/uil for %%{prefix}/include/uil |
---|
| 201 | - remove %%post devel and %%preun devel |
---|
| 202 | |
---|
| 203 | * Wed Apr 14 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl5 |
---|
| 204 | - rebuild with XOrg |
---|
| 205 | - clean up changelog to use (double-percent) everywhere |
---|
| 206 | - add BuildPrereq: build-essential XOrg-devel |
---|
| 207 | - make symlink /usr/include/Xm for %%{prefix}/include/Xm in %%install |
---|
| 208 | (not %%post devel section) |
---|
| 209 | - add Obsoletes: %%{name}-devel < 2.2.2-0vl5 |
---|
| 210 | - add PreReq: %%{name} = %%{version} to openMotif-devel package |
---|
| 211 | |
---|
| 212 | * Sat Jan 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl4 |
---|
| 213 | - delete Obsoletes: lines |
---|
| 214 | - add Conflicts: lesstif-clients lesstif-mwm to openMotif package |
---|
| 215 | - add Conflicts: lesstif(-devel, static) to openMotif-devel package |
---|
| 216 | |
---|
| 217 | * Fri Jan 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl3 |
---|
| 218 | - rebuild without lesstif package installed |
---|
| 219 | |
---|
| 220 | * Fri Jan 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl2 |
---|
| 221 | - add %%defattr(-, root, root) in %%files section |
---|
| 222 | |
---|
| 223 | * Wed Jan 1 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl1 |
---|
| 224 | - build for VineSeed |
---|
| 225 | - cleanup spec |
---|
| 226 | - Obsoletes: lesstif <= 0.91.0-0vl2 |
---|
| 227 | |
---|
| 228 | * Wed Jan 23 2002 ICS <info@ics.om> |
---|
| 229 | - Switched build system to AutoConf and updated for new openMotif 2.2 |
---|
| 230 | - widgets. |
---|
| 231 | |
---|
| 232 | * Wed Aug 30 2000 ICS <info@ics.com> 2.1.30-3_ICS |
---|
| 233 | - Update for the Rev 3 release |
---|
| 234 | |
---|
| 235 | * Fri May 19 2000 ICS <info@ics.com> 2.1.bz2.3.bz20-2_ICS |
---|
| 236 | - Significant overhaul for SRPM distribution |
---|