]> git.pld-linux.org Git - packages/brs.git/blame - brs.spec
- initial version (from scratch)
[packages/brs.git] / brs.spec
CommitLineData
e8baebf5 1Summary: Bible Retrieval System
2Name: brs
3Version: 4.00.l1
4Release: 1
5License: GPL
6Group: Applications
7Group(pl): Aplikacje
8Source0: ftp://SunSITE.unc.edu/pub/Linux/apps/religion/%{name}.%{version}.tar.gz
9BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
10
11%description
12The Bible Retrieval System consists of a textual database of the
13Authorized ("King James") Version of the Old and New Testaments, a set
14of libraries for finding and retrieving text, and a program ("bible")
15which uses the libraries to retrieve Bible passages given references
16on the command line or from standard input. A built-in Concordance
17(word search facility) is also supported. A man page is provided.
18
19%prep
20rm -rf $RPM_BUILD_ROOT
21%setup -q -n bible
22
23%build
24%{__make} CFLAGS="$RPM_OPT_FLAGS -fwritable-strings -DDESTLIB=\\\"%{_datadir}/%{name}\\\""
25
26%install
27rm -rf $RPM_BUILD_ROOT
28install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man1}
29install -s bible $RPM_BUILD_ROOT%{_bindir}
30install bible.data bible.data.conc $RPM_BUILD_ROOT%{_datadir}/%{name}
31
32gzip -9nf bible.1
33install bible.1.gz $RPM_BUILD_ROOT%{_mandir}/man1
34gzip -9nf README*
35
36%clean
37rm -rf "$RPM_BUILD_ROOT"
38
39%files
40%defattr(644,root,root,755)
41%attr(755,root,root) %{_bindir}/*
42%{_datadir}/%{name}
43%{_mandir}/man1/*
44%doc README*.gz
This page took 0.138765 seconds and 4 git commands to generate.