|
@@ -1,6 +1,6 @@
|
|
|
-%define pkg_major_version 1.1.29
|
|
|
+%define pkg_major_version 1.2
|
|
|
%define pkg_name wine
|
|
|
-%define pkg_release 1%{?_dist_release}
|
|
|
+%define pkg_release 1.rc2%{?_dist_release}
|
|
|
|
|
|
# NEW Release: numbering rule. -- Release: 1%{?_dist_release}
|
|
|
# spec file for package wine.. # base (SUSE10 and fedora core 9)
|
|
@@ -15,7 +15,7 @@ License: LGPLv2+
|
|
|
Group: Applications/System
|
|
|
|
|
|
#--------------------------------------------------------------------
|
|
|
-Source0: http://prdownloads.sourceforge.net/wine/%{name}-%{version}.tar.bz2
|
|
|
+Source0: http://prdownloads.sourceforge.net/wine/%{name}-%{version}-rc2.tar.bz2
|
|
|
#--------------------------------------------------------------------
|
|
|
|
|
|
Source1: wine.init
|
|
@@ -64,9 +64,15 @@ Source807: ja_fonts_replace-js2vl.reg
|
|
|
Source808: ja_fonts_replace-ms2ipa.reg
|
|
|
Source809: ja_fonts_replace-ms2vl.reg
|
|
|
|
|
|
+
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+Packager: daisuke, Takemikaduchi
|
|
|
+
|
|
|
#--------------------------------------------------------------------
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
#--------------------------------------------------------------------
|
|
|
+
|
|
|
## FedoraCore ##
|
|
|
BuildRequires: bison, flex
|
|
|
BuildRequires: audiofile, audiofile-devel
|
|
@@ -83,12 +89,12 @@ BuildRequires: sane-devel
|
|
|
BuildRequires: zlib-devel
|
|
|
BuildRequires: desktop-file-utils
|
|
|
BuildRequires: fontforge
|
|
|
-BuildRequires: gphoto2, gphoto2-devel
|
|
|
+## BuildRequires: gphoto2, gphoto2-devel
|
|
|
## BuildRequires: jack-audio-connection-kit-devel
|
|
|
## BuildRequires: isdn4k-utils-devel
|
|
|
BuildRequires: cups-devel
|
|
|
BuildRequires: dbus-devel, hal-devel
|
|
|
-Requires: %{_bindir}/xmessage
|
|
|
+## Requires: %{_bindir}/xmessage
|
|
|
|
|
|
## X modular(fc) > X 7.2
|
|
|
BuildRequires: libX11-devel
|
|
@@ -103,15 +109,11 @@ BuildRequires: libXmu-devel
|
|
|
BuildRequires: libXi-devel
|
|
|
BuildRequires: libXcursor-devel
|
|
|
BuildRequires: fontconfig-devel
|
|
|
-## libungif-devel <- giflib-devel(fc)
|
|
|
-BuildRequires: libungif-devel, libtiff-devel
|
|
|
-
|
|
|
-## VineLinux ## < X 7.0
|
|
|
-## BuildRequires: XOrg-devel
|
|
|
-## XOrg-devel <- fontconfig-devel
|
|
|
-BuildRequires: pkgconfig
|
|
|
-BuildRequires: libicu-devel
|
|
|
-BuildRequires: freetype-devel, freetype2-devel
|
|
|
+BuildRequires: giflib-devel
|
|
|
+BuildRequires: libtiff-devel
|
|
|
+BuildRequires: pkgconfig
|
|
|
+BuildRequires: libicu-devel
|
|
|
+BuildRequires: freetype2-devel
|
|
|
|
|
|
Requires(post): /sbin/ldconfig, /sbin/chkconfig, /sbin/service
|
|
|
Requires(post): desktop-file-utils >= 0.8
|
|
@@ -195,12 +197,12 @@ Of course, please be mindful of security.
|
|
|
|
|
|
%prep
|
|
|
|
|
|
-%setup -q -n %{name}-%{version}
|
|
|
-%patch0
|
|
|
+%setup -q -n %{name}-%{version}-rc2
|
|
|
+## %patch0
|
|
|
%patch1 -p1
|
|
|
-%patch400 -p1
|
|
|
+## %patch400 -p1
|
|
|
%patch401 -p1
|
|
|
-%patch402 -p1 -b .add-pa-to-winecfg
|
|
|
+## %patch402 -p1 -b .add-pa-to-winecfg
|
|
|
%patch1000 -p1
|
|
|
|
|
|
%build
|
|
@@ -340,7 +342,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
|
|
/sbin/ldconfig
|
|
|
update-desktop-database &>/dev/null || :
|
|
|
### add vinelinux
|
|
|
-if [ "$LANG" = "ja_JP.eucJP" ]; then
|
|
|
+if [ "$LANG" = "ja_JP.UTF-8" ]; then
|
|
|
echo "WINEのシステムフォントをリプレースするには"
|
|
|
echo " fonts-replace-list.txt をお読み下さい。"
|
|
|
else
|
|
@@ -359,7 +361,7 @@ if [ $1 = 1 ]; then
|
|
|
/sbin/service wine start &>/dev/null || :
|
|
|
fi
|
|
|
### add vinelinux
|
|
|
-if [ "$LANG" = "ja_JP.eucJP" ]; then
|
|
|
+if [ "$LANG" = "ja_JP.UTF-8" ]; then
|
|
|
echo "WINE から binfmt_misc 機能を利用するための起動ファイルが"
|
|
|
echo "インストールされ、ランレベル2、3、4、5で有効になりました。"
|
|
|
echo "(ファイル名は /etc/init.d/wine です)"
|
|
@@ -409,7 +411,7 @@ fi
|
|
|
%{_bindir}/wine
|
|
|
%{_bindir}/wineboot
|
|
|
%{_bindir}/wineconsole
|
|
|
-%{_bindir}/wineprefixcreate
|
|
|
+## %{_bindir}/wineprefixcreate
|
|
|
%{_bindir}/winecfg
|
|
|
%{_bindir}/wine-preloader
|
|
|
# winelauncher --> Remove
|
|
@@ -434,7 +436,7 @@ fi
|
|
|
%{_libdir}/wine/*.drv.so
|
|
|
%{_libdir}/wine/*.drv16.so
|
|
|
%{_libdir}/wine/*.mod16.so
|
|
|
-%{_libdir}/wine/*.*16
|
|
|
+## %{_libdir}/wine/*.*16
|
|
|
%{_libdir}/wine/*.ds.so
|
|
|
%{_libdir}/wine/*.ocx.so
|
|
|
%{_libdir}/wine/*.vxd.so
|
|
@@ -458,8 +460,8 @@ fi
|
|
|
%{_datadir}/desktop-directories/Wine.directory
|
|
|
%{_mandir}/man1/wine.1.*
|
|
|
%{_mandir}/man1/wineserver.1*
|
|
|
-%{_mandir}/man1/wineprefixcreate.1*
|
|
|
-%lang(de) %{_mandir}/de.UTF-8/man1/wine.1*
|
|
|
+## %{_mandir}/man1/wineprefixcreate.1*
|
|
|
+%lang(de) %{_mandir}/de.UTF-8/man1/*.1*
|
|
|
%lang(fr) %{_mandir}/fr.UTF-8/man1/*
|
|
|
|
|
|
#--------------------------------------------------------------------
|
|
@@ -499,6 +501,22 @@ fi
|
|
|
|
|
|
#--------------------------------------------------------------------
|
|
|
%changelog
|
|
|
+* Sat Jun 12 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-1.rc2
|
|
|
+- update to 1.2-rc2
|
|
|
+- fix spec file
|
|
|
+ - if [ "$LANG" = "ja_JP.eucJP" ];
|
|
|
+ + if [ "$LANG" = "ja_JP.UTF-8" ];
|
|
|
+- convert kanji code (ja_JP.eucJP -> ja_JP.UTF-8)
|
|
|
+ - SOURCE801, SOURCE802, SOURCE803, SOURCE804, SOURCE805
|
|
|
+- fix %files
|
|
|
+- drop patches (Patch0, Patch400, Patch402)
|
|
|
+
|
|
|
+* Sun Sep 13 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.29-2
|
|
|
+- update BRs
|
|
|
+ - remove freetype-devel
|
|
|
+ - remove libungif-devel, add giflib-devel
|
|
|
+ - remove gphoto2-devel, add libgphoto2-devel
|
|
|
+
|
|
|
* Thu Sep 03 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.29-1
|
|
|
- update to 1.1.29
|
|
|
|