[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Summary: X.Org X11 libXxf86vm runtime library |
---|
| 4 | Summary(ja): X.Org X11 libXxf86vm ランタイムライブラリ |
---|
| 5 | Name: libXxf86vm |
---|
[5869] | 6 | Version: 1.1.2 |
---|
[2203] | 7 | Release: 1%{?_dist_release} |
---|
[521] | 8 | License: MIT/X11 |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | URL: http://www.x.org |
---|
| 11 | |
---|
| 12 | Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2 |
---|
| 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 15 | BuildRequires: pkgconfig |
---|
| 16 | BuildRequires: xorg-x11-proto-devel |
---|
[5869] | 17 | BuildRequires: xorg-x11-util-macros |
---|
[521] | 18 | BuildRequires: libX11-devel |
---|
| 19 | BuildRequires: libXext-devel |
---|
| 20 | Obsoletes: XFree86-libs, XOrg-libs |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | X.Org X11 libXxf86vm runtime library |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: X.Org X11 libXxf86vm development package |
---|
| 27 | Summary(ja): X.Org X11 libXxf86vm 開発パッケージ |
---|
| 28 | Group: Development/Libraries |
---|
| 29 | Requires(pre): xorg-x11-filesystem |
---|
| 30 | Requires: %{name} = %{version}-%{release} |
---|
| 31 | Requires: xorg-x11-proto-devel |
---|
| 32 | Obsoletes: XFree86-devel, XOrg-devel |
---|
| 33 | |
---|
| 34 | %description devel |
---|
| 35 | X.Org X11 libXxf86vm development package |
---|
| 36 | |
---|
| 37 | # compat32 |
---|
| 38 | %package -n compat32-%{name} |
---|
| 39 | Summary: X.Org X11 libXxf86vm runtime library |
---|
| 40 | Summary(ja): X.Org X11 libXxf86vm ランタイムライブラリ |
---|
| 41 | Group: System Environment/Libraries |
---|
| 42 | Requires: %{name} = %{version}-%{release} |
---|
| 43 | |
---|
| 44 | %description -n compat32-%{name} |
---|
| 45 | X.Org X11 libXxf86vm runtime library |
---|
| 46 | |
---|
| 47 | %package -n compat32-%{name}-devel |
---|
| 48 | Summary: X.Org X11 libXxf86vm development package |
---|
| 49 | Summary(ja): X.Org X11 libXxf86vm 開発パッケージ |
---|
| 50 | Group: Development/Libraries |
---|
| 51 | Requires(pre): xorg-x11-filesystem |
---|
| 52 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 53 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 54 | |
---|
| 55 | %description -n compat32-%{name}-devel |
---|
| 56 | X.Org X11 libXxf86vm development package |
---|
| 57 | |
---|
| 58 | %prep |
---|
| 59 | %setup -q |
---|
| 60 | |
---|
| 61 | # Disable static library creation by default. |
---|
| 62 | %define with_static 0 |
---|
| 63 | |
---|
| 64 | %build |
---|
| 65 | %configure \ |
---|
| 66 | %if ! %{with_static} |
---|
| 67 | --disable-static |
---|
| 68 | %endif |
---|
| 69 | make |
---|
| 70 | |
---|
| 71 | %install |
---|
| 72 | rm -rf $RPM_BUILD_ROOT |
---|
| 73 | |
---|
| 74 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 75 | |
---|
| 76 | # We intentionally don't ship *.la files |
---|
| 77 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 78 | |
---|
| 79 | %clean |
---|
| 80 | rm -rf $RPM_BUILD_ROOT |
---|
| 81 | |
---|
| 82 | %post -p /sbin/ldconfig |
---|
| 83 | %postun -p /sbin/ldconfig |
---|
| 84 | |
---|
| 85 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 86 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 87 | |
---|
| 88 | %files |
---|
| 89 | %defattr(-,root,root,-) |
---|
| 90 | # FIXME: missing some of these files %doc AUTHORS COPYING README INSTALL ChangeLog |
---|
| 91 | %doc COPYING ChangeLog |
---|
| 92 | %{_libdir}/libXxf86vm.so.1 |
---|
| 93 | %{_libdir}/libXxf86vm.so.1.* |
---|
| 94 | |
---|
| 95 | %files devel |
---|
| 96 | %defattr(-,root,root,-) |
---|
| 97 | %{_includedir}/X11/extensions/*.h |
---|
| 98 | %if %{with_static} |
---|
| 99 | %{_libdir}/libXxf86vm.a |
---|
| 100 | %endif |
---|
| 101 | %{_libdir}/libXxf86vm.so |
---|
| 102 | %{_libdir}/pkgconfig/xxf86vm.pc |
---|
| 103 | %{_mandir}/man3/*.3* |
---|
| 104 | |
---|
| 105 | # compat32 |
---|
| 106 | %if %{build_compat32} |
---|
| 107 | %files -n compat32-%{name} |
---|
| 108 | %defattr(-,root,root,-) |
---|
| 109 | %{_libdir}/libXxf86vm.so.1 |
---|
| 110 | %{_libdir}/libXxf86vm.so.1.* |
---|
| 111 | |
---|
| 112 | %files -n compat32-%{name}-devel |
---|
| 113 | %defattr(-,root,root,-) |
---|
| 114 | %if %{with_static} |
---|
| 115 | %{_libdir}/libXxf86vm.a |
---|
| 116 | %endif |
---|
| 117 | %{_libdir}/libXxf86vm.so |
---|
| 118 | %{_libdir}/pkgconfig/xxf86vm.pc |
---|
| 119 | %endif |
---|
| 120 | |
---|
| 121 | %changelog |
---|
[5869] | 122 | * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.2-1 |
---|
| 123 | - new upstream release |
---|
| 124 | - add BuildRequires: xorg-x11-util-macros |
---|
| 125 | |
---|
[2203] | 126 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1 |
---|
| 127 | - new upstream release |
---|
| 128 | |
---|
[1887] | 129 | * Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-3 |
---|
| 130 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 131 | |
---|
[521] | 132 | * Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-2 |
---|
| 133 | - add xf86vmode.h |
---|
| 134 | |
---|
| 135 | * Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1 |
---|
| 136 | - new upstream release |
---|
| 137 | |
---|
| 138 | * Sun Jun 28 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.2-2 |
---|
| 139 | - added compat32 package for x86_64 arch support |
---|
| 140 | |
---|
| 141 | * Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1 |
---|
| 142 | - new upstream release |
---|
| 143 | |
---|
| 144 | * Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1 |
---|
| 145 | - new versioning policy |
---|
| 146 | |
---|
| 147 | * Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-0vl1 |
---|
| 148 | - initial build for Vine Linux |
---|
| 149 | |
---|
| 150 | * Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.1-4 |
---|
| 151 | - Rebuild for build id |
---|
| 152 | |
---|
| 153 | * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control |
---|
| 154 | - rebuild |
---|
| 155 | |
---|
| 156 | * Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3 |
---|
| 157 | - Added "Requires: xorg-x11-proto-devel" |
---|
| 158 | - Remove package ownership of mandir/libdir/etc. |
---|
| 159 | |
---|
| 160 | * Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2 |
---|
| 161 | - Added "BuildRequires: pkgconfig" for (#193509) |
---|
| 162 | - Use "make install DESTDIR=..." instead of makeinstall macro, to fix (#192731) |
---|
| 163 | |
---|
| 164 | * Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1 |
---|
| 165 | - Update to 1.0.1 |
---|
| 166 | |
---|
| 167 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2 |
---|
| 168 | - bump again for double-long bug on ppc(64) |
---|
| 169 | |
---|
| 170 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1 |
---|
| 171 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 172 | |
---|
| 173 | * Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2 |
---|
| 174 | - Bumped and rebuilt |
---|
| 175 | |
---|
| 176 | * Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1 |
---|
| 177 | - Updated libXxf86vm to version 1.0.0 from X11R7 RC4 |
---|
| 178 | |
---|
| 179 | * Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1 |
---|
| 180 | - Updated libXxf86vm to version 0.99.2 from X11R7 RC3 |
---|
| 181 | - Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure |
---|
| 182 | that /usr/lib/X11 and /usr/include/X11 pre-exist. |
---|
| 183 | - Removed 'x' suffix from manpage directories to match RC3 upstream. |
---|
| 184 | |
---|
| 185 | * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
---|
| 186 | - rebuilt |
---|
| 187 | |
---|
| 188 | * Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3 |
---|
| 189 | - Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes' |
---|
| 190 | - Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes' |
---|
| 191 | |
---|
| 192 | * Tue Nov 01 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2 |
---|
| 193 | - Bump release and rebuild to satiate beehive wonkiness. |
---|
| 194 | |
---|
| 195 | * Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1 |
---|
| 196 | - Updated libXxf86vm to version 0.99.1 from X11R7 RC1 |
---|
| 197 | - Updated file manifest to find manpages in "man3x" |
---|
| 198 | |
---|
| 199 | * Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3 |
---|
| 200 | - Renamed package to remove xorg-x11 from the name due to unanimous decision |
---|
| 201 | between developers. |
---|
| 202 | - Use Fedora Extras style BuildRoot tag. |
---|
| 203 | - Disable static library creation by default. |
---|
| 204 | - Add missing defattr to devel subpackage |
---|
| 205 | - Add missing documentation files to doc macro |
---|
| 206 | |
---|
| 207 | * Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2 |
---|
| 208 | - Renamed package to prepend "xorg-x11" to the name for consistency with |
---|
| 209 | the rest of the X11R7 packages. |
---|
| 210 | - Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel |
---|
| 211 | subpackage to ensure the devel package matches the installed shared libs. |
---|
| 212 | - Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to |
---|
| 213 | allow applications to use implementation agnostic dependencies. |
---|
| 214 | - Added post/postun scripts which call ldconfig. |
---|
| 215 | - Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package, |
---|
| 216 | and Conflicts with XFree86-devel and xorg-x11-devel to devel package. |
---|
| 217 | |
---|
| 218 | * Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1 |
---|
| 219 | - Initial build. |
---|