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

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

new upstream release

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