commit e7bef7b0c8cfbe4cdbd1d5c9c17bb6c95f3b06b2 Author: Daiki Ueno ueno@unixuser.org Date: Mon Dec 26 17:41:27 2011 +0900
Initial import.
.gitignore | 1 + libskk.spec | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 84 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..b172f73 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/libskk-0.0.5.tar.gz diff --git a/libskk.spec b/libskk.spec new file mode 100644 index 0000000..ced56eb --- /dev/null +++ b/libskk.spec @@ -0,0 +1,82 @@ +Name: libskk +Version: 0.0.5 +Release: 1%{?dist} +Summary: Library to deal with Japanese kana-to-kanji conversion method + +License: GPLv3+ +Group: System Environment/Libraries +URL: http://github.com/ueno/libskk +Source0: http://cloud.github.com/downloads/ueno/libskk/%%7Bname%7D-%%7Bversion%7D.tar... + +BuildRequires: vala +# FIXME switch to libgee-0.8 once this package is ready for the new libgee API +BuildRequires: pkgconfig(gee-1.0) +BuildRequires: json-glib-devel +BuildRequires: gobject-introspection-devel +BuildRequires: intltool + +%description +The libskk project aims to provide GObject-based interface of Japanese +input methods. Currently it supports SKK (Simple Kana Kanji) with +various typing rules including romaji-to-kana, AZIK, ACT, TUT-Code, +T-Code, and NICOLA. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +%configure --disable-static +make %{?_smp_mflags} + + +%install +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + +%find_lang %{name} + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files -f %{name}.lang +%doc README rules/README.rules COPYING +%{_bindir}/skk +%{_libdir}/*.so.* +%{_datadir}/libskk +%{_libdir}/girepository-1.0/Skk*.typelib + +%files devel +%doc +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%{_datadir}/gir-1.0/Skk*.gir +%{_datadir}/vala/vapi/* + + +%changelog +* Mon Dec 26 2011 Daiki Ueno dueno@redhat.com - 0.0.5-1 +- new upstream release + +* Tue Dec 20 2011 Daiki Ueno dueno@redhat.com - 0.0.4-1 +- new upstream release +- wrap %%description +- add COPYING and README.rules to %%doc + +* Fri Dec 16 2011 Daiki Ueno dueno@redhat.com - 0.0.2-1 +- initial packaging for Fedora + diff --git a/sources b/sources index e69de29..ccd3fc1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1368d9f015b3a64caa8b2162d7a14533 libskk-0.0.5.tar.gz