source: projects/specs/trunk/lib/libX/libXv/libXv-vl.spec @ 12185

Revision 12185, 7.2 KB checked in by tomop, 5 years ago (diff)

updated X11 libs

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