Browse Source

updated mlterm-vl.spec

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2710 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 14 years ago
parent
commit
f688fadcb4
1 changed files with 30 additions and 26 deletions
  1. 30 26
      m/mlterm/mlterm-vl.spec

+ 30 - 26
m/mlterm/mlterm-vl.spec

@@ -1,23 +1,22 @@
 %define pixmapdir %{_datadir}/pixmaps
 %define appentdir %{_datadir}/applications
-%define scrlbardir %{_datadir}/mlterm/scrollbars
 
 Summary:	Multi Lingual TERMinal emulator for X
 Summary(ja):	多言語対応 X ターミナルエミュレータ
 Name:		mlterm
-Version:	2.9.4
-Release:	5%{?_dist_release}
-Source0:	http://prdownloads.sourceforge.net/mlterm/mlterm-%{version}.tar.gz
+Version:	3.0.2
+Release:	1%{?_dist_release}
+Source0:	http://prdownloads.sourceforge.net/mlterm/%{name}-%{version}.tar.gz
 Source1:	mlterm-icons.tar.bz2
-Patch0:		mlterm-vine-2.patch
-Patch1:		mlterm-2.9.4-stropts.patch
+Patch0:		mlterm-vine-3.patch
+###Patch1:		mlterm-2.9.4-stropts.patch
 License:	Modified BSD-style license
 Group:		User Interface/Desktops
 BuildRoot:	%{_tmppath}/%{name}-buildroot
-Requires:	xorg-x11-libs
-Requires:	gdk-pixbuf, gtk2, freetype2 >= 2.0.2
-Requires:       fribidi
-BuildRequires:	gtk2-devel, fribidi-devel, scim-devel
+Requires:	task-xorg-x11 gdk-pixbuf gtk2 freetype2
+Requires:	fribidi scim libXft
+BuildRequires:	task-xorg-x11 gdk-pixbuf-devel gtk2-devel freetype2-devel
+BuildRequires:	fribidi-devel scim-devel libXft-devel
 Distribution:	Vine Linux
 Vendor:		Project Vine
 URL:		http://mlterm.sourceforge.net/
@@ -43,10 +42,9 @@ mlterm は世界中の様々なキャラクタコードとエンコーディン
 %prep
 rm -rf %{buildroot}
 
-%setup -q
-%__tar jxf  %{SOURCE1}
+%setup -q -a 1
 %patch0 -p1
-%patch1 -p1
+##%%patch1 -p1
 
 
 %build
@@ -54,7 +52,7 @@ CFLAGS="$RPM_OPT_FLAGS" \
 %configure  --libexecdir=%{_libexecdir}/%{name} \
     --with-imagelib=gdk-pixbuf \
     --enable-fribidi  \
-    --with-type-engines=xcore, xft \
+    --with-type-engines=xcore,xft \
     --with-tools=mlclient,mlconfig,mlterm-menu,mlcc,mlterm-zoom \
     --enable-anti-alias \
     --with-scrollbars=sample,extra,pixmap_engine \
@@ -77,7 +75,7 @@ install -m 644 %{_builddir}/%{name}-%{version}/MLterm*.desktop \
 ## remove unuse files
 rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
 rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
-
+rm -rf $RPM_BUILD_ROOT%{_libdir}/mkf/*.la
 
 %post
 cat << EOF
@@ -97,22 +95,28 @@ EOF
 %clean
 rm -rf %{buildroot}
 
-%files -f mlconfig.lang
+
+%files
 %defattr(-,root,root)
 %doc ChangeLog LICENCE README doc/{en,ja}
 %{_bindir}/*
-%{_libdir}/libkik.*
-%{_libdir}/libmkf.*
-%{_libdir}/mlterm
-%{_libexecdir}/mlterm
-%{_sysconfdir}/mlterm
-%{_mandir}/man1/mlterm.1*
-%{_mandir}/man1/mlclient.1*
-%{pixmapdir}/mlterm*
-%{appentdir}/*
-%{scrlbardir}/*
+%{_libdir}/*
+%{_libexecdir}/*
+%{_sysconfdir}/*
+%{_datadir}/*
 
 %changelog
+* Wed Jan 19 2011 KATO Masashi <mkato@par.odn.ne.jp> 3.0.2-1
+- upstream source update
+- dropped patch1
+
+* Sun Jul 18 2010 KATO Masashi <mkato@par.odn.ne.jp> 3.0.1-1
+- upstream source update
+
+* Sun Apr 11 2010 KATO Masashi <mkato@par.odn.ne.jp> 3.0.0-1
+- upstream source update
+- updated mlterm-vine.patch
+
 * Thu Sep 24 2009 KATO Masashi <mkato@par.odn.ne.jp> 2.9.4-5
 - changed image library (imlib -> gdk-pixbuf)
 - updated mlterm-vine.patch