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

Revision 5869, 6.7 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

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