SPECS: winetools.spec - 0.9

blues blues at pld-linux.org
Sun Nov 20 22:08:57 CET 2005


Author: blues                        Date: Sun Nov 20 21:08:57 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 0.9 

---- Files affected:
SPECS:
   winetools.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/winetools.spec
diff -u SPECS/winetools.spec:1.8 SPECS/winetools.spec:1.9
--- SPECS/winetools.spec:1.8	Mon Oct 10 18:56:13 2005
+++ SPECS/winetools.spec	Sun Nov 20 22:08:51 2005
@@ -1,15 +1,18 @@
 # $Revision$, $Date$
+# TODO:
+# - icon and some desktop file
+#
 %define		_suffix	jo
-%define		_shortver	%(echo %{version} | tr -d .)
 Summary:	WineTools - a menu driven installer for installing Windows programs under Linux
 Summary(pl):	WineTools - oparty na menu instalator do windowsowych programów pod Linuksem
 Name:		winetools
-Version:	2.1.2
-Release:	0.%{_suffix}.11
+Version:	0.9
+Release:	0.%{_suffix}.1
+Epoch:		1
 License:	GPL
 Group:		Applications/Emulators
-Source0:	http://ds80-237-203-29.dedicated.hosteurope.de/wt/%{name}-%{_shortver}%{_suffix}.tar.gz
-# Source0-md5:	3ce523e4c52c0b9e31fc961b1be93c06
+Source0:	http://ds80-237-203-29.dedicated.hosteurope.de/wt/%{name}-%{version}%{_suffix}-II.tar.gz
+# Source0-md5:	7a855e05e50552397506490e7ce57b6d
 Patch0:		%{name}-paths.patch
 Patch1:		%{name}-mktemp.patch
 URL:		http://www.von-thadden.de/Joachim/WineTools/
@@ -20,12 +23,14 @@
 Requires:	mktemp
 Requires:	perl-base
 Requires:	wget
-Requires:	wine
-Requires:	wine-programs
+Requires:	wine >= 1:0.9
+Requires:	wine-programs >= 1:0.9
 Requires:	Xdialog
 ExclusiveArch:	%{ix86}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_winetoolsdir	%{_datadir}/%{name}
+
 %description
 WineTools is a menu driven installer for installing about 90 Windows
 programs under the x86 (Athlon or Intel PC) processor architecture
@@ -71,25 +76,24 @@
 rozszerzony przez Joachima von Thaddena. Jest licencjonowany na GPL.
 
 %prep
-%setup -q -n %{name}-%{_shortver}%{_suffix}
-mv wt%{_shortver}%{_suffix} wt2
+%setup -q -n %{name}-%{version}%{_suffix}-II
+mv wt%{version}%{_suffix} wt2
+mv gettext.sh.dummy gettext.sh
 %patch0 -p1
 
-sed -i -e '
-	s,\. findwine,. %{_datadir}/%{name}/findwine,
-' $(find scripts -type f)
+sed -i -e 's#\. findwine#. %{_winetoolsdir}/findwine#' scripts/*
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_winetoolsdir}}
 
 install wt2 $RPM_BUILD_ROOT%{_bindir}
-install findwine $RPM_BUILD_ROOT%{_datadir}/%{name}
+install findwine $RPM_BUILD_ROOT%{_winetoolsdir}
 
-cp -a scripts icon doc $RPM_BUILD_ROOT%{_datadir}/%{name}
-install *.ini *.cfg config.* *.reg findwine chopctrl.pl $RPM_BUILD_ROOT%{_datadir}/%{name}
-install iebatch.txt wineinit.tar.gz $RPM_BUILD_ROOT%{_datadir}/%{name}
-install gettext.sh $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -a scripts icon doc $RPM_BUILD_ROOT%{_winetoolsdir}
+install 3rdParty/*.{cfg,reg} *.reg findwine chopctrl.pl $RPM_BUILD_ROOT%{_winetoolsdir}
+install 3rdParty/iebatch.txt $RPM_BUILD_ROOT%{_winetoolsdir}
+install gettext.sh $RPM_BUILD_ROOT%{_winetoolsdir}
 
 cd po
 for i in $(ls *.po | cut -f1 -d.); do
@@ -108,25 +112,26 @@
 %doc INSTALL.txt LICENSE.txt doc/*
 %attr(755,root,root) %{_bindir}/wt2
 
-%dir %{_datadir}/winetools
-%{_datadir}/winetools/doc
-%{_datadir}/winetools/icon
-
-%{_datadir}/winetools/PowBallDX.cfg
-%{_datadir}/winetools/config.%{_shortver}
-%{_datadir}/winetools/config.empty
-%{_datadir}/winetools/lauge-prefs.ini
-%{_datadir}/winetools/bde.reg
-%{_datadir}/winetools/ie6.reg
-%{_datadir}/winetools/iebatch.txt
-%{_datadir}/winetools/wineinit.tar.gz
-
-%{_datadir}/winetools/gettext.sh
-%{_datadir}/winetools/findwine
-%attr(755,root,root) %{_datadir}/winetools/chopctrl.pl
+%dir %{_winetoolsdir}
+%{_winetoolsdir}/doc
+%{_winetoolsdir}/icon
+
+%{_winetoolsdir}/PowBallDX.cfg
+
+%{_winetoolsdir}/bde.reg
+%{_winetoolsdir}/futurepinball.reg
+%{_winetoolsdir}/ie6.reg
+%{_winetoolsdir}/iebatch.txt
+%{_winetoolsdir}/steaminstall.reg
+%{_winetoolsdir}/typograf.reg
+%{_winetoolsdir}/wt-config.reg
+
+%{_winetoolsdir}/gettext.sh
+%{_winetoolsdir}/findwine
+%attr(755,root,root) %{_winetoolsdir}/chopctrl.pl
 
-%dir %{_datadir}/winetools/scripts
-%attr(755,root,root) %{_datadir}/winetools/scripts/*
+%dir %{_winetoolsdir}/scripts
+%attr(755,root,root) %{_winetoolsdir}/scripts/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -134,6 +139,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2005/11/20 21:08:51  blues
+- 0.9
+
 Revision 1.8  2005/10/10 16:56:13  glen
 - remove noarch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/winetools.spec?r1=1.8&r2=1.9&f=u




More information about the pld-cvs-commit mailing list