source: projects/specs/trunk/lib/libX/libXext/libXext-vl.spec @ 4616

Revision 4616, 6.7 KB checked in by Takemikaduchi, 13 years ago (diff)

X.Org, compiz, GNOME3, etc...

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