From: mis Date: Tue, 4 Jul 2000 09:47:44 +0000 (+0000) Subject: - initial version (from scratch) X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbrs.git;a=commitdiff_plain;h=e8baebf51b43eae753a5c3787c45d935dc2b3012 - initial version (from scratch) Changed files: brs.spec -> 1.1 --- e8baebf51b43eae753a5c3787c45d935dc2b3012 diff --git a/brs.spec b/brs.spec new file mode 100644 index 0000000..cdb83d1 --- /dev/null +++ b/brs.spec @@ -0,0 +1,44 @@ +Summary: Bible Retrieval System +Name: brs +Version: 4.00.l1 +Release: 1 +License: GPL +Group: Applications +Group(pl): Aplikacje +Source0: ftp://SunSITE.unc.edu/pub/Linux/apps/religion/%{name}.%{version}.tar.gz +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The Bible Retrieval System consists of a textual database of the +Authorized ("King James") Version of the Old and New Testaments, a set +of libraries for finding and retrieving text, and a program ("bible") +which uses the libraries to retrieve Bible passages given references +on the command line or from standard input. A built-in Concordance +(word search facility) is also supported. A man page is provided. + +%prep +rm -rf $RPM_BUILD_ROOT +%setup -q -n bible + +%build +%{__make} CFLAGS="$RPM_OPT_FLAGS -fwritable-strings -DDESTLIB=\\\"%{_datadir}/%{name}\\\"" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man1} +install -s bible $RPM_BUILD_ROOT%{_bindir} +install bible.data bible.data.conc $RPM_BUILD_ROOT%{_datadir}/%{name} + +gzip -9nf bible.1 +install bible.1.gz $RPM_BUILD_ROOT%{_mandir}/man1 +gzip -9nf README* + +%clean +rm -rf "$RPM_BUILD_ROOT" + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* +%{_datadir}/%{name} +%{_mandir}/man1/* +%doc README*.gz