source: projects/specs/trunk/lib/libX/libXfixes/libXfixes-vl.spec @ 7707

Revision 7707, 6.6 KB checked in by Takemikaduchi, 11 years ago (diff)

security fix

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