]> git.pld-linux.org Git - packages/dshowserver.git/blob - dshowserver.spec
- initial spec by Wieslaw Kierbedz
[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            73
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
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
50 Utility to register win32 CoreAVC H.264 codec for usage with mythtv/mplayer/xine.
51
52 %description -l pl.UTF-8 -n registercodec
53 Narzedzie do przeprowadzenia rejestracji komercyjnego  kodeka CoreAVC H.264.
54
55
56 %prep
57 cd %{_builddir}
58 rm -rf %{pname}-%{version}
59 tar jxvf %{SOURCE0}
60 cd %{pname}-%{version}
61
62
63 %patch0 -p1
64
65 %build
66 cd %{pname}-%{version}
67 make -C dshowserver %{?with_static:STATIC=1} && %{!?with_static:cd loader && make && cd ../}
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 cd %{pname}-%{version}
72
73 install -d $RPM_BUILD_ROOT%{_bindir}
74 install -d $RPM_BUILD_ROOT%{_mandir}/man1
75
76 install dshowserver/dshowserver $RPM_BUILD_ROOT%{_bindir}/dshowserver
77 %{!?with_static:install loader/registercodec $RPM_BUILD_ROOT%{_bindir}/registercodec}
78
79 install man/* $RPM_BUILD_ROOT%{_mandir}/man1
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post
85
86 %postun
87
88 %files
89 %attr(755,root,video) %{_bindir}/dshowserver
90 %attr(644,root,root) %{_mandir}/man1/ds*
91
92 %if %{without static}
93 %files -n registercodec
94 %attr(755,root,video) %{_bindir}/registercodec
95 %attr(644,root,root) %{_mandir}/man1/re*
96 %endif
This page took 0.07518 seconds and 3 git commands to generate.