]>
Commit | Line | Data |
---|---|---|
c0ea5256 PG |
1 | # TODO: |
2 | # - fix against home_etc | |
3 | # - simply... finish it.. | |
ef885367 | 4 | Summary: Indexes and searches BibTeX files using Google-like queries |
9490f925 | 5 | Summary(pl.UTF-8): Indeksowanie i przeszukiwanie plików BibTeXa przy użyciu zapytań w stylu Googli |
c0ea5256 PG |
6 | Name: bibgrep |
7 | Version: 0.51 | |
8 | Release: 0.1 | |
9 | License: ?? | |
10 | Group: Applications | |
11 | Source0: http://dl.sourceforge.net/bibgrep/%{name}-src-%{version}.tgz | |
12 | # Source0-md5: e13320753a513a7c8ce91836375c3249 | |
13 | URL: http://www.sourceforge.net/projects/bibgrep/ | |
14 | #BuildRequires: btparse | |
15 | BuildRequires: ocaml | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
ef885367 | 19 | Bibgrep indexes and efficiently searches BibTeX files. Its usage is |
c0ea5256 | 20 | similar to the command grep and the queries use a Google-like syntax. |
ef885367 | 21 | Bibgrep will create an index for each BibTeX file it touches, and keep |
c0ea5256 | 22 | the result within "~/.bibgrep.idx" (by defaults). It watches the |
ef885367 | 23 | modification date and the size of the original BibTeX file, and will |
c0ea5256 PG |
24 | update (and delete) its index as needed. |
25 | ||
296e2635 JR |
26 | %description -l pl.UTF-8 |
27 | Bibgrep indeksuje i wydajnie przeszukuje pliki BibTeXa. Użycie go jest | |
28 | podobne do polecenia grep, a polecenia wykorzystują składnię w stylu | |
29 | Googli. Bibgrep tworzy indeks dla każdego przetwarzanego pliku BibTeXa | |
30 | i utrzymuje wynik w ~/.bibgrep.idx (domyślnie). Kontroluje datę | |
ef885367 JB |
31 | modyfikacji i rozmiar oryginalnego pliku BibTeXa i uaktualnia (lub |
32 | kasuje) jego indeks w razie potrzeby. | |
33 | ||
c0ea5256 PG |
34 | %prep |
35 | %setup -q -T -c -a0 | |
36 | ||
37 | %build | |
38 | %{__make} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8} | |
43 | ||
44 | install bibgrep $RPM_BUILD_ROOT%{_bindir} | |
45 | install bibgrep.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc README | |
53 | %attr(755,root,root) %{_bindir}/* | |
54 | %{_mandir}/man?/* |