source: projects/specs/trunk/X/Xaw3d/Xaw3d-vl.spec @ 10580

Revision 10580, 9.9 KB checked in by Takemikaduchi, 8 years ago (diff)

Xaw3d: new upstream release
others: rebuild with gcc-5.4.0

Line 
1%define compatlib 0
2
3Summary:        A version of the MIT Athena widget set for X.
4Summary(ja):    X 用 MIT Athena widget の 3D 風バージョン
5Name:           Xaw3d
6Version:        1.6.2
7Release:        1%{?_dist_release}
8Group:          System Environment/Libraries
9Source:         http://xorg.freedesktop.org/archive/individual/lib/libXaw3d-%{version}.tar.bz2
10URL:            http://xorg.freedesktop.org/
11
12# patch from fedora
13Patch7: Xaw3d-1.6.1-3Dlabel.patch
14Patch10: Xaw3d-1.6.1-fontset.patch
15Patch11: Xaw3d-1.6.1-hsbar.patch
16
17License:        MIT
18BuildRoot:      %{_tmppath}/%{name}-%{version}-root
19BuildRequires: libXmu-devel
20BuildRequires: libXt-devel
21BuildRequires: libSM-devel
22BuildRequires: libXext-devel
23BuildRequires: libX11-devel
24BuildRequires: libXpm-devel
25BuildRequires: bison
26BuildRequires: flex
27BuildRequires: ed
28
29Vendor:         Project Vine
30Distribution:   Vine Linux
31
32%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
33
34%description
35Xaw3d is an enhanced version of the MIT Athena Widget set for
36the X Window System.  Xaw3d adds a three-dimensional look to applications
37with minimal or no source code changes.
38
39You should install Xaw3d if you are using applications which incorporate
40the MIT Athena widget set and you'd like to incorporate a 3D look into
41those applications.
42
43%description -l ja
44Xaw3d は X ウィンドウシステム用 MIT Athena ウィジェットセットの
45拡張バージョンです.Xaw3d はソースコードに殆ど,あるいは全く変更を
46加えることなく,アプリケーションに 3D ルックを追加することが出来ます.
47
48MIT Athena ウィジェットセットを使ったアプリケーションを利用していて,
49これらで 3D ルックを使いたい場合は,Xaw3d をインストールして下さい.
50
51%package -n compat32-%{name}
52Summary:        A version of the MIT Athena widget set for X.
53Summary(ja):    X 用 MIT Athena widget の 3D 風バージョン
54Group:          System Environment/Libraries
55Requires:       %{name} = %{version}-%{release}
56
57%description -n compat32-%{name}
58Xaw3d is an enhanced version of the MIT Athena Widget set for
59the X Window System.  Xaw3d adds a three-dimensional look to applications
60with minimal or no source code changes.
61
62You should install Xaw3d if you are using applications which incorporate
63the MIT Athena widget set and you'd like to incorporate a 3D look into
64those applications.
65
66%description -n compat32-%{name} -l ja
67Xaw3d は X ウィンドウシステム用 MIT Athena ウィジェットセットの
68拡張バージョンです.Xaw3d はソースコードに殆ど,あるいは全く変更を
69加えることなく,アプリケーションに 3D ルックを追加することが出来ます.
70
71MIT Athena ウィジェットセットを使ったアプリケーションを利用していて,
72これらで 3D ルックを使いたい場合は,Xaw3d をインストールして下さい.
73
74%package devel
75Summary:        Header files and static libraries for development using Xaw3d.
76Group:          Development/Libraries
77Requires:       %{name} = %{version}-%{release}
78Requires: libXmu-devel
79Requires: libXt-devel
80Requires: libSM-devel
81Requires: libXext-devel
82Requires: libX11-devel
83Requires: libXpm-devel
84
85%description devel
86Xaw3d is an enhanced version of the MIT Athena widget set for
87the X Window System.  Xaw3d adds a three-dimensional look to those
88applications with minimal or no source code changes. Xaw3d-devel includes
89the header files and static libraries for developing programs that take
90full advantage of Xaw3d's features.
91
92You should install Xaw3d-devel if you are going to develop applications
93using the Xaw3d widget set.  You'll also need to install the Xaw3d
94package.
95
96%description devel -l ja
97Xaw3d は X ウィンドウシステム用 MIT Athena ウィジェットセットの
98拡張バージョンです.Xaw3d はソースコードに殆ど,あるいは全く変更を
99加えることなく,アプリケーションに 3D ルックを追加することが出来ます.
100Xaw3d-devel パッケージには,Xaw3d の機能を最大限に利用するプログラムの
101開発に必要なヘッダファイルとスタティックライブラリが収められています.
102
103Xaw3d ウィジェットセットを使ったアプリケーション開発を行う場合は
104Xaw3d-devel パッケージをインストールして下さい.
105同時に Xaw3d もインストールしておく必要があります.
106
107%prep
108%setup -q -n libXaw3d-%{version}
109%patch7 -p1 -b .3Dlabel
110%patch10 -p1 -b .fontset
111%patch11 -p1 -b .hsbar
112
113%build
114%configure \
115        --disable-static \
116        --enable-arrow-scrollbars \
117        --enable-gray-stipples \
118        --enable-multiplane-bitmaps
119make %{?_smp_mflags}
120
121
122%install
123rm -rf $RPM_BUILD_ROOT
124make install DESTDIR=$RPM_BUILD_ROOT
125rm $RPM_BUILD_ROOT%{_libdir}/libXaw3d.la
126rm -r $RPM_BUILD_ROOT%{_docdir}
127
128%clean
129rm -rf $RPM_BUILD_ROOT
130
131%post -p /sbin/ldconfig
132
133%postun -p /sbin/ldconfig
134
135%post -n compat32-%{name} -p /sbin/ldconfig
136
137%postun -n compat32-%{name} -p /sbin/ldconfig
138
139%files
140%defattr(-,root,root)
141%{_libdir}/*.so.*
142
143%files devel
144%defattr(-,root,root)
145%{_includedir}/X11/Xaw3d
146%{_libdir}/*.so
147%{_libdir}/pkgconfig/xaw3d.pc
148
149%if %{build_compat32}
150%files -n compat32-%{name}
151%defattr(-,root,root)
152%{_libdir}/*.so.*
153%endif
154
155
156%changelog
157* Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.2-1
158- update to 1.6.2
159- merge with Xaw3d-1.6.2-9.fc24
160- remove BuildRequires: imake
161
162* Sun Jul 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5E-6
163- update Requires of -devel
164
165* Sat Jun  7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5E-5
166- rebuilt with xorg-x11-7.3
167- updated BuildRequires
168- spec in UTF-8
169
170* Sun Mar 11 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.5E-4vl1
171- update to 1.5E
172- sync with fedora core's 1.5E-4
173  - import patches:
174    - misc.patch (patch9)
175    - scrollbar2.patch (patch10)
176    - xorg-imake.patch (patch50)
177
178  * Thu Jan 20 2005 Than Ngo <than@redhat.com> 1.5E-2
179  - enable ARROW_SCROLLBARS, MULTIPLANE_PIXMAPS
180
181  * Tue Nov 30 2004 Than Ngo <than@redhat.com> 1.5E-1
182  - update to 1.5E, #130310
183  - fix compiler warning #110766
184
185  * Tue Nov 23 2004 Than Ngo <than@redhat.com> 1.5-24
186  - add patch to fix build problem with xorg-x11, #140475
187
188  * Wed Nov 26 2003 Than Ngo <than@redhat.com> 1.5-20
189  - added missing Buildprereq: XFree86-devel (bug #110601, #109692, #110735)
190  - fixed arguments in scrollbar (bug #110766)
191
192- fix description devel -l ja
193- update URLs
194- add Vendor/Distribution tag
195
196* Sat Sep 09 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.5-17vl4
197- add BuildRequires: XOrg-devel, bison, flex
198- add Requires: XOrg-devel (Xaw3d-devel)
199- mkdir $RPM_BUILD_ROOT/usr/X11R6/%%{_lib} before copy libraries
200
201* Sun May 21 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.5-17vl3
202- added compat32-Xaw3d package for x86_64 architecture support
203
204* Mon Apr  7 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.5-17vl2
205- rebuild
206
207* Tue Dec 10 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5-17vl1
208- add patch7 to use grayscale color.
209- merged with rawhide release
210    * Thu Nov  7 2002 han Ngo <than@redhat.com> 1.5-17
211    - fix some building problems
212    * Thu Sep  5 2002 Preston Brown <pbrown@redhat.com> 1.5-16
213    - -DARROW_SCROLLBAR for rms
214    * Thu Aug  8 2002 Than Ngo <than@redhat.com> 1.5-15
215    - Added patch file to fix i18n issue, ynakai@redhat.com
216
217* Fri Jul 13 2001 <sagami@vinelinux.org>
218- 1.5-9vl3: use %%{ix86} for _arch instead of i386 :-)
219
220* Wed May 23 2001 Tomoya TAKA <tomoya@olive.plala.or.jp>
221- 1.5-9vl2
222- add i386 and alpha to libXaw*so.*'s link in %%install
223
224* Wed May 16 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
225- 1.5-9vl1
226- rebuilt for Vine Linux
227- added Japanese summary and description
228- added sparc, sparc64 to libXaw*so.*'s link in %%install
229  (this is taken from 1.5-8vl1 from VineSeed/TestPkg by Machino-san)
230
231* Wed Feb 28 2001 Than Ngo <than@redhat.com>
232- add requires Xaw3d = %%{version}
233- add prereq /sbin/ldconfig
234
235* Tue Oct 10 2000 Than Ngo <than@redhat.com>
236- fix link which causes faulty update (Bug #17895)
237
238* Mon Jul 24 2000 Bill Nottingham <notting@redhat.com>
239- ia64 tweaks
240
241* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
242- automatic rebuild
243
244* Mon Jul 10 2000 Bernhard Rosenkraenzer <bero@redhat.de>
245- Restore Xaw3d 1.5 - the addition of the backward compatibility library
246  killed the current one.
247- get rid of the CDEBUGFLAGS="" hack, the current gcc fixes it
248
249* Mon Jul 03 2000 Than Ngo <than@redhat.de>
250- fix Imakefile to static Xawd3d
251
252* Sat Jun 17 2000 Than Ngo <than@redhat.de>
253- add backward compatibility libXaw3d.so.6 (Bug# 12261)
254
255* Mon May 15 2000 Bill Nottingham <notting@redhat.com>
256- fix unaligned traps on ia64
257
258* Mon May  8 2000 Bernhard Rosenkraenzer <bero@redhat.com>
259- 1.5
260
261* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
262- auto rebuild in the new build environment (release 21)
263
264* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
265- Injected new description and group.
266
267* Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
268- bumped spec number for initial rh 6.0 build
269
270* Fri Nov 06 1998 Preston Brown <pbrown@redhat.com>
271- added security/update patch from debian (the X11R6.3 patch). Thanks guys. :)
272
273* Wed Oct 14 1998 Cristian Gafton <gafton@redhat.com>
274- handle the symlink with triggers instead of getting rid of it
275
276* Mon Oct  5 1998 Jeff Johnson <jbj@redhat.com>
277- remove backward compatible symlink.
278
279* Wed May 06 1998 Cristian Gafton <gafton@redhat.com>
280- fixed the bad symlink
281- BuildRoot
282
283* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
284- translations modified for de, fr, tr
285
286* Tue Nov 04 1997 Erik Troan <ewt@redhat.com>
287- don't lave an improper return code from %pre
288
289* Mon Nov 03 1997 Cristian Gafton <gafton@redhat.com>
290- take care of the old location of the Xaw3d includes in case that one exist
291- updated Prereq: field
292
293* Mon Oct 26 1997 Cristian Gafton <gafton@redhat.com
294- fixed the -devel package for the right include files path
295
296* Mon Oct 13 1997 Donnie Barnes <djb@redhat.com>
297- minor spec file cleanups
298
299* Wed Oct 01 1997 Erik Troan <ewt@redhat.com>
300- i18n widec.h patch needs to be applied on all systems
301
302* Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
303- changed axp check to alpha
304
305* Mon Jun 16 1997 Erik Troan <ewt@redhat.com>
306- built against glibc
Note: See TracBrowser for help on using the repository browser.