]> git.pld-linux.org Git - packages/avifile.git/blobdiff - avifile.spec
Install utils instead of libtool scripts. Link avifile plugins
[packages/avifile.git] / avifile.spec
index c8edfd141912d20a126be6f7fc7c2d7917615a4e..93d2938768451dc0293b1f3a092df7b1b40d5bc7 100644 (file)
@@ -2,18 +2,17 @@ Summary:      Library and sample program for playing AVI files
 Summary(pl):   Biblioteka i przyk³adowy program do odtwarzania plików AVI
 Name:          avifile
 Version:       0.6.0
-Release:       0.beta4
+Release:       0.beta4.2
 Epoch:         1
 License:       GPL
 Group:         X11/Applications/Multimedia
 Group(de):     X11/Applikationen/Multimedia
 Group(pl):     X11/Aplikacje/Multimedia
-Source0:       http://divx.euro.ru/%{name}-%{version}-beta3.tar.gz
-Patch0:                %{name}-bitrate.patch
-Patch1:                %{name}-shareware.patch
-Patch2:                %{name}-DESTDIR.patch
-Patch3:                %{name}-opt.patch
-Patch4:                %{name}-am_fix.patch
+Source0:       http://divx.euro.ru/%{name}-%{version}-beta4.tar.gz
+Patch0:                %{name}-shareware.patch
+Patch1:                %{name}-opt.patch
+Patch2:                %{name}-am_fix.patch
+Patch3:                %{name}-deplib.patch
 Requires:      avi-codecs
 BuildRequires: unzip
 BuildRequires: libstdc++-devel
@@ -58,14 +57,14 @@ libaviplay.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 
 %build
 libtoolize --copy --force
 aclocal
 automake -a -c --foreign
 autoconf
-CD_OPT="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}"; export CD_OPT
+CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -D_LARGEFILE64_SOURCE"; export CFLAGS
+CXXFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -D_LARGEFILE64_SOURCE"; export CXXFLAGS
 %configure \
        --with-qt-includes=%{_includedir}/qt \
        --enable-release
@@ -80,7 +79,7 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},/usr/lib/win32}
 %{__make} install \
        DESTDIR="$RPM_BUILD_ROOT"
 
-install samples/misc/{asfdump,asftest,benchmark} $RPM_BUILD_ROOT%{_bindir}
+install samples/misc/.libs/{asfdump,asftest,benchmark} $RPM_BUILD_ROOT%{_bindir}
 
 gzip -9nf README doc/{CREDITS,EXCEPTIONS,KNOWN_BUGS,LICENSING} \
        doc/{README-DEVEL,TODO,VIDEO-PERFORMANCE,WARNINGS}
@@ -99,8 +98,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/asf*
 %attr(755,root,root) %{_bindir}/[bkq]*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
-%attr(755,root,root) /usr/lib/win32/lib*.la
-%attr(755,root,root) /usr/lib/win32/lib*.so.*
+%attr(755,root,root) %{_libdir}/avifile/lib*
 %{_datadir}/%{name}
 
 %files devel
This page took 0.064256 seconds and 4 git commands to generate.