Browse Source

update: mana, ocaml-findlib

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3930 ec354946-7b23-47d6-9f5a-488ba84defc7
inagaki 13 years ago
parent
commit
3017a86f2f
2 changed files with 26 additions and 9 deletions
  1. 14 5
      m/mana/mana-vl.spec
  2. 12 4
      o/ocaml-findlib/ocaml-findlib-vl.spec

+ 14 - 5
m/mana/mana-vl.spec

@@ -1,16 +1,19 @@
-Summary:	Mana - Kana-Kanji conversion engine
-Summary(ja):	真字 - 仮名漢字変換エンジン
+Summary:	Kana-Kanji conversion engine
+Summary(ja):	仮名漢字変換エンジン
 Name:		mana
 Version:	0.2.1
-Release:	1%{?_dist_release}
-License:	GPL
+Release:	2%{?_dist_release}
+
+License:	GPLv2
 Group:		System Environment/Libraries
 URL:		http://sourceforge.jp/projects/shinji/
+
 Source:		mana-%{version}.tar.bz2
 Patch0:		mana-0.2.1-gdbm-1.8.0.patch
 Patch1:		mana-0.2.0-schoca-OCaml-mk.patch
 Patch2:		mana-0.2.0-prelude.patch
 #Patch3:		mana-0.2.0-Makefile-nc.patch
+
 Buildroot:	%{_tmppath}/%{name}-%{version}-root
 BuildRequires:	ocaml, ocaml-camlp4, ocaml-findlib
 BuildRequires:	gdbm-devel, automake14
@@ -28,11 +31,13 @@ Mana is Kana-Kanji conversion engine using Hidden Markov Model.
 
 %prep
 %setup -q
-
 %patch0 -p1 -b .old-gdbm
 %patch1 -p1 -b .OCaml-mk
 %patch2 -p1 -b .prelude
 
+iconv README -f euc-jp -t utf-8 -o README.utf8
+mv README.utf8 README
+
 %build
 #%%configure --disable-debug --disable-profile
 ./configure \
@@ -75,6 +80,10 @@ Mana is Kana-Kanji conversion engine using Hidden Markov Model.
 %{_datadir}/mana
 
 %changelog
+* Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.1-2
+- rebuilt with current VineSeed
+- changed README encoding to UTF-8
+
 * Fri Sep 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.1-1
 - new upstream release
 - updated Patch0

+ 12 - 4
o/ocaml-findlib/ocaml-findlib-vl.spec

@@ -1,18 +1,23 @@
 Summary:	O'Caml package manager
 Summary(ja):	O'Caml パッケージ管理ツール
 Name:		ocaml-findlib
-Version:	1.2.4
+Version:	1.2.7
 Release:	1%{?_dist_release}
+
 License:	MIT/X11
 Group:		Development/Tools
 URL:		http://www.ocaml-programming.de/packages/
+
 Source:		http://www.ocaml-programming.de/packages/findlib-%{version}.tar.gz
 
 # Vine Patch
 # Patch100:       ocaml-findlib-installpath.patch
 
 Buildroot:	%{_tmppath}/%{name}-%{version}-root
-BuildRequires:	ocaml, ocaml-camlp4, ocaml-labltk
+BuildRequires:	ocaml
+BuildRequires:  ocaml-camlp4
+BuildRequires:  ocaml-labltk
+BuildRequires:  ncurses-devel
 Requires:	ocaml
 
 Vendor:		Project Vine
@@ -51,14 +56,13 @@ make all opt
 %install
 %__rm -rf %{buildroot}
 make prefix=$RPM_BUILD_ROOT install
-#__make prefix=%{buildroot} install
 
 %clean
 %__rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root)
-%doc LICENSE README doc
+%doc LICENSE doc/*
 %config %{_sysconfdir}/ocamlfind.conf
 %{_bindir}/ocamlfind
 %{_bindir}/safe_camlp4
@@ -66,6 +70,10 @@ make prefix=$RPM_BUILD_ROOT install
 %{_mandir}/man*/*
 
 %changelog
+* Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.7-1
+- updated to 1.2.7
+- added BR: ncurses-devel
+
 * Sat May  9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.4-1
 - new upstream release
 - spec in UTF-8