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

Revision 7707, 6.8 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 libXxf86vm runtime library
4Summary(ja): X.Org X11 libXxf86vm ランタイムライブラリ
5Name: libXxf86vm
6Version: 1.1.3
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: xorg-x11-util-macros
18BuildRequires: libX11-devel
19BuildRequires: libXext-devel
20Obsoletes: XFree86-libs, XOrg-libs
21
22%description
23X.Org X11 libXxf86vm runtime library
24
25%package devel
26Summary: X.Org X11 libXxf86vm development package
27Summary(ja): X.Org X11 libXxf86vm 開発パッケージ
28Group: Development/Libraries
29Requires(pre): xorg-x11-filesystem
30Requires: %{name} = %{version}-%{release}
31Requires: xorg-x11-proto-devel
32Obsoletes: XFree86-devel, XOrg-devel
33
34%description devel
35X.Org X11 libXxf86vm development package
36
37# compat32
38%package -n compat32-%{name}
39Summary: X.Org X11 libXxf86vm runtime library
40Summary(ja): X.Org X11 libXxf86vm ランタイムライブラリ
41Group: System Environment/Libraries
42Requires: %{name} = %{version}-%{release}
43
44%description -n compat32-%{name}
45X.Org X11 libXxf86vm runtime library
46
47%package -n compat32-%{name}-devel
48Summary: X.Org X11 libXxf86vm development package
49Summary(ja): X.Org X11 libXxf86vm 開発パッケージ
50Group: Development/Libraries
51Requires(pre): xorg-x11-filesystem
52Requires: compat32-%{name} = %{version}-%{release}
53Requires: %{name}-devel = %{version}-%{release}
54
55%description -n compat32-%{name}-devel
56X.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
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# 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
122* Sun Jun 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.3-1
123- new upstream release
124  (including security fix for CVE-2013-2001)
125
126* Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.2-1
127- new upstream release
128- add BuildRequires: xorg-x11-util-macros
129
130* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
131- new upstream release
132
133* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-3
134- rebuild with rpm-4.8.1 for pkg-config file
135
136* Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-2
137- add xf86vmode.h
138
139* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1
140- new upstream release
141
142* Sun Jun 28 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.0.2-2
143- added compat32 package for x86_64 arch support
144
145* Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
146- new upstream release
147
148* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-1
149- new versioning policy
150
151* Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.1-0vl1
152- initial build for Vine Linux
153
154* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.1-4
155- Rebuild for build id
156
157* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - sh: line 0: fg: no job control
158- rebuild
159
160* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
161- Added "Requires: xorg-x11-proto-devel"
162- Remove package ownership of mandir/libdir/etc.
163
164* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
165- Added "BuildRequires: pkgconfig" for (#193509)
166- Use "make install DESTDIR=..." instead of makeinstall macro, to fix (#192731)
167
168* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.1-1
169- Update to 1.0.1
170
171* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.2
172- bump again for double-long bug on ppc(64)
173
174* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.0-2.1
175- rebuilt for new gcc4.1 snapshot and glibc changes
176
177* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.0.0-2
178- Bumped and rebuilt
179
180* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
181- Updated libXxf86vm to version 1.0.0 from X11R7 RC4
182
183* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
184- Updated libXxf86vm to version 0.99.2 from X11R7 RC3
185- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
186  that /usr/lib/X11 and /usr/include/X11 pre-exist.
187- Removed 'x' suffix from manpage directories to match RC3 upstream.
188
189* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
190- rebuilt
191
192* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3
193- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
194- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
195
196* Tue Nov 01 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
197- Bump release and rebuild to satiate beehive wonkiness.
198
199* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
200- Updated libXxf86vm to version 0.99.1 from X11R7 RC1
201- Updated file manifest to find manpages in "man3x"
202
203* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.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> 0.99.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> 0.99.0-1
223- Initial build.
Note: See TracBrowser for help on using the repository browser.