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