source: projects/specs/branches/6/lib/libX/libXvMC/libXvMC-vl.spec @ 2203

Revision 2203, 5.9 KB checked in by Takemikaduchi, 14 years ago (diff)

update Xorg libraries and xserver, and rebuild driver

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