]> git.pld-linux.org Git - packages/dshowserver.git/blobdiff - dshowserver.spec
- missing dir
[packages/dshowserver.git] / dshowserver.spec
index 1dd3d0e3ece039266db663944e0eedc9b41e3069..5d4253a6066286939c4c5e3832188381eae27588 100644 (file)
@@ -1,30 +1,20 @@
-# Conditional build:
-%bcond_with    static  # static package for use with x86_64 systems
-#
-
-%define                svn                     82
-%define                rel                     0.1
+%define                svn                     101
 Summary:       Win32 CoreAVC H.264 codec helper
 Summary(pl.UTF-8):     Serwer windowsowego kodeka CoreAVC H.264.
 Name:          dshowserver
-Version:       0.1
-Release:       0.%{svn}.%{rel}
-License:       GPL
+Version:       0.%{svn}
+Release:       0.3
+License:       GPL v2
 Group:         X11/Applications/Multimedia
 Source0:       %{name}-0.svn%{svn}.tar.bz2
-# Source0-md5: 648492583080c4359040358453670452
+# Source0-md5: 9a5fefb6dc8e34114ae9ca99ee799eea
 Patch0:                %{name}-codecspath.patch
-Patch1:                %{name}-optflags.patch
+Patch1:                %{name}-make.patch
 URL:           http://code.google.com/p/coreavc-for-linux/
-%ifarch %{x8664}
-BuildRequires: gcc-multilib
-%{?with_static:BuildRequires:     glibc-static(i686)}
-%else
-%{?with_static:BuildRequires:     glibc-static}
-%endif
 BuildRequires: rpmbuild(macros) >= 1.453
 BuildRequires: sed >= 4.0
-ExclusiveArch: %{ix86} %{x8664}
+BuildRequires: wine-devel
+ExclusiveArch: %{ix86}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                x8664_flags     -m32
@@ -76,36 +66,30 @@ H.264.
 %endif
 
 %build
-cat << 'EOF' > config.mak
-override CC = %{__cc}
-override OPTFLAGS = %{rpmcflags}
-override LDFLAGS = %{rpmldflags}
-
-%{?with_static:STATIC = 1}
-
-AR = ar
-RANLIB = ranlib
-OBJDIR = ../objs
-EOF
-
-%{__make} -C dshowserver
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-install dshowserver/dshowserver $RPM_BUILD_ROOT%{_bindir}/dshowserver
-install dshowserver/registercodec $RPM_BUILD_ROOT%{_bindir}/registercodec
-cp -a man/* $RPM_BUILD_ROOT%{_mandir}/man1
+%{__make} install -C dshowserver PREFIX=$RPM_BUILD_ROOT%{_prefix}
+install  -d $RPM_BUILD_ROOT%{_mandir}/man1
+#install dshowserver/dshowserver $RPM_BUILD_ROOT%{_bindir}/dshowserver
+#install dshowserver/registercodec $RPM_BUILD_ROOT%{_bindir}/registercodec
+cp -a man/ds* $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc README
 %attr(755,root,video) %{_bindir}/dshowserver
+%dir  %{_libdir}/dshowserver
+%attr(755,root,video) %{_libdir}/dshowserver/dshowserver.exe.so
 %{_mandir}/man1/ds*
 
+%if 0
 %files -n registercodec
 %defattr(644,root,root,755)
 %attr(755,root,video) %{_bindir}/registercodec
 %{_mandir}/man1/re*
+%endif
This page took 0.054237 seconds and 4 git commands to generate.