]>
Commit | Line | Data |
---|---|---|
7fe02a20 JB |
1 | Summary: X Video (Xv) extension library |
2 | Summary(pl.UTF-8): Biblioteka rozszerzenia X Video (Xv) | |
8bde6042 | 3 | Name: xorg-lib-libXv |
b42d6154 | 4 | Version: 1.0.12 |
38682e09 | 5 | Release: 1 |
8bde6042 AM |
6 | License: MIT |
7 | Group: X11/Libraries | |
b42d6154 JB |
8 | Source0: https://xorg.freedesktop.org/releases/individual/lib/libXv-%{version}.tar.xz |
9 | # Source0-md5: 70bfdd14ca1a563c218794413f0c1f42 | |
38682e09 | 10 | URL: https://xorg.freedesktop.org/ |
81381ace | 11 | BuildRequires: autoconf >= 2.60 |
8bde6042 | 12 | BuildRequires: automake |
8bde6042 | 13 | BuildRequires: libtool |
7c8d2470 | 14 | BuildRequires: pkgconfig >= 1:0.19 |
86310068 | 15 | BuildRequires: sed >= 4.0 |
b42d6154 | 16 | BuildRequires: tar >= 1:1.22 |
4ad7a4a7 | 17 | BuildRequires: xorg-lib-libX11-devel >= 1.6 |
3eec2e58 | 18 | BuildRequires: xorg-lib-libXext-devel |
8bde6042 | 19 | BuildRequires: xorg-proto-videoproto-devel |
b42d6154 | 20 | BuildRequires: xorg-proto-xextproto-devel |
81381ace | 21 | BuildRequires: xorg-util-util-macros >= 1.8 |
b42d6154 | 22 | BuildRequires: xz |
4ad7a4a7 | 23 | Requires: xorg-lib-libX11 >= 1.6 |
b42d6154 | 24 | Obsoletes: libXv < 2.3 |
3eec2e58 | 25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
8bde6042 | 26 | |
8bde6042 | 27 | %description |
7fe02a20 JB |
28 | libXv is a library for the X Video (Xv) extension to the X Window |
29 | System. | |
8bde6042 | 30 | |
516dea6c | 31 | %description -l pl.UTF-8 |
7fe02a20 | 32 | libXv to biblioteka rozszerzenia X Video (Xv) systemu X Window. |
8bde6042 | 33 | |
8bde6042 | 34 | %package devel |
98d1d653 | 35 | Summary: Header files for libXv library |
59e31ac7 | 36 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libXv |
8bde6042 | 37 | Group: X11/Development/Libraries |
3eec2e58 | 38 | Requires: %{name} = %{version}-%{release} |
4ad7a4a7 | 39 | Requires: xorg-lib-libX11-devel >= 1.6 |
8bde6042 AM |
40 | Requires: xorg-lib-libXext-devel |
41 | Requires: xorg-proto-videoproto-devel | |
b42d6154 JB |
42 | Requires: xorg-proto-xextproto-devel |
43 | Obsoletes: libXv-devel < 2.3 | |
8bde6042 AM |
44 | |
45 | %description devel | |
7fe02a20 JB |
46 | libXv is a library for the X Video (Xv) extension to the X Window |
47 | System. | |
8bde6042 AM |
48 | |
49 | This package contains the header files needed to develop programs that | |
98d1d653 | 50 | use libXv. |
8bde6042 | 51 | |
516dea6c | 52 | %description devel -l pl.UTF-8 |
7fe02a20 | 53 | libXv to biblioteka rozszerzenia X Video (Xv) systemu X Window. |
8bde6042 | 54 | |
516dea6c JR |
55 | Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów |
56 | używających biblioteki libXv. | |
8bde6042 | 57 | |
8bde6042 | 58 | %package static |
3eec2e58 | 59 | Summary: Static libXv library |
59e31ac7 | 60 | Summary(pl.UTF-8): Biblioteka statyczna libXv |
3eec2e58 JB |
61 | Group: X11/Development/Libraries |
62 | Requires: %{name}-devel = %{version}-%{release} | |
b42d6154 | 63 | Obsoletes: libXv-static < 2.3 |
8bde6042 AM |
64 | |
65 | %description static | |
7fe02a20 JB |
66 | libXv is a library for the X Video (Xv) extension to the X Window |
67 | System. | |
8bde6042 AM |
68 | |
69 | This package contains the static libXv library. | |
70 | ||
516dea6c | 71 | %description static -l pl.UTF-8 |
7fe02a20 | 72 | libXv to biblioteka rozszerzenia X Video (Xv) systemu X Window. |
8bde6042 | 73 | |
516dea6c | 74 | Pakiet zawiera statyczną bibliotekę libXv. |
8bde6042 | 75 | |
8bde6042 AM |
76 | %prep |
77 | %setup -q -n libXv-%{version} | |
78 | ||
86310068 JB |
79 | # support __libmansuffix__ with "x" suffix (per FHS 2.3) |
80 | %{__sed} -i -e 's,\.so man__libmansuffix__/,.so man3/,' man/*.man | |
81 | ||
8bde6042 AM |
82 | %build |
83 | %{__libtoolize} | |
84 | %{__aclocal} | |
85 | %{__autoconf} | |
86 | %{__autoheader} | |
87 | %{__automake} | |
88 | %configure | |
89 | %{__make} | |
90 | ||
91 | %install | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
94 | %{__make} install \ | |
81381ace | 95 | DESTDIR=$RPM_BUILD_ROOT |
8bde6042 AM |
96 | |
97 | %clean | |
98 | rm -rf $RPM_BUILD_ROOT | |
99 | ||
100 | %post -p /sbin/ldconfig | |
101 | %postun -p /sbin/ldconfig | |
102 | ||
8bde6042 AM |
103 | %files |
104 | %defattr(644,root,root,755) | |
b42d6154 | 105 | %doc AUTHORS COPYING ChangeLog README.md |
3eec2e58 | 106 | %attr(755,root,root) %{_libdir}/libXv.so.*.*.* |
c7f9169d | 107 | %attr(755,root,root) %ghost %{_libdir}/libXv.so.1 |
8bde6042 AM |
108 | |
109 | %files devel | |
110 | %defattr(644,root,root,755) | |
3eec2e58 | 111 | %attr(755,root,root) %{_libdir}/libXv.so |
8bde6042 | 112 | %{_libdir}/libXv.la |
c7f9169d | 113 | %{_includedir}/X11/extensions/Xvlib.h |
8bde6042 | 114 | %{_pkgconfigdir}/xv.pc |
6c03295c | 115 | %{_mandir}/man3/Xv*.3* |
8bde6042 | 116 | |
8bde6042 AM |
117 | %files static |
118 | %defattr(644,root,root,755) | |
119 | %{_libdir}/libXv.a |