source: projects/specs/trunk/o/openMotif/openMotif-vl.spec @ 9278

Revision 9278, 6.8 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild

Line 
1Summary: The Open Motif runtime components.
2Name: openMotif
3Version: 2.3.3
4Release: 2%{?_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: automake112
25BuildRequires: autoconf213
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-1.12 -I .
86automake-1.12 --foreign
87autoreconf-2.13
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 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
157* Sun Apr 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.3-1
158- update to 2.3.3
159- update patches for openMotif-2.3.3
160
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
Note: See TracBrowser for help on using the repository browser.