source: projects/specs/branches/6/lib/libd/libdmx/libdmx-vl.spec @ 7730

Revision 7730, 5.3 KB checked in by Takemikaduchi, 11 years ago (diff)

security fix

Line 
1Summary: X.Org X11 libdmx runtime library
2Summary(ja): X.Org X11 libdmx ランタイムライブラリ
3Name: libdmx
4Version: 1.1.0
5Release: 4%{?_dist_release}
6License: MIT/X11
7Group: System Environment/Libraries
8URL: http://www.x.org
9
10Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
11
12# fix CVE-2013-1992
13Patch0: libdmx-1.1.0-CVE-2013-1992.patch
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
16BuildRequires: pkgconfig
17BuildRequires: xorg-x11-proto-devel
18BuildRequires: libX11-devel
19BuildRequires: libXext-devel
20BuildRequires: libXau-devel
21BuildRequires: autoconf
22BuildRequires: xorg-x11-util-macros
23Obsoletes: XFree86-libs, XOrg-libs
24
25%description
26X.Org X11 libdmx runtime library
27
28%package devel
29Summary: X.Org X11 libdmx development package
30Summary(ja): X.Org X11 libdmx 開発パッケージ
31Group: Development/Libraries
32Requires(pre): xorg-x11-filesystem
33Requires: %{name} = %{version}-%{release}
34Requires: xorg-x11-proto-devel
35Obsoletes: XFree86-devel, XOrg-devel
36
37%description devel
38X.Org X11 libdmx development package
39
40%prep
41%setup -q
42%patch0 -p1
43
44# Disable static library creation by default.
45%define with_static 0
46
47%build
48autoreconf -if
49%configure \
50%if ! %{with_static}
51       --disable-static
52%endif
53
54%install
55rm -rf $RPM_BUILD_ROOT
56
57make install DESTDIR=$RPM_BUILD_ROOT
58
59# We intentionally don't ship *.la files
60rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%post -p /sbin/ldconfig
66%postun -p /sbin/ldconfig
67
68%files
69%defattr(-,root,root,-)
70%doc AUTHORS COPYING README ChangeLog
71%{_libdir}/libdmx.so.1
72%{_libdir}/libdmx.so.1.*
73
74%files devel
75%defattr(-,root,root,-)
76%{_includedir}/X11/extensions/*.h
77%if %{with_static}
78%{_libdir}/libdmx.a
79%endif
80%{_libdir}/libdmx.so
81%{_libdir}/pkgconfig/dmx.pc
82#%dir %{_mandir}/man3x
83%{_mandir}/man3/*.3*
84
85%changelog
86* Sat Jun 01 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-4
87- add Patch0 (libdmx-1.1.0-CVE-2013-1992.patch)
88- add BuildRequires: autoconf, xorg-x11-util-macros
89
90* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-3
91- rebuild with rpm-4.8.1 for pkg-config file
92
93* Thu Nov 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-2
94- add dmxext.h to %%files
95
96* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.0-1
97- new upstream release
98
99* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-2
100- spec in utf-8
101
102* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-1
103- new versioning policy
104
105* Fri Jan 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.2-0vl1
106- initial build for Vine Linux
107
108* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.2-4
109- Rebuild for build id
110
111* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> - 1.0.2-4
112- Don't install INSTALL
113
114* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.2-3.1
115- rebuild
116
117* Fri Jun 09 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-3
118- Replace "makeinstall" with "make install DESTDIR=..."
119- Added "Requires: xorg-x11-proto-devel" to devel for dmx.pc
120- Remove package ownership of mandir/libdir/etc.
121
122* Wed Jun 07 2006 Jeremy Katz <katzj@redhat.com> 1.0.2-2
123- rebuild for -devel deps
124
125* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
126- Update to 1.0.2
127
128* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.2
129- bump again for double-long bug on ppc(64)
130
131* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0.1-1.1
132- rebuilt for new gcc4.1 snapshot and glibc changes
133
134* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
135- Updated libdmx to version 1.0.1 from X11R7.0
136
137* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
138- Updated libdmx to version 1.0.0 from X11R7 RC4
139
140* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
141- Updated libdmx to version 0.99.2 from X11R7 RC3
142- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
143  that /usr/lib/X11 and /usr/include/X11 pre-exist.
144- Removed 'x' suffix from manpage directories to match RC3 upstream.
145
146* Tue Nov 15 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-3
147- Added "BuildRequires: libXau-devel, pkgconfig" missing deps.
148
149* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
150- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
151- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
152
153* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
154- Updated libdmx to version 0.99.1 from X11R7 RC1
155
156* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
157- Renamed package to remove "xorg-x11" from the name due to unanimous decision
158  between developers.
159- Use Fedora Extras style BuildRoot tag.
160- Disable static library creation by default.
161- Add missing defattr to devel subpackage
162- Add missing documentation files to doc macro
163
164* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
165- Renamed package to prepend "xorg-x11" to the name for consistency with
166  the rest of the X11R7 packages.
167- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
168  subpackage to ensure the devel package matches the installed shared libs.
169- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
170  allow applications to use implementation agnostic dependencies.
171- Added post/postun scripts which call ldconfig.
172- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
173  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
174
175* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
176- Initial build.
Note: See TracBrowser for help on using the repository browser.