unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Guile RPM (second attempt)
@ 2003-02-10 16:34 Victor Soroka
  0 siblings, 0 replies; only message in thread
From: Victor Soroka @ 2003-02-10 16:34 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

Fixed datadir path and dir attributes...

-- 
I World War (1914-1918)... II World War (1939-1945)... Windows (95-2000)...
Don't allow new tragedy. Live in Peace! Be happy with LiNUX!

[-- Attachment #2: guile.spec --]
[-- Type: application/octet-stream, Size: 2515 bytes --]

Summary: A GNU implementation of Scheme for application extensibility.
Name: guile
Version: 1.6.3
Release: 1
Copyright: GPL
Group: Development/Languages
Source: %{name}-%{version}.tar.gz
Packager: Victor Soroka <gbs@tnss.kharkov.ua>
BuildRoot: /var/tmp/%{name}-%{PACKAGE_VERSION}-root

%description
GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library
implementation of the Scheme programming language, written in C.  GUILE
provides a machine-independent execution platform that can be linked in
as a library during the building of extensible programs.
 
Install the guile package if you'd like to add extensibility to programs
that you are developing.

%package devel
Summary: Libraries and header files for the GUILE extensibility library.
Group: Development/Libraries
Requires: %{name} = %{version}

%description devel
The guile-devel package includes the libraries, header files, etc.,
that you'll need to develop applications that are linked with the
GUILE extensibility library.
 
You need to install the guile-devel package if you want to develop
applications that will be linked to GUILE.  You'll also need to
install the guile package.

%prep
%setup -q

%build
CFLAGS="$RPM_OPT_FLAGS" 
%configure
make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall install-strip
strip -s $RPM_BUILD_ROOT%{_libdir}/*.a &> /dev/null
strip -s $RPM_BUILD_ROOT%{_libdir}/*.so.* &> /dev/null
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
cd $RPM_BUILD_ROOT%{_datadir}/guile
ln -s 1.6 1.6.3

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%post devel
install-info %{_infodir}/guile.info %{_infodir}/dir
install-info %{_infodir}/goops.info %{_infodir}/dir
install-info %{_infodir}/guile-tut.info %{_infodir}/dir
install-info %{_infodir}/r5rs.info %{_infodir}/dir

%postun -p /sbin/ldconfig

%postun devel
install-info --delete %{_infodir}/guile.info %{_infodir}/dir
install-info --delete %{_infodir}/goops.info %{_infodir}/dir
install-info --delete %{_infodir}/guile-tut.info %{_infodir}/dir
install-info --delete %{_infodir}/r5rs.info %{_infodir}/dir

%files
%defattr(0755, bin, bin)
%{_bindir}/guile
%{_bindir}/guile-tools
%{_libdir}/lib*.so.*
%defattr(0644, bin, bin, 0755)
%{_datadir}/guile

%files devel
%defattr(0755, bin, bin)
%{_bindir}/guile-config
%{_bindir}/guile-snarf
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%defattr(0644, bin, bin, 0755)
%{_includedir}/*.h
%{_includedir}/guile
%{_includedir}/guile-readline
%{_includedir}/libguile
%{_libdir}/lib*.a
%{_datadir}/aclocal/guile.m4
%{_infodir}/*.info*

[-- Attachment #3: Type: text/plain, Size: 136 bytes --]

_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-10 16:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-10 16:34 Guile RPM (second attempt) Victor Soroka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).