]> git.pld-linux.org Git - packages/brs.git/blob - brs.spec
- initial version (from scratch)
[packages/brs.git] / brs.spec
1 Summary:        Bible Retrieval System
2 Name:           brs
3 Version:        4.00.l1
4 Release:        1
5 License:        GPL
6 Group:          Applications
7 Group(pl):      Aplikacje
8 Source0:        ftp://SunSITE.unc.edu/pub/Linux/apps/religion/%{name}.%{version}.tar.gz
9 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
10
11 %description
12 The Bible Retrieval System consists of a textual database of the
13 Authorized ("King James") Version of the Old and New Testaments, a set
14 of libraries for finding and retrieving text, and a program ("bible")
15 which uses the libraries to retrieve Bible passages given references
16 on 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
20 rm -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
27 rm -rf $RPM_BUILD_ROOT
28 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man1}
29 install -s bible $RPM_BUILD_ROOT%{_bindir}
30 install bible.data bible.data.conc $RPM_BUILD_ROOT%{_datadir}/%{name}
31
32 gzip -9nf bible.1
33 install bible.1.gz $RPM_BUILD_ROOT%{_mandir}/man1
34 gzip -9nf README*
35
36 %clean
37 rm -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.169269 seconds and 3 git commands to generate.