[marisa] Initial import.

Daiki Ueno ueno at fedoraproject.org
Mon Feb 4 02:07:18 UTC 2013


commit 6ef470907848ecc360a8cd847d59c0b01a782b2a
Author: Daiki Ueno <ueno at unixuser.org>
Date:   Mon Feb 4 11:07:06 2013 +0900

    Initial import.

 .gitignore  |    1 +
 marisa.spec |   85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 87 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..dfaf9ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/marisa-0.2.1.tar.gz
diff --git a/marisa.spec b/marisa.spec
new file mode 100644
index 0000000..583d853
--- /dev/null
+++ b/marisa.spec
@@ -0,0 +1,85 @@
+Name:		marisa
+Version:	0.2.1
+Release:	2%{?dist}
+Summary:	Static and spece-efficient trie data structure library
+
+License:	BSD
+URL:		https://code.google.com/p/marisa-trie/
+Source0:	https://marisa-trie.googlecode.com/files/marisa-0.2.1.tar.gz
+
+%description
+Matching Algorithm with Recursively Implemented StorAge (MARISA) is a
+static and space-efficient trie data structure. And libmarisa is a C++
+library to provide an implementation of MARISA. Also, the package of
+libmarisa contains a set of command line tools for building and
+operating a MARISA-based dictionary.
+
+A MARISA-based dictionary supports not only lookup but also reverse
+lookup, common prefix search and predictive search.
+
+
+%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}.
+
+
+%package        tools
+Summary:	Tools for %{name}
+Group:		Development/Tools
+Requires:	%{name}%{?_isa} = %{version}-%{release}
+
+%description	tools
+The %{name}-tools package contains tools for developing applications
+that use %{name}.
+
+
+%prep
+%setup -q
+
+
+%build
+%configure --disable-static
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+make %{?_smp_mflags}
+
+
+%install
+%make_install INSTALL="install -p"
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%doc docs/* AUTHORS COPYING README
+%{_libdir}/*.so.*
+
+%files devel
+%{_includedir}/*
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+
+%files tools
+%{_bindir}/marisa*
+
+
+%changelog
+* Fri Feb  1 2013 Daiki Ueno <dueno at redhat.com> - 0.2.1-2
+- remove unnesseary BR
+- don't embed rpath in executables
+- add docs
+- drop buildroot cleanup
+- preserve timestamp when make install
+
+* Thu Jan 24 2013 Daiki Ueno <dueno at redhat.com> - 0.2.1-1
+- initial packaging
+
diff --git a/sources b/sources
index e69de29..85e3e75 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+e3ea8a3e8cb537572174ac2a181c742f  marisa-0.2.1.tar.gz


More information about the scm-commits mailing list