Browse Source

tegaki specs (new)

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1184 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 14 years ago
parent
commit
9c588c0f0d

+ 44 - 0
t/tegaki-pygtk/tegaki-pygtk-vl.spec

@@ -0,0 +1,44 @@
+# -*- coding: utf-8 -*-
+Summary: Base user interface library for the Tegaki project
+Name: tegaki-pygtk
+Version: 0.3.1
+Release: 1%{?_dist_release}
+License: GPLv2
+Group: Development/Libraries
+URL: http://www.tegaki.org/
+Source0: http://www.tegaki.org/releases/%{version}/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+BuildRequires: python-devel >= 2.4
+Requires: python >= 2.4
+Requires: pygtk2 >= 2.10
+Requires: tegaki-python >= 0.2
+BuildArch: noarch
+
+%description
+Base user interface library for the Tegaki project.
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install --prefix %{buildroot}%{_prefix}
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYRIGHT README COPYING ChangeLog TODO
+%{python_sitelib}/tegaki_pygtk*.egg-info
+%{python_sitelib}/tegakigtk
+%dir %{_datadir}/tegaki
+%dir %{_datadir}/tegaki/icons
+%{_datadir}/tegaki/icons/handwriting.png
+
+%changelog
+* Wed Jun  9 2010 IWAI, Masaharu <iwai@alib.jp> 0.3.1-1
+- Initial build.

+ 50 - 0
t/tegaki-python/tegaki-python-vl.spec

@@ -0,0 +1,50 @@
+# -*- coding: utf-8 -*-
+Summary: Base Python library for the Tegaki project
+Summary(ja): Tegaki プロジェクトのための Python ベースライブラリ
+Name: tegaki-python
+Version: 0.3.1
+Release: 1%{?_dist_release}
+License: GPLv2
+Group: Development/Libraries
+URL: http://www.tegaki.org/
+Source0: http://www.tegaki.org/releases/%{version}/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+Requires: python >= 2.4 zinnia-python >= 0.05
+BuildRequires: python-devel >= 2.4
+BuildArch: noarch
+
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: iwaim
+
+%description
+Base Python library for the Tegaki project.
+
+%description -l ja
+Tegaki プロジェクトのための Python ベースライブラリ
+
+%prep
+%setup -q
+
+%build
+%{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install --root %{buildroot}
+
+%clean
+%{__rm} -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYRIGHT README COPYING ChangeLog TODO
+%{python_sitelib}/tegaki
+%{python_sitelib}/tegaki_python*.egg-info
+
+%changelog
+* Wed Jun  9 2010 IWAI, Masaharu <iwai@alib.jp> 0.3.1-1
+- Initial build.
+
+

+ 61 - 0
t/tegaki-recognize/tegaki-recognize-vl.spec

@@ -0,0 +1,61 @@
+# -*- coding: utf-8 -*-
+Summary: Open-Source Chinese and Japanese Handwriting Recognition
+Summary: オープンソースの中国語/日本語手書き認識
+Name: tegaki-recognize
+Version: 0.3.1.2
+Release: 1%{?_dist_release}
+License: GPLv2
+Group: Applications/System
+URL: http://www.tegaki.org/
+Source0: http://www.tegaki.org/releases/%{version}/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+BuildRequires: python-devel
+BuildRequires(check): desktop-file-utils
+Requires: tegaki-pygtk >= 0.2
+Requires: tegaki-model
+BuildArch: noarch
+
+%description
+Open-Source Chinese and Japanese Handwriting Recognition
+
+%description -l ja
+オープンソースの中国語/日本語手書き認識
+
+%prep
+%setup -q
+%build
+%{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install --prefix %{buildroot}%{_prefix}
+
+%check
+%{_bindir}/desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post
+if [ -x %{_bindir}/update-desktop-database ] ; then
+%{_bindir}/update-desktop-database %{_datadir}/applications
+fi
+
+%postun
+if [ -x %{_bindir}/update-desktop-database ] ; then
+%{_bindir}/update-desktop-database %{_datadir}/applications
+fi
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYRIGHT README COPYING ChangeLog
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/menu/tegaki-recognize
+%{_datadir}/pixmaps/tegaki-recognize.svg
+
+%changelog
+* Wed Jun  9 2010 IWAI, Masaharu <iwai@alib.jp> 0.3.1.2-1
+- Initial build.
+
+

+ 45 - 0
t/tegaki-zinnia-japanese/tegaki-zinnia-japanese-vl.spec

@@ -0,0 +1,45 @@
+# -*- coding: utf-8 -*-
+%define tegaki_model_dir %{_datadir}/tegaki/models
+
+Summary: Japanese handwriting model for Zinnia
+Summary: Zinnia のための日本語手書きモデル
+Name: tegaki-zinnia-japanese
+Version: 0.3
+Release: 1%{?_dist_release}
+License: LGPLv2.1
+Group: Development/Libraries
+URL: http://www.tegaki.org/
+Source0: http://www.tegaki.org/releases/%{version}/models/%{name}-%{version}.zip
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+BuildRequires: unzip
+BuildArch: noarch
+Provides: tegaki-zinnia-model
+Provides: tegaki-model
+
+%description
+Japanese handwriting model for Zinnia
+
+%description -l ja
+Zinnia のための日本語手書きモデル
+
+%prep
+%setup -q
+
+%install
+%{__rm} -rf %{buildroot}
+%{__mkdir} -p %{buildroot}%{tegaki_model_dir}/zinnia
+%{__install} -m 0644 handwriting-ja.{model,meta} %{buildroot}%{tegaki_model_dir}/zinnia
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING README.txt VERSION
+%{tegaki_model_dir}/zinnia
+
+%changelog
+* Wed Jun  9 2010 IWAI, Masaharu <iwai@alib.jp> 0.3-1
+- Initial build.
+
+