I enjoy RPMs a lot, and know that others will as well.
This uses the macros built into RPM, so it should be portable across
distributions (different library directories, etc).

I didn't know if EVERYTHING that the Apache Group puts out needed the license
notice at the top, but if so, please add it with my blessings.  I don't
consider spec files to have very much intellectual value.

  HTH,
  -- /v\atthew
-- 
Matthew L Daniel            I am not young enough to know everything. 
Internet Developer,         -- Oscar Wilde
Sterling Planet, Inc.       
[EMAIL PROTECTED]  
# $Id$
Name: apr
Version: 2.0a9
Release: 2mdk
Source: %{name}-%{version}.tar.bz2
License: Apache Public License
Group: Libraries
Packager: Matthew L Daniel <[EMAIL PROTECTED]>
BuildRoot: %{_tmppath}/%{name}-root
Summary: The Apache Portable Runtime library.

%package devel
Group: Development/Libraries
License: Apache Public License
Summary: The includes and linker libraries for development with APR.

%description
The Apache Portable Run-time libraries have been designed to provide a common
interface to low level routines across any platform.

%description devel
The includes and linker libraries for development with APR.

%prep
%setup -q

%build
%configure
%make

%install
%makeinstall

%clean
rm -rf ${RPM_BUILD_ROOT}

%files 
%defattr(-,root,root)
%doc docs
%{_libdir}/*so*

%files devel
%defattr(-,root,root)
%{_includedir}
%{_libdir}/*a

Reply via email to