SPECS: dshowserver.spec - update from WK
grzegorz
grzegorz at pld-linux.org
Mon Nov 3 08:55:01 CET 2008
Author: grzegorz Date: Mon Nov 3 07:55:01 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- update from WK
---- Files affected:
SPECS:
dshowserver.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/dshowserver.spec
diff -u SPECS/dshowserver.spec:1.1 SPECS/dshowserver.spec:1.2
--- SPECS/dshowserver.spec:1.1 Thu Oct 23 15:36:46 2008
+++ SPECS/dshowserver.spec Mon Nov 3 08:54:56 2008
@@ -5,7 +5,7 @@
%define pname dshowserver
%define _snap svn
-%define _rel 73
+%define _rel 82
Summary: Win32 CoreAVC H.264 codec helper.
Summary(pl.UTF-8): Serwer windowsowego kodeka CoreAVC H.264.
@@ -42,30 +42,28 @@
zbudowanych w 32 bitowym srodowisku.
-%package -n registercodec
+%package -n registercodec%{?with_static:-static}
Summary: Utility to register win32 CoreAVC H.264 codec.
Summary(pl.UTF-8): Narzedzie do rejestracji windowsowego kodeka CoreAVC H.264.
Group: X11/Multimedia
-%description -n registercodec
+%description -n registercodec%{?with_static:-static}
Utility to register win32 CoreAVC H.264 codec for usage with mythtv/mplayer/xine.
-%description -l pl.UTF-8 -n registercodec
+%description -l pl.UTF-8 -n registercodec%{?with_static:-static}
Narzedzie do przeprowadzenia rejestracji komercyjnego kodeka CoreAVC H.264.
-
%prep
cd %{_builddir}
rm -rf %{pname}-%{version}
tar jxvf %{SOURCE0}
cd %{pname}-%{version}
-
%patch0 -p1
%build
cd %{pname}-%{version}
-make -C dshowserver %{?with_static:STATIC=1} && %{!?with_static:cd loader && make && cd ../}
+make -C dshowserver %{?with_static:STATIC=1}
%install
rm -rf $RPM_BUILD_ROOT
@@ -75,7 +73,7 @@
install -d $RPM_BUILD_ROOT%{_mandir}/man1
install dshowserver/dshowserver $RPM_BUILD_ROOT%{_bindir}/dshowserver
-%{!?with_static:install loader/registercodec $RPM_BUILD_ROOT%{_bindir}/registercodec}
+install dshowserver/registercodec $RPM_BUILD_ROOT%{_bindir}/registercodec
install man/* $RPM_BUILD_ROOT%{_mandir}/man1
@@ -90,11 +88,9 @@
%attr(755,root,video) %{_bindir}/dshowserver
%attr(644,root,root) %{_mandir}/man1/ds*
-%if %{without static}
-%files -n registercodec
+%files -n registercodec%{?with_static:-static}
%attr(755,root,video) %{_bindir}/registercodec
%attr(644,root,root) %{_mandir}/man1/re*
-%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -103,8 +99,8 @@
Except wk
$Log$
-Revision 1.1 2008/10/23 13:36:46 grzegorz
-- initial spec by Wieslaw Kierbedz
+Revision 1.2 2008/11/03 07:54:56 grzegorz
+- update from WK
Revision 0.1 2008/10/12 20:20:41 wk
- initial release
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dshowserver.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list