source: projects/specs/trunk/s/sary/sary-vl.spec @ 521

Revision 521, 1.9 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define name sary
2%define version 1.2.0
3%define release 1%{?_dist_release}
4
5Summary:        Suffix array library (with tools)
6Name:           %{name}
7Version:        %{version}
8Release:        %{release}
9Group:          System Environment/Libraries
10License:        LGPL
11URL:            http://prime.sourceforge.jp/src/
12Source:         %{name}-%{version}.tar.bz2
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14BuildRequires:  glib2-devel
15
16
17%description
18Sary is a suffix array library. It provides fast full-text
19search facilities for text files on the order of 10 to 100
20MB using a data structure called a suffix array. It can also
21search specific fields in a text file by assigning index
22points to those fields.
23
24
25%package -n %{name}-devel
26Summary:        Development headers for sary
27Group:          Development/Libraries
28Requires:       %{name} = %{version}
29Requires:       glib2-devel
30Provides:       %{name}-devel = %{version}-%{release}
31
32%description -n %{name}-devel
33Sary is a suffix array library. It provides fast full-text
34search facilities for text files on the order of 10 to 100
35MB using a data structure called a suffix array. It can also
36search specific fields in a text file by assigning index
37points to those fields.
38
39
40%prep
41%setup -q
42
43%build
44[[ ! -x configure ]] && ./autogen.sh
45
46%configure
47%{__make} %{?_smp_mflags}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51%{__make} DESTDIR=$RPM_BUILD_ROOT install
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%post -p /sbin/ldconfig
57%postun -p /sbin/ldconfig
58
59
60%files
61%defattr(-,root,root)
62%doc AUTHORS ChangeLog NEWS README TODO
63%{_bindir}/mksary
64%{_bindir}/sary
65%{_datadir}/%name
66%_mandir/man*/*
67%{_libdir}/libsary.so.10.0.0
68%{_libdir}/libsary.so.10
69
70%files -n %{name}-devel
71%defattr(-,root,root)
72%{_includedir}/*
73%{_libdir}/libsary.a
74%{_libdir}/libsary.la
75%{_libdir}/libsary.so
76%{_libdir}/pkgconfig/sary.pc
77
78
79%changelog
80* Sat Nov 01 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.0-1
81- initial build for VineSeed
82
83* Mon Mar 24 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.0-1vl5
84- initial build for VineSeed
85
86### end of file
Note: See TracBrowser for help on using the repository browser.