From c0ea525606a3ea46f66231aa533ceae214075485 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Mon, 12 Jul 2004 18:18:44 +0000 Subject: [PATCH] - ocaml.... bleee..... who wants to finish it? Changed files: bibgrep.spec -> 1.1 --- bibgrep.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 bibgrep.spec diff --git a/bibgrep.spec b/bibgrep.spec new file mode 100644 index 0000000..4401c39 --- /dev/null +++ b/bibgrep.spec @@ -0,0 +1,45 @@ +# TODO: +# - fix against home_etc +# - simply... finish it.. +Summary: Indexes and searches BibTex files using Google-like queries +Name: bibgrep +Version: 0.51 +Release: 0.1 +License: ?? +Group: Applications +Source0: http://dl.sourceforge.net/bibgrep/%{name}-src-%{version}.tgz +# Source0-md5: e13320753a513a7c8ce91836375c3249 +URL: http://www.sourceforge.net/projects/bibgrep/ +#BuildRequires: btparse +BuildRequires: ocaml +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Bibgrep indexes and efficiently searches BibTex files. Its usage is +similar to the command grep and the queries use a Google-like syntax. +Bibgrep will create an index for each BibTex file it touches, and keep +the result within "~/.bibgrep.idx" (by defaults). It watches the +modification date and the size of the original BibTex file, and will +update (and delete) its index as needed. + +%prep +%setup -q -T -c -a0 + +%build +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8} + +install bibgrep $RPM_BUILD_ROOT%{_bindir} +install bibgrep.8 $RPM_BUILD_ROOT%{_mandir}/man8 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man?/* -- 2.44.0