Commit 9968f73f authored by Yves Duret's avatar Yves Duret

* macros to fix build on redhat system. put %define redhat80 to 1.

* few fixes.
parent 8ac62497
......@@ -5,6 +5,17 @@
%define major 2
%define libname %{name}%{major}
%define redhat80 0
%if %redhat80
%define release %rel
# some mdk macros that do not exist in rh
%define configure2_5x CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
%define make %__make
%define makeinstall_std make DESTDIR="$RPM_BUILD_ROOT" install
# adjust define for Redhat.
Name: %{name}
Version: %{version}
Release: %{release}
......@@ -13,7 +24,7 @@ Source: %{name}-%{version}.tar.bz2
License: GPL
Group: System/Libraries
Packager: Yves Duret <>
Packager: Yves Duret <>
BuildRoot: %_tmppath/%name-%version-%release-root
Conflicts: libdvdcss0.0.1, libdvdcss0.0.2
......@@ -65,11 +76,11 @@ package installed.
%setup -q
%make %{?_smp_mflags}
rm -rf %buildroot
......@@ -92,6 +103,8 @@ rm -rf %buildroot
- add more macros to fix RedHat build.
* Mon Nov 18 2002 Alexis de Lattre <> 1.2.4-2
- Changes in .spec file for RedHat and RPM 4.1
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