1 | Summary: The Open Motif runtime components. |
---|
2 | Name: openMotif |
---|
3 | Version: 2.3.3 |
---|
4 | Release: 1%{?_dist_release} |
---|
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 |
---|
12 | |
---|
13 | Patch0: openmotif-2.3.3-no_demos.patch |
---|
14 | Patch1: openMotif-2.2.3-uil_lib.patch |
---|
15 | Patch2: openMotif-2.3.0-rgbtxt.patch |
---|
16 | Patch3: openmotif-2.3.3-mwmrc_dir.patch |
---|
17 | Patch4: openmotif-2.3.3-bindings.patch |
---|
18 | Patch5: openMotif-2.3.0-no_X11R6.patch |
---|
19 | Patch6: openmotif-2.3.3-missing_deps.patch |
---|
20 | |
---|
21 | |
---|
22 | URL: http://www.motifzone.org/ |
---|
23 | |
---|
24 | Buildrequires: automake |
---|
25 | BuildRequires: autoconf |
---|
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 |
---|
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 |
---|
62 | Requires: %{name} = %{version}-%{release} |
---|
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} . |
---|
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 |
---|
83 | |
---|
84 | %build |
---|
85 | aclocal -I . |
---|
86 | automake --foreign |
---|
87 | autoconf |
---|
88 | |
---|
89 | %configure \ |
---|
90 | --enable-static \ |
---|
91 | --enable-xft \ |
---|
92 | --enable-jpeg \ |
---|
93 | --enable-png |
---|
94 | |
---|
95 | export LD_LIBRARY_PATH=`pwd`/lib/Mrm/.libs:`pwd`/lib/Xm/.libs |
---|
96 | make clean |
---|
97 | |
---|
98 | make |
---|
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 |
---|
152 | * Sun Apr 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.3-1 |
---|
153 | - update top 2.3.3 |
---|
154 | - update patches for openMotif-2.3.3 |
---|
155 | |
---|
156 | * Tue May 27 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.3.0-1 |
---|
157 | - new upstream release |
---|
158 | - revised patches (from momonga) |
---|
159 | - build with xorg-x11-7.3 |
---|
160 | - update BuildPrereq |
---|
161 | - change prefix to /usr |
---|
162 | - change mandir to %%{_mandir} |
---|
163 | - drop demos |
---|
164 | |
---|
165 | * Wed Aug 23 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.3-0vl6 |
---|
166 | - added Patch2 and 3 for security fix based on RHEL4 |
---|
167 | * Wed Mar 29 2006 Thomas Woerner <twoerner@redhat.com> 2.2.3-10.RHEL4.1 |
---|
168 | - fixed CVE-2005-3964: libUil buffer overflows (#174814) |
---|
169 | |
---|
170 | * Wed Aug 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.2.3-0vl5 |
---|
171 | - fix library path on x86_64 |
---|
172 | - add --libdir=%%{prefix}/%%{_lib} to %%configure |
---|
173 | - use %%{prefix}/%%{_lib} instead of %%{prefix}/lib |
---|
174 | - |
---|
175 | * Thu Mar 17 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.3-0vl4 |
---|
176 | - rebuilt |
---|
177 | |
---|
178 | * Sat Dec 4 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.3-0vl3 |
---|
179 | - rebuild for VineSeed |
---|
180 | |
---|
181 | * Fri Dec 3 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.3-0vl2 |
---|
182 | - add patch0 from Fedora Core (CAN-2004-0687-0688) |
---|
183 | - add patch1 from Fedora Core (CAN-2004-0914) |
---|
184 | - add BuildPrereq: autoconf213 automake14 for patch1 |
---|
185 | |
---|
186 | * Thu Jun 3 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.3-0vl1 |
---|
187 | - source upgrade |
---|
188 | - add BuildPrereq: flex byacc |
---|
189 | - add %%postun -p /sbin/ldconfig |
---|
190 | - change configure option |
---|
191 | - use %%{prefix} for files section |
---|
192 | - sprit example code and demo programs to demos package |
---|
193 | - move %%{prefix}/lib/X11/bindings to main package |
---|
194 | - make symlink /usr/include/Mrm for %%{prefix}/include/Mrm |
---|
195 | - make symlink /usr/include/uil for %%{prefix}/include/uil |
---|
196 | - remove %%post devel and %%preun devel |
---|
197 | |
---|
198 | * Wed Apr 14 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl5 |
---|
199 | - rebuild with XOrg |
---|
200 | - clean up changelog to use (double-percent) everywhere |
---|
201 | - add BuildPrereq: build-essential XOrg-devel |
---|
202 | - make symlink /usr/include/Xm for %%{prefix}/include/Xm in %%install |
---|
203 | (not %%post devel section) |
---|
204 | - add Obsoletes: %%{name}-devel < 2.2.2-0vl5 |
---|
205 | - add PreReq: %%{name} = %%{version} to openMotif-devel package |
---|
206 | |
---|
207 | * Sat Jan 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl4 |
---|
208 | - delete Obsoletes: lines |
---|
209 | - add Conflicts: lesstif-clients lesstif-mwm to openMotif package |
---|
210 | - add Conflicts: lesstif(-devel, static) to openMotif-devel package |
---|
211 | |
---|
212 | * Fri Jan 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl3 |
---|
213 | - rebuild without lesstif package installed |
---|
214 | |
---|
215 | * Fri Jan 3 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl2 |
---|
216 | - add %%defattr(-, root, root) in %%files section |
---|
217 | |
---|
218 | * Wed Jan 1 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.2.2-0vl1 |
---|
219 | - build for VineSeed |
---|
220 | - cleanup spec |
---|
221 | - Obsoletes: lesstif <= 0.91.0-0vl2 |
---|
222 | |
---|
223 | * Wed Jan 23 2002 ICS <info@ics.om> |
---|
224 | - Switched build system to AutoConf and updated for new openMotif 2.2 |
---|
225 | - widgets. |
---|
226 | |
---|
227 | * Wed Aug 30 2000 ICS <info@ics.com> 2.1.30-3_ICS |
---|
228 | - Update for the Rev 3 release |
---|
229 | |
---|
230 | * Fri May 19 2000 ICS <info@ics.com> 2.1.bz2.3.bz20-2_ICS |
---|
231 | - Significant overhaul for SRPM distribution |
---|