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