commit 25b205e1e38b5863f9ec2dc591187756627a3a0a
Author: Jakub Bogusz <[email protected]>
Date:   Sat Nov 24 14:23:44 2012 +0100

    - new

 ruby-mecab.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)
---
diff --git a/ruby-mecab.spec b/ruby-mecab.spec
new file mode 100644
index 0000000..c4b78cf
--- /dev/null
+++ b/ruby-mecab.spec
@@ -0,0 +1,49 @@
+Summary:       MeCab module for Ruby
+Summary(pl.UTF-8):     Moduł MeCab dla języka Ruby
+Name:          ruby-mecab
+Version:       0.994
+Release:       1
+License:       GPL v2 or LGPL v2.1 or BSD
+Group:         Development/Languages
+#Source0Download: http://code.google.com/p/mecab/downloads/list
+Source0:       http://mecab.googlecode.com/files/mecab-ruby-%{version}.tar.gz
+# Source0-md5: 9cc029fb016aeb6e13cd2fbfcf2b24e6
+URL:           http://code.google.com/p/mecab/
+BuildRequires: libstdc++-devel
+BuildRequires: mecab-devel
+BuildRequires: rpmbuild(macros) >= 1.484
+BuildRequires: ruby-devel >= 1:1.8.6
+%{?ruby_mod_ver_requires_eq}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+MeCab module for Ruby.
+
+%description -l pl.UTF-8
+Moduł MeCab dla języka Ruby.
+
+%prep
+%setup -q -n mecab-ruby-%{version}
+
+%build
+%{__ruby} extconf.rb
+
+%{__make} \
+       V=1 \
+       CXX="%{__cc}" \
+       CXXFLAGS="%{rpmcxxflags} -fPIC" \
+       ldflags="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS BSD COPYING README bindings.html
+%attr(755,root,root) %{ruby_sitearchdir}/MeCab.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-mecab.git/commitdiff/25b205e1e38b5863f9ec2dc591187756627a3a0a

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to