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

Revision 3475, 2.1 KB checked in by inagaki, 13 years ago (diff)

update: MySQL-ruby, darts, htdig, sary

Line 
1%define name sary
2%define version 1.2.0
3%define release 2%{?_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 --disable-static
47%{__make} %{?_smp_mflags}
48
49%install
50rm -rf $RPM_BUILD_ROOT
51%{__make} DESTDIR=$RPM_BUILD_ROOT install
52
53rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%post -p /sbin/ldconfig
59%postun -p /sbin/ldconfig
60
61
62%files
63%defattr(-,root,root)
64%doc AUTHORS ChangeLog NEWS README TODO
65%{_bindir}/mksary
66%{_bindir}/sary
67%{_datadir}/%name
68%_mandir/man*/*
69%{_libdir}/libsary.so.10.0.0
70%{_libdir}/libsary.so.10
71
72%files -n %{name}-devel
73%defattr(-,root,root)
74%{_includedir}/*
75#{_libdir}/libsary.a
76#{_libdir}/libsary.la
77%{_libdir}/libsary.so
78%{_libdir}/pkgconfig/sary.pc
79
80
81%changelog
82* Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-2
83- rebuilt with current VineSeed
84- removed static libraries from devel package
85
86* Sat Nov 01 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.0-1
87- initial build for VineSeed
88
89* Mon Mar 24 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.2.0-1vl5
90- initial build for VineSeed
91
92### end of file
Note: See TracBrowser for help on using the repository browser.