This commit is contained in:
parent
a3e4dc2665
commit
a446766460
@ -28,3 +28,4 @@ wine
|
||||
requires "libGL.so.1"
|
||||
requires "libGLU.so.1"
|
||||
wine-devel
|
||||
libwine1
|
||||
|
36
wine.spec
36
wine.spec
@ -214,6 +214,24 @@ Conflicts: otherproviders(wine-devel)
|
||||
This RPM contains the header files and development tools for the WINE
|
||||
libraries.
|
||||
|
||||
%if "%{flavor}" != ""
|
||||
%package -n libwine1-%{flavor}
|
||||
%else
|
||||
%package -n libwine1
|
||||
%endif
|
||||
%if "%{flavor}" != ""
|
||||
Provides: libwine1 = %{version}
|
||||
%endif
|
||||
Conflicts: otherproviders(libwine1)
|
||||
|
||||
%if "%{flavor}" != ""
|
||||
%description -n libwine1-%{flavor}
|
||||
%else
|
||||
%description -n libwine1
|
||||
%endif
|
||||
This RPM contains the header files and development tools for the WINE
|
||||
libraries.
|
||||
|
||||
%prep
|
||||
%setup -q -n wine-%{realver}
|
||||
#patch0 -p1
|
||||
@ -308,6 +326,14 @@ echo " +^/usr/lib/wine/.*def" >> %SOURCE7
|
||||
echo " provides \"wine-devel-<targettype> = <version>\"" >> %SOURCE7
|
||||
%endif
|
||||
echo " conflicts \"otherproviders(wine-devel-<targettype>)\"" >> %SOURCE7
|
||||
|
||||
%if "%{flavor}" != ""
|
||||
echo "libwine1-%{flavor}" >> %SOURCE7
|
||||
echo " provides \"libwine1-<targettype> = <version>\"" >> %SOURCE7
|
||||
%else
|
||||
echo "libwine1" >> %SOURCE7
|
||||
%endif
|
||||
echo " conflicts \"otherproviders(libwine1-<targettype>)\"" >> %SOURCE7
|
||||
cat %SOURCE7
|
||||
%endif
|
||||
make %{?_smp_mflags} all
|
||||
@ -471,11 +497,19 @@ chmod 755 %winedir/my-find-requires.sh
|
||||
%ifnarch %arm aarch64
|
||||
%{_libdir}/wine/*.tlb
|
||||
%endif
|
||||
%{_libdir}/lib*.so.*
|
||||
%dir %{_libdir}/wine
|
||||
%dir %{_libdir}/wine/fakedlls
|
||||
%{_libdir}/wine/fakedlls/*
|
||||
|
||||
%if "%{flavor}" != ""
|
||||
%files -n libwine1-%{flavor}
|
||||
%else
|
||||
%files -n libwine1
|
||||
%endif
|
||||
%defattr(-,root,root)
|
||||
%license LICENSE LICENSE.OLD
|
||||
%{_libdir}/lib*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/wine
|
||||
|
Loading…
Reference in New Issue
Block a user