--- /dev/null
+Summary: Translates broken PAL signals to YUV4MPEG2
+Name: cc2y4m
+Version: 0.0.12
+Release: 1
+License: GPL
+Group: Applications/Multimedia
+Source0: http://cube.dyndns.org/~rsnel/cc2y4m/%{name}-%{version}.tar.gz
+# Source0-md5: 8e15d4baa67cb31340267bbe44f5970a
+URL: http://cube.dyndns.org/~rsnel/cc2y4m/
+BuildRequires: bison
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Some channels broadcast a tv signal which is not standards compliant.
+It usually lacks sync pulses, gets inverted at random times and even
+may include disinformation. Those signals can't be comfortably viewed
+on a normal television set. The Brooktree 87[89](A) chip has a special
+mode in which it doesn't get confused because of missing sync signals.
+This program enables this mode, very much alike cabletv, and takes
+special measures to keep the image stable and adjust for the
+inversion. The output of this program appears on standard output in
+YUV4MPEG2 format, and can, for example, be fed to MPlayer.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+ CC="%{__cc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+install %{name} $RPM_BUILD_ROOT%{_bindir}
+install *.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS BUGS FAQ README TECH *.conf
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man?/*