1 |
|
|
2 |
%define oname vdr-plugin-xineliboutput |
%define oname vdr-plugin-xineliboutput |
3 |
%define plugin xineliboutput |
%define plugin xineliboutput |
|
%define name xine-xvdr |
|
4 |
# manually created tarball from CVS tag |
# manually created tarball from CVS tag |
|
%define version 1.0.5 |
|
5 |
%define snapshot 0 |
%define snapshot 0 |
6 |
%define prever 0 |
%define prever 0 |
7 |
%define rel 2 |
%define rel 1 |
8 |
|
|
9 |
%if %snapshot |
%if %snapshot |
10 |
%if %prever |
%if %prever |
27 |
%define xineapi %(A=%xineplugindir; echo ${A##*/}) |
%define xineapi %(A=%xineplugindir; echo ${A##*/}) |
28 |
|
|
29 |
Summary: Xine frontend for the xineliboutput VDR plugin |
Summary: Xine frontend for the xineliboutput VDR plugin |
30 |
Name: %name |
Name: xine-xvdr |
31 |
Version: %version |
Version: 1.0.6 |
32 |
Release: %release |
Release: %release |
33 |
Group: Video |
Group: Video |
34 |
License: GPLv2+ |
License: GPLv2+ |
35 |
URL: http://sourceforge.net/projects/xineliboutput/ |
URL: http://sourceforge.net/projects/xineliboutput/ |
36 |
%if %snapshot |
%if %snapshot |
37 |
Source: vdr-%plugin-%snapshot.tar.bz2 |
Source0: vdr-%plugin-%snapshot.tar.bz2 |
38 |
%else |
%else |
39 |
%if %prever |
%if %prever |
40 |
Source: http://prdownloads.sourceforge.net/xineliboutput/vdr-%plugin-%{version}%{prever}.tar.bz2 |
Source0: http://prdownloads.sourceforge.net/xineliboutput/vdr-%plugin-%{version}%{prever}.tar.bz2 |
41 |
%else |
%else |
42 |
Source: http://prdownloads.sourceforge.net/xineliboutput/vdr-%plugin-%version.tar.bz2 |
Source0: http://prdownloads.sourceforge.net/xineliboutput/vdr-%plugin-%version.tar.lzma |
43 |
|
Patch0: xineliboutput-link.patch |
44 |
%endif |
%endif |
45 |
%endif |
%endif |
46 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
|
47 |
BuildRequires: vdr-devel >= 1.6.0 |
BuildRequires: vdr-devel >= 1.6.0 |
48 |
BuildRequires: libx11-devel |
BuildRequires: libx11-devel |
49 |
BuildRequires: libxv-devel |
BuildRequires: libxv-devel |
77 |
%setup -q -n %plugin-%version%prever |
%setup -q -n %plugin-%version%prever |
78 |
%else |
%else |
79 |
%setup -q -n %plugin-%version |
%setup -q -n %plugin-%version |
80 |
|
%patch0 -p0 |
81 |
%endif |
%endif |
82 |
%endif |
%endif |
83 |
|
|
86 |
%build |
%build |
87 |
%setup_compile_flags |
%setup_compile_flags |
88 |
CFLAGS="$CFLAGS -fPIC" |
CFLAGS="$CFLAGS -fPIC" |
89 |
%make XINELIBOUTPUT_VDRPLUGIN=0 XINELIBOUTPUT_X11=0 XINELIBOUTPUT_FB=0 LOCALEDIR=. |
LC_ALL=C %make XINELIBOUTPUT_VDRPLUGIN=0 XINELIBOUTPUT_X11=0 XINELIBOUTPUT_FB=0 VDRDIR=%{_includedir}/vdr LIBDIR=%{_libdir} VDRINCDIR=%{_includedir}/vdr BINDIR=%{_bindir} LOCALEDIR=. |
90 |
|
|
91 |
%install |
%install |
92 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |