Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > main-src > by-pkgid > 2a46aa319fdac3ca6163168917653ddb > files > 3

librep-0.15.2-3mdk.src.rpm

%define major 9

Name:		librep
Summary:	An embeddable LISP environment
Version:	0.15.2
Release:	3mdk
License:	GPL
Group:		System/Libraries
BuildRequires:	gmp-devel gdbm-devel gpm-devel ncurses-devel readline-devel texinfo
URL:		http://librep.sourceforge.net/
Source0:	http://ftp.gnome.org/stable/sources/librep/%{name}-%{version}.tar.bz2
# (fc) don't exec through libtool
Patch0:		librep-0.15.1-exec.patch.bz2
PreReq:		/sbin/install-info
BuildRoot:	%{_tmppath}/%{name}-%{version}-root

%description
This is a lightweight LISP environment for UNIX. It contains a LISP 
interpreter, byte-code compiler and virtual machine. Applications may use the 
LISP interpreter as an extension language, or it may be used for standalone 
scripts.

Originally inspired by Emacs Lisp, the language dialect combines many of the 
elisp features while trying to remove some of the main deficiencies, with 
features from Common Lisp and Scheme.

%package -n %{name}%{major}
Summary:	Libraries used by librep
Group:		System/Libraries

%description -n %{name}%{major}
Libraries used by librep

%package -n %{name}%{major}-devel
Summary:	Librep include files and link libraries
Group:		Development/Other
Requires:	%{name} = %{version}
Requires:	%{name}%{major} = %{version}
Obsoletes:  %{name}-devel
Provides:	%{name}-devel = %{version}

%description -n %{name}%{major}-devel
Link libraries and C header files for librep development.


%prep
%setup -q
%patch0 -p1 -b .exec

%build

%configure --with-readline

%ifarch ppc
%make host_type=%{_target_platform}
%else
%make
%endif

%install
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
%ifarch ppc
%makeinstall_std host_type=%{_target_platform}
%else
%makeinstall_std
%endif

%post -n %{name}%{major} -p /sbin/ldconfig

%post
%_install_info librep.info


%preun
%_remove_install_info librep.info

%postun -n %{name}%{major}  -p /sbin/ldconfig


%clean
[ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}

%files
%defattr (-,root,root,0755)
%doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README THANKS TODO
%{_bindir}/rep
%{_bindir}/rep-remote
%{_datadir}/rep
%dir %{_libexecdir}/rep
%{_libexecdir}/rep/%{version}
%{_infodir}/librep*
%{_datadir}/emacs/site-lisp/*.el

%files -n %{name}%{major}
%defattr (-,root,root)
%{_libdir}/librep.so.*

%files -n %{name}%{major}-devel
%defattr (-,root,root,0755)
%{_bindir}/rep-config
%{_bindir}/rep-xgettext
%{_bindir}/repdoc
%{_libdir}/librep.so
%{_libdir}/librep.la
%{_includedir}/*
%{_libexecdir}/rep/%{_target_platform}
%{_datadir}/aclocal/rep.m4


%changelog
* Fri Feb 22 2002 Stew Benedict <sbenedict@mandrakesoft.com> 0.15.2-3mdk
- fix PPC build so it actually works for non-KDE activists =)

* Sat Jan 12 2002 Stew Benedict <sbenedict@mandrakesoft.com> 0.15.2-2mdk
- PPC still needs "make host_type="

* Thu Jan 10 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.15.2-1mdk
- Release 0.15.2

* Thu Oct 25 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.15.1-1mdk
- Release 0.15.1
- Libification

* Tue Jul  3 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.14-1mdk
- Release 0.14

* Fri Apr 13 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.13.6-1mdk
- On Good Friday make 0.13.6 which should fix i18n parsing.

* Wed Mar  7 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.13.4-2mdk
- Remove dependency on libgmp.so.2

* Sun Jan  7 2001 Vincent Danen <vdanen@mandrakesoft.com> 0.13.4-1mdk
- 0.13.4

* Fri Dec  8 2000 Vincent Danen <vdanen@mandrakesoft.com> 0.13.3-1mdk
- 0.13.3

* Mon Nov  6 2000 Vincent Danen <vdanen@mandrakesoft.com> 0.13.2-2mdk
- rebuild for new libstdc++

* Fri Oct 27 2000 Vincent Danen <vdanen@mandrakesoft.com> 0.13.2-1mdk
- 0.13.2

* Fri Sep 29 2000 Vincent Danen <vdanen@mandrakesoft.com> 0.13.1-1mdk
- 0.13.1

* Fri Sep 22 2000 Vincent Danen <vdanen@mandrakesoft.com> 0.13-1mdk
- 0.13
- added buildprereq/buildrequires: texinfo

* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 0.12.4-4mdk
- automatically added BuildRequires

* Thu Aug  3 2000 Vincent Danen <vdanen@mandrakesoft.com> 0.12.4-3mdk
- force version dependencies
- remove Packager

* Thu Jul 27 2000 Vincent Danen <vdanen@mandrakesoft.com> 0.12.4-2mdk
- rebuild with new rpm

* Fri Jul 21 2000 Vincent Danen <vdanen@mandrakesoft.com> 0.12.4-1mdk
- 0.12.4

* Wed Jul 19 2000 Vincent Danen <vdanen@mandrakesoft.com> 0.12.3-3mdk
- rebuild for directory changes

* Thu Jul 13 2000 Vincent Danen <vdanen@mandrakesoft.com> 0.12.3-2mdk
- fix bad preun

* Wed Jul 12 2000 Vincent Danen <vdanen@mandrakesoft.com> 0.12.3-1mdk
- 0.12.3
- more macroization

* Sun Jul  9 2000 Vincent Danen <vdanen@mandrakesoft.com> 0.12.2-1mdk
- 0.12.2
- added --with-readline
- many specfile cleanups
- macroization
- removed patch to compile with gmp 3.x

* Sat Jun 24 2000 Vincent Danen <vdanen@linux-mandrake.com> 0.12.1-1mdk
- 0.12.1
- changed files from _host to _target_cpu (thanks Chmouel)

* Fri Apr 14 2000 Vincent Danen <vdanen@linux-mandrake.com> 0.11.3-2mdk
- build with libgmp 3.0.1
- include patch to compile with gmp 3.x

* Fri Apr 14 2000 Vincent Danen <vdanen@linux-mandrake.com>
- fix group
- specfile fixes, should work with helixcode for gnome
- 0.11.3

* Sun Mar 19 2000 Vincent Danen <vdanen@linux-mandrake.com>
- 0.11.1

* Sat Mar 11 2000 Vincent Danen <vdanen@linux-mandrake.com>
- specfile cleanups
- 0.11

* Fri Feb 04 2000 Lenny Cartier <lenny@mandrakesoft.com>
- new in contribs
- used srpm provided by Vincent Danen <vdanen@linux-mandrake.com>

* Sun Jan 30 2000 Vincent Danen <vdanen@linux-mandrake.com>
- initial specfile
- bzip sources