source: trunk/third/librep/librep.spec.in @ 15283

Revision 15283, 2.6 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15282, which included commits to RCS files with non-trunk default branches.
Line 
1
2Name: librep
3Version: @version@
4Release: 1
5Summary: An embeddable LISP environment
6Copyright: GPL
7Group: Development/Languages
8Source: http://download.sourceforge.net/librep/librep-%{version}.tar.gz
9URL: http://librep.sourceforge.net/
10Packager: John Harper <john@dcs.warwick.ac.uk>
11Buildroot: /var/tmp/%{name}-root
12BuildPrereq: gmp-devel gdbm-devel readline-devel texinfo
13PreReq: /sbin/install-info
14Requires: gdbm >= 1.8
15
16%description
17This is a lightweight Lisp environment for UNIX. It contains a Lisp
18interpreter, byte-code compiler and virtual machine. Applications may
19use the Lisp interpreter as an extension language, or it may be used
20for standalone scripts.
21
22Originally inspired by Emacs Lisp, the language dialect combines many
23of the elisp features while trying to remove some of the main
24deficiencies, with features from Common Lisp and Scheme.
25
26%package devel
27Summary: librep include files and link libraries
28Group: Development/Languages
29Requires: %{name} = @version@
30
31%description devel
32Link libraries and C header files for librep development.
33
34%prep
35%setup -q
36
37%build
38%configure --with-readline --with-extra-cflags=-fstrength-reduce
39make host_type=%{_target_platform}
40
41%install
42[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
43make install \
44    host_type=%{_target_platform} \
45    DESTDIR=$RPM_BUILD_ROOT \
46    aclocaldir=%{_datadir}/aclocal \
47    infodir=%{_infodir}
48gzip -9nf $RPM_BUILD_ROOT%{_infodir}/librep*
49
50%post
51/sbin/ldconfig
52/sbin/install-info %{_infodir}/librep.info.gz %{_infodir}/dir
53
54%preun
55if [ "$1" = 0 ]; then
56    /sbin/install-info --delete %{_infodir}/librep.info.gz %{_infodir}/dir
57fi
58
59%postun -p /sbin/ldconfig
60
61%clean
62[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(-,root,root)
66%doc NEWS README THANKS TODO BUGS
67%{_bindir}/rep
68%{_bindir}/rep-remote
69%{_libdir}/librep.so.*
70%{_datadir}/rep/%{version}
71%{_libexecdir}/rep/%{version}/%{_target_platform}
72%{_infodir}/librep*
73
74%files devel
75%defattr(-,root,root)
76%{_bindir}/rep-config
77%{_bindir}/rep-xgettext
78%{_bindir}/repdoc
79%{_libdir}/librep.so
80%{_includedir}/rep.h
81%{_includedir}/rep_*.h
82%{_libexecdir}/rep/%{_target_platform}/libtool
83%{_libexecdir}/rep/%{_target_platform}/rules.mk
84%{_libexecdir}/rep/%{_target_platform}/install-aliases
85%{_libexecdir}/rep/%{_target_platform}/rep_config.h
86%{_datadir}/aclocal/rep.m4
87
88%changelog
89* Tue Jun 13 2000 John Harper <john@dcs.warwick.ac.uk>
90- use better macros
91
92* Wed Nov 10 1999 Michael K. Johnson <johnsonm@redhat.com>
93- post{,un} use -p
94
95* Mon Sep 13 1999 Aron Griffis <agriffis@bigfoot.com>
96- 0.5 spec file update: added buildroot
Note: See TracBrowser for help on using the repository browser.