fix man pages conflicts when 32 and 64 bits wine-commons cohexist [release 1.7.41-2mamba;Fri May 01 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 19:26:59 +01:00
parent 1745b3d2a9
commit bbbdab57ae

View File

@ -5,7 +5,7 @@
%define wine_patchset_date 20140427 %define wine_patchset_date 20140427
Name: wine Name: wine
Version: 1.7.41 Version: 1.7.41
Release: 1mamba Release: 2mamba
Epoch: 3 Epoch: 3
Summary: An open source implementation of the Windows API on top of X and Unix Summary: An open source implementation of the Windows API on top of X and Unix
Group: Applications/Emulators Group: Applications/Emulators
@ -180,6 +180,8 @@ Header, include files and library definition files for developing applications w
%prep %prep
%setup -q -n %{name}-%{version} %setup -q -n %{name}-%{version}
#-D -T
#:<< _EOF
#-a41 #-a41
%if "%{version}" != "%{WINE_GECKO_CHECKED_FOR_VERSION}" %if "%{version}" != "%{WINE_GECKO_CHECKED_FOR_VERSION}"
echo "ERROR: please check if Wine Gecko is latest available at" echo "ERROR: please check if Wine Gecko is latest available at"
@ -192,6 +194,7 @@ cat patches/*.patch | patch -p1
%endif %endif
%build %build
#:<< _EOF
%configure \ %configure \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
--sysconfdir=%{_sysconfdir}/wine \ --sysconfdir=%{_sysconfdir}/wine \
@ -326,6 +329,10 @@ chrpath --delete %{buildroot}%{_bindir}/wmc
# remove unpackaged files # remove unpackaged files
rm -f %{buildroot}%{_datadir}/applications/wine.desktop rm -f %{buildroot}%{_datadir}/applications/wine.desktop
%ifarch x86_64
find %{buildroot}%{_mandir} -name wine.1 | while read line; do mv $line ${line/.1*}64.1; done
%endif
%pre desktop %pre desktop
/usr/sbin/groupadd -g 65007 wine >/dev/null 2>&1 || : /usr/sbin/groupadd -g 65007 wine >/dev/null 2>&1 || :
service wine stop >/dev/null 2>&1 || : service wine stop >/dev/null 2>&1 || :
@ -364,6 +371,15 @@ exit 0
%ifarch x86_64 %ifarch x86_64
%{_bindir}/wine64 %{_bindir}/wine64
%{_bindir}/wine64-preloader %{_bindir}/wine64-preloader
%{_mandir}/pl.UTF-8/man1/wine64.1*
%{_mandir}/de.UTF-8/man1/wine64.1*
%{_mandir}/fr.UTF-8/man1/wine64.1*
%{_mandir}/man1/wine64.1*
%else
%{_mandir}/pl.UTF-8/man1/wine.1*
%{_mandir}/de.UTF-8/man1/wine.1*
%{_mandir}/fr.UTF-8/man1/wine.1*
%{_mandir}/man1/wine.1*
%endif %endif
%doc COPYING.LIB LICENSE %doc COPYING.LIB LICENSE
@ -389,10 +405,26 @@ exit 0
%{_datadir}/wine/gecko/wine_gecko-*.msi %{_datadir}/wine/gecko/wine_gecko-*.msi
%dir %{_datadir}/wine/mono %dir %{_datadir}/wine/mono
%{_datadir}/wine/mono/wine-mono-%{wine_mono_ver}.msi %{_datadir}/wine/mono/wine-mono-%{wine_mono_ver}.msi
%{_mandir}/man?/* %{_mandir}/man1/msiexec.1*
%{_mandir}/de.UTF-8/man1/wine* %{_mandir}/man1/notepad.1*
%{_mandir}/fr.UTF-8/man1/wine* %{_mandir}/man1/regedit.1*
%{_mandir}/pl.UTF-8/man1/wine* %{_mandir}/man1/regsvr32.1*
%{_mandir}/man1/wineboot.1*
%{_mandir}/man1/winecfg.1*
%{_mandir}/man1/wineconsole.1*
%{_mandir}/man1/winedbg.1*
%{_mandir}/man1/winefile.1*
%{_mandir}/man1/winemine.1*
%{_mandir}/man1/winepath.1*
%{_mandir}/man1/wineserver.1*
%{_mandir}/de.UTF-8/man1/wineserver.1*
%{_mandir}/fr.UTF-8/man1/wineserver.1*
#%{_mandir}/man?/*
#%{_mandir}/de.UTF-8/man1/wine*
#%{_mandir}/fr.UTF-8/man1/wine*
#%{_mandir}/pl.UTF-8/man1/wine*
%files fonts %files fonts
%defattr(-,root,root) %defattr(-,root,root)
@ -447,10 +479,24 @@ exit 0
%{_libdir}/libwine.so %{_libdir}/libwine.so
%{_libdir}/wine/*.a %{_libdir}/wine/*.a
%{_libdir}/wine/*.def %{_libdir}/wine/*.def
%{_mandir}/man1/winebuild.1*
%{_mandir}/man1/winecpp.1*
%{_mandir}/man1/winedump.1*
%{_mandir}/man1/wineg++.1*
%{_mandir}/man1/winegcc.1*
%{_mandir}/man1/widl.1*
%{_mandir}/man1/winemaker.1*
%{_mandir}/man1/wmc.1*
%{_mandir}/man1/wrc.1*
%{_mandir}/de.UTF-8/man1/winemaker.1*
%{_mandir}/fr.UTF-8/man1/winemaker.1*
%doc ANNOUNCE AUTHORS README %doc ANNOUNCE AUTHORS README
%doc documentation/README.* %doc documentation/README.*
%changelog %changelog
* Fri May 01 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.41-2mamba
- fix man pages conflicts when 32 and 64 bits wine-commons cohexist
* Thu Apr 30 2015 Automatic Build System <autodist@mambasoft.it> 1.7.41-1mamba * Thu Apr 30 2015 Automatic Build System <autodist@mambasoft.it> 1.7.41-1mamba
- automatic version update by autodist - automatic version update by autodist