]> git.pld-linux.org Git - packages/dshowserver.git/blame - dshowserver.spec
- '#' is not rpm comment. It does not prevent macros from being expanded. Use
[packages/dshowserver.git] / dshowserver.spec
CommitLineData
091a5a6e 1%define svn 101
f0005843 2Summary: Win32 CoreAVC H.264 codec helper
989e7023 3Summary(pl.UTF-8): Serwer windowsowego kodeka CoreAVC H.264.
f0005843 4Name: dshowserver
e46776b2 5Version: 0.%{svn}
6Release: 0.1
05f295d3 7License: GPL v2
f0005843 8Group: X11/Applications/Multimedia
9Source0: %{name}-0.svn%{svn}.tar.bz2
e46776b2 10# Source0-md5: 9a5fefb6dc8e34114ae9ca99ee799eea
f0005843 11Patch0: %{name}-codecspath.patch
e46776b2 12Patch1: %{name}-make.patch
f0005843 13URL: http://code.google.com/p/coreavc-for-linux/
f0005843 14BuildRequires: rpmbuild(macros) >= 1.453
15BuildRequires: sed >= 4.0
e46776b2 16BuildRequires: wine-devel
091a5a6e 17ExclusiveArch: %{ix86}
f0005843 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%define x8664_flags -m32
21%define specflags_x86_64 %{x8664_flags}
22%define specflags_amd64 %{x8664_flags}
23%define specflags_ia32e %{x8664_flags}
05387132 24
989e7023 25%description
f0005843 26CoreAVC is a proprietary Windows codec for H.264 video decoding. It is
27much faster than any currently available open-source codecs. Being
28multi-threaded, and able to play PAFF streams, it can handle HD
29H.264/AVC streams that no freely available codecs can. CoreAVC is
30reasonably priced, but it is Windows only. Dshowserver serves CoreAVC
31for mythtv, mplayer and xine. Dshowserver can work under 32 or 64 bits
32linux system. For 64 bits use static binary compiled in 32 bits
33environement.
989e7023
GS
34
35%description -l pl.UTF-8
f0005843 36CoreAVC to komercyjny kodek H.264 dla systemu Windows. Jest znacznie
37szybszy od dowolnego wolnego kodeka. Obsługujac wielowatkowosc moze
38odtwarzac strumienie zakodowane z uzyciem interlacingu PAFF. Odtwarza
39strumienie HD H.264/AVC. Kosztuje rozsadnie, ale dostepny jest tylko
40dla Windows. Dhowserevr implementuje obsluge tego kodeka przez mythtv,
41mplayer i xine. Dshowserver moze byc uzyty w architekturach x86 i
42x86_64. Jezeli twoj system jest 64 bitowy. Uzyj statycznych binariow
989e7023
GS
43zbudowanych w 32 bitowym srodowisku.
44
05f295d3 45%package -n registercodec
46Summary: Utility to register win32 CoreAVC H.264 codec
47Summary(pl.UTF-8): Narzedzie do rejestracji windowsowego kodeka CoreAVC H.264.
48Group: X11/Applications/Multimedia
989e7023 49
05f295d3 50%description -n registercodec
51Utility to register win32 CoreAVC H.264 codec for usage with
52mythtv/mplayer/xine.
989e7023 53
05f295d3 54%description -n registercodec -l pl.UTF-8
55Narzedzie do przeprowadzenia rejestracji komercyjnego kodeka CoreAVC
56H.264.
989e7023 57
989e7023 58%prep
f0005843 59%setup -q -n %{name}-svn%{svn}
ae7b6ca4 60%patch0 -p1
d74f43e5 61%patch1 -p1
f0005843 62
63%if "%{cc_version}" < "3.4"
64# CC version is arbitary (just to be > 3.3)
65%{__sed} -i -e 's/-Wno-pointer-sign//;s/-Wdeclaration-after-statement//' {loader,dshowserver}/Makefile
66%endif
989e7023
GS
67
68%build
ae7b6ca4 69
05f295d3 70%{__make}
f0005843 71
72%install
73rm -rf $RPM_BUILD_ROOT
05f295d3 74%{__make} install -C dshowserver PREFIX=$RPM_BUILD_ROOT%{_prefix}
e46776b2 75install -d $RPM_BUILD_ROOT%{_mandir}/man1
e46776b2 76#install dshowserver/dshowserver $RPM_BUILD_ROOT%{_bindir}/dshowserver
77#install dshowserver/registercodec $RPM_BUILD_ROOT%{_bindir}/registercodec
78cp -a man/ds* $RPM_BUILD_ROOT%{_mandir}/man1
989e7023
GS
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
989e7023 83%files
f0005843 84%defattr(644,root,root,755)
9cafc610 85%doc README
989e7023 86%attr(755,root,video) %{_bindir}/dshowserver
e46776b2 87%attr(755,root,video) %{_libdir}/dshowserver/dshowserver.exe.so
f0005843 88%{_mandir}/man1/ds*
989e7023 89
05f295d3 90%if 0
91%files -n registercodec
92%defattr(644,root,root,755)
93%attr(755,root,video) %{_bindir}/registercodec
94%{_mandir}/man1/re*
95%endif
This page took 0.268068 seconds and 4 git commands to generate.