source: projects/specs/branches/6/o/openMotif/openMotif-vl.spec @ 3585

Revision 3585, 6.6 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild with rpm-4.8.1

Line 
1Summary: The Open Motif runtime components.
2Name: openMotif
3Version: 2.3.3
4Release: 1%{?_dist_release}
5BuildRoot: %{_tmppath}/%{name}-%{version}-root
6License: The Open Group Public License
7Group: System Environment/Libraries
8Source0: ftp://ftp.ics.com/openmotif/2.3/%{version}/openmotif-%{version}.tar.gz
9Source1: xmbind
10# license at http://www.opengroup.org/openmotif/license/
11Source2: OPEN_GROUP_PUBLIC_LICENSE.html
12
13Patch0: openmotif-2.3.3-no_demos.patch
14Patch1: openMotif-2.2.3-uil_lib.patch
15Patch2: openMotif-2.3.0-rgbtxt.patch
16Patch3: openmotif-2.3.3-mwmrc_dir.patch
17Patch4: openmotif-2.3.3-bindings.patch
18Patch5: openMotif-2.3.0-no_X11R6.patch
19Patch6: openmotif-2.3.3-missing_deps.patch
20
21
22URL: http://www.motifzone.org/
23
24Buildrequires: automake
25BuildRequires: autoconf
26BuildRequires: texinfo
27BuildRequires: flex
28BuildRequires: byacc
29BuildRequires: perl
30BuildRequires: libjpeg-devel
31BuildRequires: libpng-devel
32BuildRequires: libXft-devel
33BuildRequires: libXmu-devel
34BuildRequires: libXp-devel
35BuildRequires: libXt-devel
36BuildRequires: libXext-devel
37BuildRequires: xorg-x11-xbitmaps
38Obsoletes: %{name}-devel < 2.2.2-0vl5
39Obsoletes: %{name}-demos
40Conflicts: lesstif-clients lesstif-mwm
41
42%description
43The base package for the industry standard
44user interface toolkit for the X Window
45System as enhanced by ICS and others for
46better integration with GNOME and KDE desktop
47environments.  The base package consists of
48the Open Motif runtime components --
49shared libraries and mwm (Motif Window Manager).
50
51%package clients
52Summary: Open Motif clients
53Group: User Interface/X
54Obsoletes: lesstif-clients
55
56%description clients
57Uil and xmbind.
58
59%package devel
60Summary: The Open Motif development libraries and tools.
61Group: Development/Libraries
62Requires: %{name} = %{version}-%{release}
63Conflicts: lesstif lesstif-devel lesstif-static
64
65%description devel
66The development package includes all of the
67Open Motif header files, archive libraries,
68the UIL (User Interface Language) compiler,
69examples and ICS enhancements for greater
70integration with GNOME and KDE desktop
71environments.
72
73%prep
74%setup -q -n openmotif-%{version}
75cp -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
85aclocal -I .
86automake --foreign
87autoconf
88
89%configure \
90   --enable-static \
91   --enable-xft \
92   --enable-jpeg \
93   --enable-png
94
95export LD_LIBRARY_PATH=`pwd`/lib/Mrm/.libs:`pwd`/lib/Xm/.libs
96make clean
97
98make
99
100%install
101rm -rf $RPM_BUILD_ROOT
102
103export LD_LIBRARY_PATH=`pwd`/lib/Mrm/.libs:`pwd`/lib/Xm/.libs
104make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install
105
106mkdir -p $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d
107install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/xmbind.sh
108
109rm -f $RPM_BUILD_ROOT%{_bindir}/mwm
110rm -f $RPM_BUILD_ROOT%{_libdir}/X11/system.mwmrc
111rm -f $RPM_BUILD_ROOT%{_mandir}/man1/mwm.1*
112rm -f $RPM_BUILD_ROOT%{_mandir}/man4/mwmrc.4*
113rm -f $RPM_BUILD_ROOT%{_sysconfdir}/X11/mwm/system.mwmrc
114
115rm $RPM_BUILD_ROOT%{_libdir}/*.la
116
117%clean
118rm -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
Note: See TracBrowser for help on using the repository browser.