Commit ffb4bbdd authored by Jean-Paul Saman's avatar Jean-Paul Saman Committed by Jean-Paul Saman

Disable impressive sed command for libdvdnav.spec file from the orignal source.

parent 5a6ce286
......@@ -1122,8 +1122,8 @@ CLEAN_FILE += .libdvdread
libdvdnav-rpm: libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2
$(RPM_PREPARE)
cp Patches/dvdnav.patch rpm/SOURCES/
cp libdvdnav/misc/libdvdnav.spec rpm/SPECS/
sed -e 's/%define prefix \/home\/jpsaman\/Source\/vlc-0.8.6c-bugfix-m2x.git\/extras\/contrib/%define prefix \/usr/' -e 's/Copyright: GPL/License: GPL\nPatch0: dvdnav.patch/' -e 's/%setup/%setup -n libdvdnav-${LIBDVDNAV_VERSION}\n%patch -p1/' -e 's/%{name}-%{version}.tar.gz/%{name}-${LIBDVDNAV_VERSION}.tar.bz2/' -e 's/#\/dvdnav.m4/%{prefix}\/include\/dvdread\/\*\n%{prefix}\/lib\/libdvdread.\*\n%{prefix}\/share\/aclocal\/dvdnav.m4/' -e 's/configure/configure --enable-static --with-libdvdcss=$${RPM_BUILD_DIR}\/libdvdcss/' -i.orig rpm/SPECS/libdvdnav.spec
# cp libdvdnav/misc/libdvdnav.spec rpm/SPECS/
# sed -e 's/%define prefix \/home\/jpsaman\/Source\/vlc-0.8.6c-bugfix-m2x.git\/extras\/contrib/%define prefix \/usr/' -e 's/Copyright: GPL/License: GPL\nPatch0: dvdnav.patch/' -e 's/%setup/%setup -n libdvdnav-${LIBDVDNAV_VERSION}\n%patch -p1/' -e 's/%{name}-%{version}.tar.gz/%{name}-${LIBDVDNAV_VERSION}.tar.bz2/' -e 's/#\/dvdnav.m4/%{prefix}\/include\/dvdread\/\*\n%{prefix}\/lib\/libdvdread.\*\n%{prefix}\/share\/aclocal\/dvdnav.m4/' -e 's/configure/configure --enable-static --with-libdvdcss=$${RPM_BUILD_DIR}\/libdvdcss/' -i.orig rpm/SPECS/libdvdnav.spec
$(RPM_BUILD_SPEC)
touch $@
......@@ -2208,4 +2208,4 @@ clean-src: clean
clean-rpm:
rm -fr rpm/
distclean: clean-src clean-rpm
istclean: clean-src clean-rpm
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment