summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2006-12-14 22:49:49 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit0b8829f487be29282a591cd0df14dac6d7636afc (patch)
tree395f111c0d9f97273e8ff1a6df84d370a1aabd25
parentee086d0c46b529da95b7c4ebafaf6b3d1ea7bd3c (diff)
downloadxdtv-0b8829f487be29282a591cd0df14dac6d7636afc.zip
xdtv-0b8829f487be29282a591cd0df14dac6d7636afc.tar.gz
- updated to 2.3.3
- project renamed to xdtv since 2.0 already Changed files: xdtv.spec -> 1.38
-rw-r--r--xdtv.spec31
1 files changed, 18 insertions, 13 deletions
diff --git a/xdtv.spec b/xdtv.spec
index 2963b59..25404ff 100644
--- a/xdtv.spec
+++ b/xdtv.spec
@@ -4,19 +4,18 @@
#
Summary: Video4Linux Stream Capture Viewer
Summary(pl): Program do oglądania strumienia z Video4Linux
-Name: xawdecode
-Version: 2.3.2
-Release: 2
+Name: xdtv
+Version: 2.3.3
+Release: 1
License: GPL
Group: X11/Applications/Multimedia
-#Source0: http://dl.sourceforge.net/xawdecode/xdtv-%{version}.tar.gz
-Source0: http://dl.sourceforge.net/xawdecode/xdtv-%{version}.tar.gz
-# Source0-md5: 3e4b2b518b6ab209e5ebc82a6c413d2a
-Source1: %{name}.desktop
-Patch0: %{name}-xvid.patch
-Patch1: %{name}-link.patch
-Patch2: %{name}-ffmpeg.patch
-Patch3: xdtv-ffmpeg.patch
+Source0: http://dl.sourceforge.net/xawdecode/%{name}-%{version}.tar.gz
+# Source0-md5: 72528d2205ac5e22ae766283a993225c
+Source1: xawdecode.desktop
+Patch0: xawdecode-xvid.patch
+Patch1: %{name}-ffmpeg.patch
+Patch2: %{name}-parallel-install.patch
+Patch3: %{name}-setXid.patch
URL: http://xawdecode.sourceforge.net/
#BuildRequires: Mowitz-devel -- would make sense with neXtaw instead of Xaw3d
BuildRequires: XFree86-devel
@@ -35,6 +34,8 @@ Requires(post,postun): fontpostinst
Requires: %{_fontsdir}/misc
Requires: xvid >= 1:1.1.0
Requires: zvbi >= 0.2.14
+Provides: xawdecode
+Obsoletes: xawdecode
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _appdefsdir /usr/X11R6/lib/X11/app-defaults
@@ -51,6 +52,7 @@ Summary: Development files for xawdecode
Summary(pl): Pliki do programowania z użyciem xawdecode
Group: X11/Development/Libraries
Requires: %{name} = %{version}-%{release}
+Obsoletes: xawdecode-devel
%description devel
Development files for xawdecode.
@@ -59,12 +61,14 @@ Development files for xawdecode.
Pliki do programowania z użyciem xawdecode.
%prep
-%setup -q -n xdtv-%{version}
+%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
+rm -rf libavformat libavcodec libavutil libpostproc
+
%build
%{__aclocal}
%{__autoheader}
@@ -76,6 +80,7 @@ Pliki do programowania z użyciem xawdecode.
%{!?with_lirc:--disable-lirc} \
%{?with_lirc:--enable-lirc} \
--disable-mowitz \
+ --enable-external-ffmpeg \
--disable-nextaw \
--disable-xaw95 \
--disable-xawm \
@@ -92,7 +97,7 @@ install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_desktopdir}}
DESTDIR=$RPM_BUILD_ROOT \
FONTDIR=%{_fontsdir}/misc
-install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
%clean
rm -rf $RPM_BUILD_ROOT