|
|
@ -62,10 +62,16 @@ BuildRequires: libcdio-paranoia-devel
|
|
|
|
|
|
|
|
|
|
|
|
# X11 stuff
|
|
|
|
# X11 stuff
|
|
|
|
%if 0%{?mgaversion} || 0%{?mdkversion}
|
|
|
|
%if 0%{?mgaversion} || 0%{?mdkversion}
|
|
|
|
|
|
|
|
%if 0%{?mgaversion} >= 4
|
|
|
|
|
|
|
|
BuildRequires: %{_lib}xext-devel
|
|
|
|
|
|
|
|
BuildRequires: %{_lib}xtst-devel
|
|
|
|
|
|
|
|
BuildRequires: %{_lib}xinerama-devel
|
|
|
|
|
|
|
|
%else
|
|
|
|
BuildRequires: %{_lib}xext%{?mgaversion:6}-devel
|
|
|
|
BuildRequires: %{_lib}xext%{?mgaversion:6}-devel
|
|
|
|
BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
|
|
|
|
BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
|
|
|
|
BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel
|
|
|
|
BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%if 0%{?rhel} == 4
|
|
|
|
%if 0%{?rhel} == 4
|
|
|
|
BuildRequires: xorg-x11-devel
|
|
|
|
BuildRequires: xorg-x11-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -214,11 +220,11 @@ Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?suse_version} || 0%{?pclinuxos}
|
|
|
|
%if 0%{?suse_version} || 0%{?pclinuxos}
|
|
|
|
%debug_package
|
|
|
|
%debug_package
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##########
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
|
|
|
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
|
|
@ -227,6 +233,7 @@ Requires: %{name} = %{version}-%{release}
|
|
|
|
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
|
|
|
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
|
|
|
%__make -f "admin/Makefile.common"
|
|
|
|
%__make -f "admin/Makefile.common"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
unset QTDIR QTINC QTLIB
|
|
|
|
unset QTDIR QTINC QTLIB
|
|
|
|
export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
export PATH="%{tde_bindir}:${PATH}"
|
|
|
@ -272,6 +279,7 @@ export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop
|
|
|
|
rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|