]> git.pld-linux.org Git - packages/brs.git/blob - brs.spec
- adapterized and made spec %%debug ready or added using %%rpm*flags macros
[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(de):      Applikationen
8 Group(pl):      Aplikacje
9 Source0:        ftp://SunSITE.unc.edu/pub/Linux/apps/religion/%{name}.%{version}.tar.gz
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 The Bible Retrieval System consists of a textual database of the
14 Authorized ("King James") Version of the Old and New Testaments, a set
15 of libraries for finding and retrieving text, and a program ("bible")
16 which uses the libraries to retrieve Bible passages given references
17 on the command line or from standard input. A built-in Concordance
18 (word search facility) is also supported. A man page is provided.
19
20 %prep
21 rm -rf $RPM_BUILD_ROOT
22 %setup -q -n bible
23
24 %build
25 %{__make} CFLAGS="%{rpmcflags} -fwritable-strings -DDESTLIB=\\\"%{_datadir}/%{name}\\\""
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{_mandir}/man1}
30 install bible $RPM_BUILD_ROOT%{_bindir}
31 install bible.data bible.data.conc $RPM_BUILD_ROOT%{_datadir}/%{name}
32
33 install bible.1 $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.098368 seconds and 4 git commands to generate.