3 %bcond_with static # static package for use with x86_64 systems
5 %define pname dshowserver
9 Summary: Win32 CoreAVC H.264 codec helper.
10 Summary(pl.UTF-8): Serwer windowsowego kodeka CoreAVC H.264.
11 Name: %{pname}%{?with_static:-static}
12 Version: %{_snap}%{_rel}
16 Source0: %{pname}-%{version}.tar.bz2
18 Patch0: %{pname}-codecspath.patch
19 URL: http://code.google.com/
20 BuildRequires: glibc-static
23 CoreAVC is a proprietary Windows codec for H.264 video decoding.
24 It is much faster than any currently available open-source codecs.
25 Being multi-threaded, and able to play PAFF streams,
26 it can handle HD H.264/AVC streams that no freely available codecs can.
27 CoreAVC is reasonably priced, but it is Windows only.
28 Dshowserver serves CoreAVC for mythtv, mplayer and xine.
29 Dshowserver can work under 32 or 64 bits linux system.
30 For 64 bits use static binary compiled in 32 bits environement.
32 %description -l pl.UTF-8
33 CoreAVC to komercyjny kodek H.264 dla systemu Windows. Jest znacznie szybszy
34 od dowolnego wolnego kodeka. Obsługujac wielowatkowosc moze odtwarzac
35 strumienie zakodowane z uzyciem interlacingu PAFF.
36 Odtwarza strumienie HD H.264/AVC.
37 Kosztuje rozsadnie, ale dostepny jest tylko dla Windows.
38 Dhowserevr implementuje obsluge tego kodeka przez mythtv, mplayer i xine.
39 Dshowserver moze byc uzyty w architekturach x86 i x86_64.
40 Jezeli twoj system jest 64 bitowy. Uzyj statycznych binariow
41 zbudowanych w 32 bitowym srodowisku.
44 %package -n registercodec%{?with_static:-static}
45 Summary: Utility to register win32 CoreAVC H.264 codec.
46 Summary(pl.UTF-8): Narzedzie do rejestracji windowsowego kodeka CoreAVC H.264.
49 %description -n registercodec%{?with_static:-static}
50 Utility to register win32 CoreAVC H.264 codec for usage with mythtv/mplayer/xine.
52 %description -l pl.UTF-8 -n registercodec%{?with_static:-static}
53 Narzedzie do przeprowadzenia rejestracji komercyjnego kodeka CoreAVC H.264.
57 rm -rf %{pname}-%{version}
59 cd %{pname}-%{version}
64 cd %{pname}-%{version}
65 make -C dshowserver %{?with_static:STATIC=1}
68 rm -rf $RPM_BUILD_ROOT
69 cd %{pname}-%{version}
71 install -d $RPM_BUILD_ROOT%{_bindir}
72 install -d $RPM_BUILD_ROOT%{_mandir}/man1
74 install dshowserver/dshowserver $RPM_BUILD_ROOT%{_bindir}/dshowserver
75 install dshowserver/registercodec $RPM_BUILD_ROOT%{_bindir}/registercodec
77 install man/* $RPM_BUILD_ROOT%{_mandir}/man1
80 rm -rf $RPM_BUILD_ROOT
87 %attr(755,root,video) %{_bindir}/dshowserver
88 %attr(644,root,root) %{_mandir}/man1/ds*
90 %files -n registercodec%{?with_static:-static}
91 %attr(755,root,video) %{_bindir}/registercodec
92 %attr(644,root,root) %{_mandir}/man1/re*