[7871] | 1 | |
---|
| 2 | # Basic Information |
---|
| 3 | Name: libXaw3dXft |
---|
[8999] | 4 | Summary: X 3D Athena Widgets Library with Xft |
---|
[9247] | 5 | Version: 1.6.2d |
---|
| 6 | Release: 1%{?_dist_release} |
---|
[7871] | 7 | License: MIT |
---|
[8999] | 8 | Group: System Environment/Libraries |
---|
[9247] | 9 | |
---|
[7871] | 10 | Source0: %{name}-%{version}.tar.bz2 |
---|
[9247] | 11 | Patch7: Xaw3d-1.6.1-3Dlabel.patch |
---|
| 12 | Patch10: Xaw3d-1.6.1-fontset.patch |
---|
| 13 | |
---|
[7871] | 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | |
---|
| 16 | Vendor: Project Vine |
---|
| 17 | Distribution: Vine Linux |
---|
| 18 | Packager: yasumichi |
---|
| 19 | |
---|
| 20 | # Dependency |
---|
| 21 | Requires: libXft |
---|
[8999] | 22 | Requires: libXmu |
---|
[9247] | 23 | Requires: libXpm |
---|
[7871] | 24 | BuildRequires: libXft-devel |
---|
| 25 | BuildRequires: libXmu-devel |
---|
[9247] | 26 | BuildRequires: libXpm-devel |
---|
[7871] | 27 | |
---|
| 28 | %package devel |
---|
| 29 | Summary: Development tools for programs which will use the libXaw3dXft library. |
---|
| 30 | Summary(ja): libXaw3dXft ライブラリを使うプログラム向け開発ツール |
---|
| 31 | Group: Development/Libraries |
---|
| 32 | Requires: %{name} = %{version}-%{release} |
---|
| 33 | Requires: libXft-devel |
---|
| 34 | Requires: libXmu-devel |
---|
[9247] | 35 | Requires: libXpm-devel |
---|
[7871] | 36 | |
---|
| 37 | %description |
---|
| 38 | X 3D Athena Widgets Library with Xft |
---|
| 39 | |
---|
| 40 | %description devel |
---|
| 41 | Development tools for programs which will use the libXaw3dXft library. |
---|
| 42 | |
---|
| 43 | %prep |
---|
| 44 | %setup -q |
---|
[9247] | 45 | %patch7 -p1 -b .3Dlabel |
---|
| 46 | %patch10 -p1 -b .fontset |
---|
[7871] | 47 | |
---|
| 48 | %build |
---|
[9247] | 49 | %configure \ |
---|
| 50 | --disable-static \ |
---|
| 51 | --enable-internationalization \ |
---|
| 52 | --enable-arrow-scrollbars \ |
---|
| 53 | --enable-gray-stipples \ |
---|
| 54 | --enable-multiplane-bitmaps |
---|
| 55 | |
---|
[7871] | 56 | %{__make} %{?_smp_mflags} |
---|
| 57 | |
---|
| 58 | %install |
---|
| 59 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 60 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 61 | |
---|
| 62 | %{__rm} ${RPM_BUILD_ROOT}%{_libdir}/libXaw3dxft.la |
---|
| 63 | |
---|
| 64 | |
---|
[8999] | 65 | %post -p /sbin/ldconfig |
---|
| 66 | |
---|
| 67 | %postun -p /sbin/ldconfig |
---|
| 68 | |
---|
[7871] | 69 | %clean |
---|
| 70 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 71 | |
---|
| 72 | |
---|
| 73 | %files |
---|
| 74 | %defattr(-,root,root) |
---|
| 75 | %doc COPYING README |
---|
| 76 | %{_libdir}/*.so.* |
---|
| 77 | |
---|
| 78 | %files devel |
---|
| 79 | %defattr(-,root,root) |
---|
| 80 | %{_includedir}/X11/Xaw3dxft |
---|
| 81 | %{_libdir}/*.so |
---|
[8928] | 82 | %{_libdir}/pkgconfig/libxaw3dxft.pc |
---|
[7871] | 83 | %{_docdir}/%{name}/README.XAW3D |
---|
| 84 | |
---|
| 85 | %changelog |
---|
[9247] | 86 | * Tue Jan 6 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.6.2d-1 |
---|
| 87 | - new upstream release |
---|
| 88 | - enabled multiplane-bitmaps and gray-stipples |
---|
| 89 | - added Patch7 and Patch10 from Fedora |
---|
| 90 | |
---|
[8999] | 91 | * Sun Oct 05 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.6.2c-2 |
---|
| 92 | - moved main package to System Environment/Libraries Group |
---|
| 93 | - added %%post and %%postun section |
---|
| 94 | |
---|
[8928] | 95 | * Wed Sep 03 2014 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.6.2c-1 |
---|
| 96 | - new upstream release |
---|
| 97 | |
---|
[7871] | 98 | * Sat Oct 05 2013 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.6.2b-1 |
---|
| 99 | - initial build for Vine Linux |
---|
| 100 | |
---|