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

Revision 7707, 7.3 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 libXrandr runtime library
4Summary(ja): X.Org X11 libXrandr ランタイムライブラリ
5Name: libXrandr
6Version: 1.4.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: xorg-x11-proto-devel >= 7.4-5
17BuildRequires: libX11-devel
18BuildRequires: libXext-devel
19BuildRequires: libXrender-devel
20Obsoletes: XFree86-libs, XOrg-libs
21
22Vendor: Project Vine
23Distribution: Vine Linux
24
25%description
26X.Org X11 libXrandr runtime library
27
28%package devel
29Summary: X.Org X11 libXrandr development package
30Summary(ja): X.Org X11 libXrandr 開発パッケージ
31Group: Development/Libraries
32Requires(pre): xorg-x11-filesystem
33Requires: %{name} = %{version}-%{release}
34Requires: xorg-x11-proto-devel
35Requires: libXrender-devel
36Obsoletes: XFree86-devel, XOrg-devel
37
38%description devel
39X.Org X11 libXrandr development package
40
41# compat32
42%package -n compat32-%{name}
43Summary: X.Org X11 libXrandr runtime library
44Summary(ja): X.Org X11 libXrandr ランタイムライブラリ
45Group: System Environment/Libraries
46
47%description -n compat32-%{name}
48X.Org X11 libXrandr runtime library
49
50%package -n compat32-%{name}-devel
51Summary: X.Org X11 libXrandr development package
52Summary(ja): X.Org X11 libXrandr 開発パッケージ
53Group: Development/Libraries
54Requires(pre): xorg-x11-filesystem
55Requires: compat32-%{name} = %{version}-%{release}
56Requires: %{name}-devel = %{version}-%{release}
57
58%description -n compat32-%{name}-devel
59X.Org X11 libXrandr development package
60
61%prep
62%setup -q
63
64%build
65%configure  --disable-static
66make
67
68%install
69rm -rf $RPM_BUILD_ROOT
70
71make install DESTDIR=$RPM_BUILD_ROOT
72
73# We intentionally don't ship *.la files
74rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
82%post -n compat32-%{name} -p /sbin/ldconfig
83%postun -n compat32-%{name} -p /sbin/ldconfig
84
85%files
86%defattr(-,root,root,-)
87%doc AUTHORS COPYING README ChangeLog
88%{_libdir}/libXrandr.so.*
89
90%files devel
91%defattr(-,root,root,-)
92%dir %{_includedir}/X11
93%dir %{_includedir}/X11/extensions
94%{_includedir}/X11/extensions/Xrandr.h
95%{_libdir}/libXrandr.so
96%{_libdir}/pkgconfig/xrandr.pc
97%{_mandir}/man3/*.3*
98
99# compat32
100%if %{build_compat32}
101%files -n compat32-%{name}
102%defattr(-,root,root,-)
103%{_libdir}/libXrandr.so.*
104
105%files -n compat32-%{name}-devel
106%defattr(-,root,root,-)
107%dir %{_includedir}/X11
108%dir %{_includedir}/X11/extensions
109%{_includedir}/X11/extensions/Xrandr.h
110%{_libdir}/libXrandr.so
111%{_libdir}/pkgconfig/xrandr.pc
112%endif
113
114%changelog
115* Sun Jun 02 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.1-1
116- new upstream release
117  (including security fix for CVE-2013-1986)
118
119* Sun Aug 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.4-1
120- new upstream release
121
122* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.2-1
123- new upstream release
124
125* Sun Dec 19 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.1-2
126- add Requires: libXrender-devel (devel package)
127
128* Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.1-1
129- new upstream release
130
131* Fri Sep 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-3
132- rebuild with rpm-4.8.1 for pkg-config file
133
134* Sun May 03 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.3.0-2
135- added compat32 package for x86_64 arch support
136
137* Wed Mar 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.0-1
138- new upstream release
139
140* Fri Jul 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.3-1
141- new upstream release
142
143* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-1
144- new versioning policy
145
146* Mon Jan 14 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.2-0vl1
147- initial build for Vine Linux
148
149* Mon Sep 24 2007 Adam Jackson <ajax@redhat.com> 1.2.2-1
150- libXrandr 1.2.2
151
152* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.2.0-5
153- Rebuild for build id
154
155* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.2.0-4
156- Don't install INSTALL
157
158* Thu Apr 12 2007 Adam Jackson <ajax@redhat.com> 1.2.0-3
159- BuildRequire on the randrproto virtual instead of a magic x-x-p-d version.
160- Fix -devel package to require sufficiently new randrproto.
161
162* Wed Feb 28 2007 Adam Jackson <ajax@redhat.com> 1.2.0-2
163- libXrandr-1.2.0-appease-cee-plus-plus.patch: don't use C++ keywords as
164  function argument names.
165
166* Wed Feb 21 2007 Adam Jackson <ajax@redhat.com> 1.2.0-1
167- libXrandr 1.2.0
168
169* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.1.1-2.1
170- Update to 1.1.2
171
172* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.1.1-3.1
173- rebuild
174
175* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-3
176- Added "Requires: xorg-x11-proto-devel" to devel pkg for xrandr.pc
177
178* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.1.1-2
179- Added "BuildRequires: pkgconfig" for (#193428)
180- Replace "makeinstall" with "make install DESTDIR=..." for (#192724)
181- Remove package ownership of mandir/libdir/etc.
182
183* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.1.1-1
184- Update to 1.1.1
185
186* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1.0.2-2.2
187- bump again for double-long bug on ppc(64)
188
189* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1.0.2-2.1
190- rebuilt for new gcc4.1 snapshot and glibc changes
191
192* Mon Jan 23 2006 Mike A. Harris <mharris@redhat.com> 1.1.0.2-2
193- Bumped and rebuilt
194
195* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.1.0.2-1
196- Updated libXrandr to version 1.1.0.2 from X11R7 RC4
197
198* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 1.1.0.1-1
199- Updated libXrandr to version 1.1.0.1 from X11R7 RC3
200- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
201  that /usr/lib/X11 and /usr/include/X11 pre-exist.
202- Removed 'x' suffix from manpage directories to match RC3 upstream.
203
204* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
205- rebuilt
206
207* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
208- Updated libXrandr to version 0.99.2 from X11R7 RC2
209- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
210- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
211
212
213* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
214- Updated libXrandr to version 0.99.1 from X11R7 RC1
215- Updated file manifest to find manpages in "man3x"
216
217* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
218- Renamed package to remove xorg-x11 from the name due to unanimous decision
219  between developers.
220- Use Fedora Extras style BuildRoot tag.
221- Disable static library creation by default.
222- Add missing defattr to devel subpackage
223- Add missing documentation files to doc macro
224
225* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
226- Renamed package to prepend "xorg-x11" to the name for consistency with
227  the rest of the X11R7 packages.
228- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
229  subpackage to ensure the devel package matches the installed shared libs.
230- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
231  allow applications to use implementation agnostic dependencies.
232- Added post/postun scripts which call ldconfig.
233- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
234  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
235
236* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
237- Initial build.
Note: See TracBrowser for help on using the repository browser.