]> git.pld-linux.org Git - packages/dshowserver.git/blob - dshowserver.spec
bd8870c80aa766b2286b4e263296d3e5e6547d22
[packages/dshowserver.git] / dshowserver.spec
1
2 # Conditional build:
3 %bcond_with     static  # static package for use with x86_64 systems
4
5 %define         pname           dshowserver
6 %define         _snap           svn
7 %define         _rel            82
8
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}
13 Release:        0.1
14 License:        GPL
15 Group:          X11/Multimedia
16 Source0:        %{pname}-%{version}.tar.bz2
17 # Source0-md5:
18 Patch0:         %{pname}-codecspath.patch
19 URL:            http://code.google.com/         
20 BuildRequires:  glibc-static
21
22 %description
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.
31
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.
42
43
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.
47 Group:          X11/Multimedia
48
49 %description -n registercodec%{?with_static:-static}
50 Utility to register win32 CoreAVC H.264 codec for usage with mythtv/mplayer/xine.
51
52 %description -l pl.UTF-8 -n registercodec%{?with_static:-static}
53 Narzedzie do przeprowadzenia rejestracji komercyjnego  kodeka CoreAVC H.264.
54
55 %prep
56 cd %{_builddir}
57 rm -rf %{pname}-%{version}
58 tar jxvf %{SOURCE0}
59 cd %{pname}-%{version}
60
61 %patch0 -p1
62
63 %build
64 cd %{pname}-%{version}
65 make -C dshowserver %{?with_static:STATIC=1} 
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69 cd %{pname}-%{version}
70
71 install -d $RPM_BUILD_ROOT%{_bindir}
72 install -d $RPM_BUILD_ROOT%{_mandir}/man1
73
74 install dshowserver/dshowserver $RPM_BUILD_ROOT%{_bindir}/dshowserver
75 install dshowserver/registercodec $RPM_BUILD_ROOT%{_bindir}/registercodec
76
77 install man/* $RPM_BUILD_ROOT%{_mandir}/man1
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post
83
84 %postun
85
86 %files
87 %attr(755,root,video) %{_bindir}/dshowserver
88 %attr(644,root,root) %{_mandir}/man1/ds*
89
90 %files -n registercodec%{?with_static:-static}
91 %attr(755,root,video) %{_bindir}/registercodec
92 %attr(644,root,root) %{_mandir}/man1/re*
This page took 0.0504 seconds and 2 git commands to generate.