SPECS: dshowserver.spec - some cleanups

grzegorz grzegorz at pld-linux.org
Mon Nov 3 09:50:12 CET 2008


Author: grzegorz                     Date: Mon Nov  3 08:50:12 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- some cleanups

---- Files affected:
SPECS:
   dshowserver.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/dshowserver.spec
diff -u SPECS/dshowserver.spec:1.4 SPECS/dshowserver.spec:1.5
--- SPECS/dshowserver.spec:1.4	Mon Nov  3 09:25:23 2008
+++ SPECS/dshowserver.spec	Mon Nov  3 09:50:06 2008
@@ -1,28 +1,24 @@
 # $Revision$, $Date$
-# TODO
-# - err, get rid of name mungling and create real -static package or some other subpackages
-# - static bcond and BR mismatches
-# - missing source0 (due lack of md5)
 
 # Conditional build:
 %bcond_with	static	# static package for use with x86_64 systems
 
 %define 	snap		svn
 %define		extraver	82
-%define		pname		dshowserver
+%define		_version	%{snap}%{extraver}
+
 Summary:	Win32 CoreAVC H.264 codec helper
 Summary(pl.UTF-8):	Serwer windowsowego kodeka CoreAVC H.264.
-Name:		%{pname}%{?with_static:-static}
+Name:		dshowserver
 Version:	0.%{snap}%{extraver}
 Release:	0.1
 License:	GPL
 Group:		X11/Applications/Multimedia
-Source0:	%{pname}-%{version}.tar.bz2
-# Source0-md5:
-Patch0:		%{pname}-codecspath.patch
-URL:		http://code.google.com/
-# XXX actual without static bcond too??
-BuildRequires:	glibc-static
+Source0:	%{name}-%{version}.tar.bz2
+# Source0-md5:	648492583080c4359040358453670452
+Patch0:		%{name}-codecspath.patch
+URL:		http://code.google.com/p/coreavc-for-linux/
+%{?with_static:BuildRequires:     glibc-static}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -46,21 +42,21 @@
 zbudowanych w 32 bitowym srodowisku.
 
 
-%package -n registercodec%{?with_static:-static}
+%package -n registercodec
 Summary:	Utility to register win32 CoreAVC H.264 codec
 Summary(pl.UTF-8):	Narzedzie do rejestracji windowsowego kodeka CoreAVC H.264.
 Group:		X11/Applications/Multimedia
 
-%description -n registercodec%{?with_static:-static}
+%description -n registercodec
 Utility to register win32 CoreAVC H.264 codec for usage with
 mythtv/mplayer/xine.
 
-%description -n registercodec%{?with_static:-static} -l pl.UTF-8
+%description -n registercodec -l pl.UTF-8
 Narzedzie do przeprowadzenia rejestracji komercyjnego kodeka CoreAVC
 H.264.
 
 %prep
-%setup -q -n %{pname}-%{version}
+%setup -q -n %{name}-%{_version}
 %patch0 -p1
 
 %build
@@ -83,7 +79,7 @@
 %attr(755,root,video) %{_bindir}/dshowserver
 %{_mandir}/man1/ds*
 
-%files -n registercodec%{?with_static:-static}
+%files -n registercodec
 %defattr(644,root,root,755)
 %attr(755,root,video) %{_bindir}/registercodec
 %{_mandir}/man1/re*
@@ -93,14 +89,9 @@
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 $Log$
-Revision 1.4  2008/11/03 08:25:23  glen
-- alpha and numeric comparision is inconsistent with different rpm versions
-
-Revision 1.3  2008/11/03 08:24:10  glen
-- grzegorz - you should pldize external specs, not just add them
+Revision 1.5  2008/11/03 08:50:06  grzegorz
+- some cleanups
 
-
-$Log$
 Revision 1.4  2008/11/03 08:25:23  glen
 - alpha and numeric comparision is inconsistent with different rpm versions
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dshowserver.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list