Browse Source

fcitx-anthy 0.2.0-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@7966 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 10 years ago
parent
commit
b9c0c43a74
1 changed files with 56 additions and 0 deletions
  1. 56 0
      f/fcitx-anthy/fcitx-anthy-vl.spec

+ 56 - 0
f/fcitx-anthy/fcitx-anthy-vl.spec

@@ -0,0 +1,56 @@
+%define ver 0.2.0
+%define rel 1
+
+Summary: Anthy Wrapper for Fcitx
+Name: fcitx-anthy
+Version: %{ver}
+Release: %{rel}%{?_dist_release}
+License: GPLv2+
+Group: System Environment/Libraries
+URL: https://fcitx-im.org/
+Source0: http://download.fcitx-im.org/fcitx-anthy/%{name}-%{version}.tar.xz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+BuildRequires: cmake
+BuildRequires: anthy-devel
+BuildRequires: fcitx-devel
+Requires: fcitx
+
+Distribution: Vine Linux
+Vendor:       Project Vine
+Packager:     iwaim
+
+%description
+Anthy Wrapper for Fcitx. Ported from scim-anthy.
+
+%prep
+%setup -q
+
+%build
+%__mkdir build
+pushd build
+%cmake ..
+make
+popd
+
+%install
+rm -rf $RPM_BUILD_ROOT
+pushd build
+make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT
+popd
+
+%{find_lang} %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc README AUTHORS COPYING
+%{_libdir}/fcitx
+%{_datadir}/fcitx
+%{_datadir}/icons/hicolor/*/status/fcitx*.png
+%{_datadir}/icons/hicolor/*/status/fcitx*.svg
+
+%changelog
+* Tue Nov  5 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 0.2.0-1
+- initial release