]>
Commit | Line | Data |
---|---|---|
c0ea5256 PG |
1 | # TODO: |
2 | # - fix against home_etc | |
3 | # - simply... finish it.. | |
4 | Summary: Indexes and searches BibTex files using Google-like queries | |
5 | Name: bibgrep | |
6 | Version: 0.51 | |
7 | Release: 0.1 | |
8 | License: ?? | |
9 | Group: Applications | |
10 | Source0: http://dl.sourceforge.net/bibgrep/%{name}-src-%{version}.tgz | |
11 | # Source0-md5: e13320753a513a7c8ce91836375c3249 | |
12 | URL: http://www.sourceforge.net/projects/bibgrep/ | |
13 | #BuildRequires: btparse | |
14 | BuildRequires: ocaml | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Bibgrep indexes and efficiently searches BibTex files. Its usage is | |
19 | similar to the command grep and the queries use a Google-like syntax. | |
20 | Bibgrep will create an index for each BibTex file it touches, and keep | |
21 | the result within "~/.bibgrep.idx" (by defaults). It watches the | |
22 | modification date and the size of the original BibTex file, and will | |
23 | update (and delete) its index as needed. | |
24 | ||
25 | %prep | |
26 | %setup -q -T -c -a0 | |
27 | ||
28 | %build | |
29 | %{__make} | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8} | |
34 | ||
35 | install bibgrep $RPM_BUILD_ROOT%{_bindir} | |
36 | install bibgrep.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc README | |
44 | %attr(755,root,root) %{_bindir}/* | |
45 | %{_mandir}/man?/* |