Commits

llibra committed b620d2d

initial import

  • Participants

Comments (0)

Files changed (1)

File SFEddskk.spec

+#
+# spec file for package SFEddskk
+#
+# includes module(s): ddskk
+#
+
+%include Solaris.inc
+
+%define emacs_version 23.3
+%define src_name ddskk
+%define src_url http://openlab.ring.gr.jp/skk/maintrunk
+%define _pkg_docdir %{_docdir}/skk
+
+Name:			SFEddskk
+IPS_Package_Name:	editor/emacs/ddskk
+Summary:		An Emacs Lisp version of SKK
+SUNW_BaseDir:		%{_basedir}
+Version:		14.2
+Release:		1
+License:		GPLv2
+Source:			%{src_url}/%{src_name}-%{version}.tar.gz
+BuildRoot:		%{_tmppath}/%{name}-%{version}-build
+
+%include default-depend.inc
+#Requires:		SFEemacs >= %{emacs_version}
+#BuildRequires:		SFEemacs >= %{emacs_version}
+Requires:		SFEemacs
+BuildRequires:		SFEemacs
+
+Meta(info.maintainer):		learn.libra@gmail.com
+Meta(info.upstream):		SKK Development Team <skk@ring.gr.jp>
+Meta(info.upstream_url):	http://openlab.ring.gr.jp/skk/ddskk.html
+Meta(info.classification):	org.opensolaris.category.2008:Development/Editors
+
+%description
+Daredevil SKK is a version of SKK (Simple Kana to Kanji conversion
+program, an input method of Japanese) maintained by the SKK
+development team at
+
+http://openlab.jp/skk
+
+It consists of a simple core and many optional programs which provide
+extensive features.  Though it has been well developed, our target is
+more simplified core, and much more optional features.
+
+#TODO: fix tutorial path
+%prep
+rm -rf %{src_name}-%{version}
+%setup -q -n %{src_name}-%{version}
+cat >> SKK-CFG <<EOF
+(setq PREFIX "$RPM_BUILD_ROOT%{_prefix}")
+(setq VERSION_SPECIFIC_LISPDIR "$RPM_BUILD_ROOT%{_datadir}/emacs/%{emacs_version}/site-lisp")
+(setq SKK_INFODIR "$RPM_BUILD_ROOT%{_datadir}/info")
+EOF
+
+%build
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install
+rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+install-info %{_datadir}/info/skk.info %{_datadir}/info/dir
+
+%preun
+install-info --delete %{_datadir}/info/skk.info %{_datadir}/info/dir
+
+%files
+%dir %attr (0755, root, sys) %{_datadir}
+%defattr (-, root, root)
+%dir %{_datadir}/emacs
+%dir %{_datadir}/emacs/%{emacs_version}
+%dir %{_datadir}/emacs/%{emacs_version}/site-lisp
+%{_datadir}/emacs/%{emacs_version}/site-lisp/skk
+%defattr (-, root, bin)
+%dir %{_datadir}/info
+%{_datadir}/info/skk.*
+%{_datadir}/skk
+%doc READMEs/AUTHORS.ja READMEs/CODENAME.ja READMEs/COPYING
+%doc READMEs/CVS_digest.ja READMEs/CVS_on_Windows.ja READMEs/ChangeLog
+%doc READMEs/Contributors READMEs/FAQ.ja READMEs/INSTALL READMEs/NEWS.ja
+%doc READMEs/PROPOSAL.ja READMEs/README READMEs/README.MacOSX.ja
+%doc READMEs/README.VIP.ja READMEs/README.w32.ja READMEs/TODO.ja
+%doc ChangeLog ChangeLog.0 ChangeLog.1 ChangeLog.2 ChangeLog.2.daredevil
+%doc ChangeLog.3 ChangeLog.4
+
+%changelog
+* Thu May 12 2011 - learn.libra@gmail.com
+- Initial spec