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

Revision 521, 5.6 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: X.Org X11 libXvMC runtime library
2Summary(ja): X.Org X11 libXvMC ランタイムライブラリ
3Name: libXvMC
4Version: 1.0.5
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%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}/libXvMC.so.1
72%{_libdir}/libXvMC.so.1.0.0
73%{_libdir}/libXvMCW.so.1
74%{_libdir}/libXvMCW.so.1.0.0
75%ghost %config(missingok,noreplace) %verify (not md5 size mtime) %{_sysconfdir}/X11/XvMCConfig
76
77%files devel
78%defattr(-,root,root,-)
79%dir %{_includedir}/X11
80%dir %{_includedir}/X11/extensions
81%{_includedir}/X11/extensions/XvMClib.h
82%if %{with_static}
83%{_libdir}/libXvMC.a
84%{_libdir}/libXvMCW.a
85%endif
86%{_libdir}/libXvMC.so
87%{_libdir}/libXvMCW.so
88%{_libdir}/pkgconfig/xvmc.pc
89
90%changelog
91* Wed Nov 18 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.5-1
92- new upstream release
93
94* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-2
95- spec in utf-8
96
97* Sun May 18 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-1
98- new versioning policy
99
100* Thu Jan 17 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.4-0vl1
101- initial build for Vine Linux
102
103* Tue Aug 21 2007 Adam Jackson <ajax@redhat.com> - 1.0.4-3
104- Rebuild for build id
105
106* Sat Apr 21 2007 Matthias Clasen <mclasen@redhat.com> 1.0.4-2
107- Don't install INSTALL
108
109* Fri Jan 05 2007 Adam Jackson <ajax@redhat.com> 1.0.4-1
110- Update to 1.0.4
111
112* Mon Nov 20 2006 Adam Jackson <ajax@redhat.com> 1.0.3-1
113- Update to 1.0.3
114
115* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 1.0.2-2.1
116- rebuild
117
118* Mon Jun 05 2006 Mike A. Harris <mharris@redhat.com> 1.0.2-2
119- Added "BuildRequires: pkgconfig" for (#193506)
120- Replace "makeinstall" with "make install DESTDIR=..."
121- Touch XvMCConfig during install phase, and add to file manifest as a ghost
122  file, so that it is owned by the package if the user creates it. (#192254)
123
124* Thu Apr 27 2006 Adam Jackson <ajackson@redhat.com> 1.0.2-1
125- Update to 1.0.2.  Drop #180902 patch, already fixed upstream.
126
127* Tue Feb 21 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-3
128- Added libXvMC-1.0.1-libXvMC-XConfigDir-fix-bug180902.patch to fix (#180902)
129
130* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-2.2
131- bump again for double-long bug on ppc(64)
132
133* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-2.1
134- rebuilt for new gcc4.1 snapshot and glibc changes
135
136* Tue Jan 31 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-2
137- Added "Requires: libXv-devel, xorg-x11-proto-devel" to fix (#176862)
138
139* Wed Jan 18 2006 Mike A. Harris <mharris@redhat.com> 1.0.1-1
140- Updated libXvMC to version 1.0.1 from X11R7.0
141
142* Fri Dec 16 2005 Mike A. Harris <mharris@redhat.com> 1.0.0-1
143- Updated libXvMC to version 1.0.0 from X11R7 RC4
144
145* Tue Dec 13 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
146- Updated libXvMC to version 0.99.2 from X11R7 RC3
147- Added "Requires(pre): xorg-x11-filesystem >= 0.99.2-3", to ensure
148  that /usr/lib/X11 and /usr/include/X11 pre-exist.
149- Removed 'x' suffix from manpage directories to match RC3 upstream.
150
151* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
152- rebuilt
153
154* Fri Nov 11 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-2
155- Changed 'Conflicts: XFree86-devel, xorg-x11-devel' to 'Obsoletes'
156- Changed 'Conflicts: XFree86-libs, xorg-x11-libs' to 'Obsoletes'
157
158* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.1-1
159- Updated libXvMC to version 0.99.1 from X11R7 RC1
160
161* Thu Sep 29 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-3
162- Renamed package to remove xorg-x11 from the name due to unanimous decision
163  between developers.
164- Use Fedora Extras style BuildRoot tag.
165- Disable static library creation by default.
166- Add missing defattr to devel subpackage
167- Add missing documentation files to doc macro
168
169* Tue Aug 23 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-2
170- Renamed package to prepend "xorg-x11" to the name for consistency with
171  the rest of the X11R7 packages.
172- Added "Requires: %%{name} = %%{version}-%%{release}" dependency to devel
173  subpackage to ensure the devel package matches the installed shared libs.
174- Added virtual "Provides: lib<name>" and "Provides: lib<name>-devel" to
175  allow applications to use implementation agnostic dependencies.
176- Added post/postun scripts which call ldconfig.
177- Added Conflicts with XFree86-libs and xorg-x11-libs to runtime package,
178  and Conflicts with XFree86-devel and xorg-x11-devel to devel package.
179
180* Mon Aug 22 2005 Mike A. Harris <mharris@redhat.com> 0.99.0-1
181- Initial build.
Note: See TracBrowser for help on using the repository browser.