Witam

Jak w temacie może się komuś przyda.
-- 
Zbychu

Attachment: spooles-automake_support.patch.gz
Description: GNU Zip compressed data

# $Revision:$, $Date:$
Summary:        Library for solving linear systems of equations
Summary(pl):    Biblioteka pozwalająca rozwiązywać liniowe układy równań
Name:           spooles
Version:        2.2
Release:        1
License:        Public Domain
Group:          Libraries
Source0:        http://www.netlib.org/linalg/spooles/%{name}.%{version}.tgz
Source1:        http://www.netlib.org/linalg/spooles/ReferenceManual.ps.gz
Patch0:         %{name}-automake_support.patch
URL:            http://www.netlib.org/linalg/spooles/spooles.2.2.html
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libtool
BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
SPOOLES is a library for solving sparse real and complex linear
systems of equations.

%description -l pl
SPOOLES jest biblioteką pozwalającą rozwiązywać rzeczywiste i
zespolone układy równań liniowych zawierające wiele elementów
zerowych.

%package devel
Summary:        SPOOLES development files
Summary(pl):    Pliki programistyczne SPOOLES
Group:          Development/Libraries
Requires:       %{name} = %{version}

%description devel
SPOOLES development files.

%description devel -l pl
Pliki programistyczne SPOOLES.

%package static
Summary:        Static SPOOLES library
Summary(pl):    Statyczna biblioteka SPOOLES
Group:          Development/Libraries
Requires:       %{name}-devel = %{version}

%description static
Static SPOOLES library.

%description static -l pl
Statyczna biblioteka SPOOLES.

%package doc-ps
Summary:        PostScript documentation for SPOOLES
Summary(pl):    Dokumentacja dla SPOOLES w formacie PostScript
Group:          Development/Libraries

%description doc-ps
PostScript documentation for SPOOLES.

%description doc-ps -l pl
Dokumentacja dla SPOOLES w formacie PostScript.

%prep
%setup -q -c %{name}-%{version}
%patch0 -p1

%build
find . -name makefile -exec mv {} {}.orig \;
mkdir docs
cp %{SOURCE1} docs/ReferenceManual.ps.gz
%{__libtoolize}
%{__aclocal}
%{__autoheader}
%{__autoconf}
%{__automake}
%configure

%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
        DESTDIR=$RPM_BUILD_ROOT

%clean
rm -fr $RPM_BUILD_ROOT

%post   -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(644,root,root,755)
%doc spooles.2.2.html
%attr(755,root,root) %{_libdir}/libspooles.so.*.*.*

%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libspooles.so
%{_libdir}/libspooles.la

%files static
%defattr(644,root,root,755)
%{_libdir}/libspooles.a

%files doc-ps
%defattr(644,root,root,755)
%doc docs/*.ps.gz

%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <[EMAIL PROTECTED]>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$

__________________________________________________________
nie pytaj co inni zrobili dla pld, pomysl ile sam zrobiles

Odpowiedź listem elektroniczym