2 # - fix against home_etc
3 # - simply... finish it..
4 Summary: Indexes and searches BibTeX files using Google-like queries
5 Summary(pl.UTF-8): Indeksowanie i przeszukiwanie plików BibTeXa przy użyciu zapytań w stylu Googli
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
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Bibgrep indexes and efficiently searches BibTeX files. Its usage is
20 similar to the command grep and the queries use a Google-like syntax.
21 Bibgrep will create an index for each BibTeX file it touches, and keep
22 the result within "~/.bibgrep.idx" (by defaults). It watches the
23 modification date and the size of the original BibTeX file, and will
24 update (and delete) its index as needed.
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ę
31 modyfikacji i rozmiar oryginalnego pliku BibTeXa i uaktualnia (lub
32 kasuje) jego indeks w razie potrzeby.
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8}
44 install bibgrep $RPM_BUILD_ROOT%{_bindir}
45 install bibgrep.8 $RPM_BUILD_ROOT%{_mandir}/man8
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_bindir}/*